:root {
  color-scheme: light;
  --white: #ffffff;
  --navy: #09265f;
  --blue: #0b83f6;
  --cyan: #08b5ea;
  --peach: #f3b58f;
  --muted: #486080;
  --rule: #cfe1f3;
  --max: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--navy);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--peach); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.hero,
.how,
.download,
.privacy-layout {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img { flex: 0 0 auto; }
.site-header nav, .site-footer nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }

.site-header nav a,
.site-footer nav a {
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-footer nav a:hover { color: var(--blue); }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.hero h1,
.how h2,
.download h2,
.privacy-title h1 {
  margin: 0;
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 { max-width: 7ch; font-size: clamp(3.8rem, 7.8vw, 7.2rem); }

.hero-copy > p {
  max-width: 34rem;
  margin: 2rem 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.45;
}

.hero-actions { max-width: 31rem; display: grid; gap: 0.85rem; margin-top: 2rem; }

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { background: var(--navy); }
.button-secondary { border-color: var(--blue); color: var(--blue); }
.button-secondary:hover { background: #edf7ff; }
.hero-mark { display: grid; place-items: center; }
.hero-mark img { width: min(100%, 620px); }

.how { padding-block: clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--rule); }
.how h2 { font-size: clamp(3rem, 6vw, 6rem); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  margin: clamp(4rem, 8vw, 7rem) 0 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 3.15rem;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: var(--cyan);
}

.steps li { position: relative; z-index: 1; background: var(--white); }

.step-number {
  display: inline-block;
  padding-right: 1.2rem;
  background: var(--white);
  color: var(--blue);
  font-size: clamp(4rem, 7vw, 6.7rem);
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 2.75rem;
  right: -0.2rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 0.35rem solid var(--white);
  border-radius: 50%;
  background: var(--peach);
}

.steps li:last-child::after { display: none; }
.steps h3 { margin: 1.5rem 0 0.65rem; font-size: clamp(1.4rem, 2.1vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; }
.steps p { max-width: 18rem; margin: 0; color: var(--muted); font-size: 1.08rem; }

.download {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  padding-block: clamp(4.5rem, 8vw, 7rem);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  background: var(--blue);
  color: var(--white);
}

.download h2 { font-size: clamp(3.3rem, 7vw, 6.5rem); }
.download p { margin: 1.5rem 0 0; font-size: clamp(1.2rem, 2vw, 1.65rem); }
.button-light { min-width: min(100%, 360px); border-color: var(--white); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--blue); }

.site-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--rule);
}

.footer-brand img { width: 72px; }
.footer-meta { display: grid; justify-items: end; gap: 0.25rem; font-size: 0.95rem; }
.footer-meta a { text-decoration: none; }

.privacy-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 820px);
  justify-content: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.privacy-nav {
  position: sticky;
  top: 2rem;
  align-self: start;
  display: grid;
  gap: 1.35rem;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 1px solid var(--rule);
}

.privacy-nav a { font-weight: 700; text-decoration: none; }
.privacy-nav a:hover { color: var(--blue); }
.privacy-title { padding-bottom: 2rem; border-bottom: 1px solid var(--cyan); }
.privacy-title h1 { font-size: clamp(4rem, 7vw, 6.4rem); }
.privacy-title p { margin: 1.2rem 0 0; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
.privacy-title span { display: block; margin-top: 1.5rem; color: var(--muted); }

.status-notice {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--cyan);
  background: #eefaff;
}

.privacy-article section { padding: 2rem 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 2rem; }
.privacy-article h2 { margin: 0 0 0.85rem; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.035em; }
.privacy-article h3 { margin: 1.5rem 0 0.5rem; font-size: 1.2rem; line-height: 1.3; }
.privacy-article p, .privacy-article li { color: #253f65; font-size: 1.03rem; }
.privacy-article p { margin: 0 0 1rem; }
.privacy-article p:last-child { margin-bottom: 0; }
.privacy-article li + li { margin-top: 0.45rem; }
.privacy-article address { margin-bottom: 1rem; color: #253f65; font-style: normal; }
.privacy-article table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: 0.95rem; }
.privacy-article th, .privacy-article td { padding: 0.75rem; border: 1px solid var(--rule); text-align: left; vertical-align: top; }
.privacy-article th { background: #eef7ff; color: var(--navy); }
.privacy-article code { padding: 0.08rem 0.25rem; border-radius: 3px; background: #eef3f8; font-size: 0.9em; }
.legal-footer { display: grid; gap: 0.15rem; font-size: 0.95rem; }
.privacy-footer { min-height: 110px; grid-template-columns: 1fr auto; }

@media (max-width: 860px) {
  .site-header { min-height: auto; align-items: flex-start; padding-block: 1rem; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem 1.15rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-mark { order: -1; }
  .hero-mark img { width: min(72vw, 420px); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 0; bottom: 0; left: 2.7rem; right: auto; width: 3px; height: auto; }
  .steps li { padding-left: 5.5rem; }
  .step-number { position: absolute; left: 0; padding: 0 0.75rem 0 0; font-size: 3.4rem; }
  .steps li::after { top: 1.3rem; left: 2.3rem; right: auto; }
  .steps h3 { margin-top: 0; }
  .download { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; justify-items: start; padding-block: 2.5rem; }
  .footer-meta { justify-items: start; }
  .privacy-layout { grid-template-columns: 1fr; gap: 2rem; }
  .privacy-nav { position: static; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; padding: 0 0 1rem; border-left: 0; border-bottom: 1px solid var(--rule); }
  .privacy-article { min-width: 0; }
  .privacy-article table { display: block; overflow-x: auto; }
}

@media (max-width: 560px) {
  .site-header { display: grid; }
  .site-header nav { justify-content: flex-start; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 44px; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 4.8rem); }
  .hero-actions { max-width: none; }
  .steps li { padding-left: 4.6rem; }
  .steps::before { left: 2.15rem; }
  .steps li::after { left: 1.75rem; }
  .step-number { font-size: 2.8rem; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
