:root {
  --paper: #f7f8f6;
  --white: #ffffff;
  --ink: #202423;
  --muted: #646a67;
  --line: #d9ddda;
  --coral: #ef5a47;
  --teal: #167c65;
  --gold: #f2a335;
  --soft-coral: #fff0ed;
  --soft-teal: #e9f5f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Noto Sans KR", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.page-width,
.header-inner {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(32, 36, 35, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.brand,
.section-nav,
.footer-inner,
.contact-row {
  display: flex;
  align-items: center;
}

.header-inner {
  min-height: 80px;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand img {
  border-radius: 8px;
}

.brand span {
  display: grid;
}

.brand small,
.overline,
.section-number {
  color: var(--coral);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand strong {
  font-size: 17px;
}

.section-nav {
  gap: 24px;
}

.section-nav a,
.language-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.section-nav a:hover,
.language-nav a:hover {
  color: var(--ink);
}

.intro-band {
  padding: 72px 0 64px;
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 72px;
}

.overline {
  margin: 0 0 12px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

.privacy-signal {
  display: grid;
  gap: 16px;
  border-top: 4px solid var(--teal);
  padding-top: 24px;
}

.privacy-signal strong {
  font-size: 16px;
  line-height: 1.75;
}

.signal-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.language-strip {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.language-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-block: 12px;
}

.language-nav a {
  flex: 0 0 auto;
  padding: 7px 11px;
  border-bottom: 2px solid transparent;
}

.language-nav a[aria-current="page"] {
  border-color: var(--coral);
  color: var(--ink);
}

.content-section,
.support-band > .page-width {
  padding-block: 80px;
}

.section-heading {
  display: grid;
  grid-template-columns: 56px minmax(0, 720px);
  gap: 24px;
  margin-bottom: 48px;
}

.section-number {
  padding-top: 8px;
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.policy-item {
  position: relative;
  min-height: 230px;
  padding: 32px 36px 32px 28px;
  border-bottom: 1px solid var(--line);
}

.policy-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.policy-item > span {
  position: absolute;
  top: 38px;
  left: 0;
  width: 5px;
  height: 44px;
  background: var(--ink);
}

.policy-item.coral > span { background: var(--coral); }
.policy-item.teal > span { background: var(--teal); }
.policy-item.gold > span { background: var(--gold); }

.policy-item h3,
.policy-change h3,
.contact-row h3,
.faq-title {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.policy-item p,
.policy-change p,
.contact-row p,
details p {
  margin-bottom: 0;
  color: var(--muted);
}

.policy-change {
  max-width: 760px;
  margin: 44px 0 0 80px;
  padding-left: 24px;
  border-left: 4px solid var(--gold);
}

.support-band {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.faq-title {
  margin-left: 80px;
}

.faq-list {
  margin-left: 80px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}

summary {
  cursor: pointer;
  font-weight: 750;
  list-style-position: outside;
}

details p {
  max-width: 760px;
  padding: 16px 0 2px 20px;
}

.contact-row {
  justify-content: space-between;
  gap: 40px;
  margin: 64px 0 0 80px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-teal);
}

.contact-row > div {
  max-width: 620px;
}

.contact-button {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.contact-button:hover {
  background: var(--teal);
  border-color: var(--teal);
}

footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  min-height: 92px;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .page-width,
  .header-inner {
    width: min(100% - 28px, 1080px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .section-nav {
    gap: 12px;
  }

  .intro-band {
    padding: 48px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  h1 {
    font-size: 46px;
  }

  .lead {
    font-size: 18px;
  }

  .content-section,
  .support-band > .page-width {
    padding-block: 56px;
  }

  .section-heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-item,
  .policy-item:nth-child(odd) {
    min-height: auto;
    border-right: 0;
    padding-right: 12px;
  }

  .policy-change,
  .faq-title,
  .faq-list,
  .contact-row {
    margin-left: 48px;
  }

  .contact-row {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .contact-button {
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }
}


/* Product site additions. */
h1 { font-size: 64px; }
.section-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 8px; }
.product-hero { overflow: hidden; padding: 64px 0 0; background: var(--white); text-align: center; }
.product-copy { display: grid; justify-items: center; }
.product-copy .lead { max-width: 720px; }
.device-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.screenshot-stage { display: flex; height: 560px; justify-content: center; align-items: flex-start; gap: 28px; overflow: hidden; padding-top: 40px; }
.screenshot-stage img { width: min(300px, 37vw); height: auto; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 18px 48px rgba(32, 36, 35, .13); }
.screenshot-stage img:last-child { margin-top: 60px; }
.feature-band { border-block: 1px solid var(--line); background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { min-height: 320px; padding: 48px 34px; border-right: 1px solid var(--line); }
.feature-grid article:last-child { border-right: 0; }
.feature-grid span { color: var(--coral); font-size: 12px; font-weight: 800; }
.feature-grid h2 { margin: 22px 0 14px; font-size: 25px; line-height: 1.25; }
.feature-grid p { margin: 0; color: var(--muted); }
.action-band { padding: 72px 0; background: var(--white); }
.action-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.action-row div { max-width: 720px; }
.action-row h2 { font-size: 34px; }
.page-intro { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-intro .lead { max-width: 760px; }
.terms-grid .policy-item:last-child { grid-column: 1 / -1; }
.contact-row.compact { margin-top: 56px; }
@media (max-width: 820px) {
  h1 { font-size: 46px; }
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  .section-nav { width: 100%; gap: 16px; overflow-x: auto; }
  .screenshot-stage { height: 440px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .action-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .page-width, .header-inner { width: min(100% - 28px, 1080px); }
  .product-hero, .page-intro { padding-top: 44px; }
  .screenshot-stage { height: 350px; gap: 12px; padding-top: 28px; }
  .screenshot-stage img { width: 45vw; }
  .content-section { padding-block: 56px; }
}
