@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/geologica-latin-700-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/geologica-cyrillic-700-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/geologica-latin-800-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/geologica-cyrillic-800-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/onest-latin-400-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/onest-cyrillic-400-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/onest-latin-600-normal.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/onest-cyrillic-600-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/geologica-latin-ext-700-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: Geologica;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/geologica-latin-ext-800-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/onest-latin-ext-400-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/onest-latin-ext-600-normal.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
:root {
  --bg: #f5f3ee;
  --teal: #1f6f6b;
  --terra: #b85c38;
  --white: #ffffff;
  --ink: #1e1d1a;
  --muted: #6b675f;
  --line: #e6e1d7;
  --shadow: 0 12px 32px rgba(30, 29, 26, 0.07);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Onest, system-ui, sans-serif;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}
a:hover {
  color: var(--terra);
}
a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Geologica, Onest, sans-serif;
  line-height: 1.17;
}
/* Japanese has no spaces: never start a line with a long-vowel mark or small kana, and break
   headings only where the text marks a phrase boundary (U+200B), unless a word cannot fit. */
:lang(ja) :is(h1, h2, h3) {
  line-break: strict;
}
:lang(ja) h1 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.container {
  width: min(calc(100% - 32px), 1120px);
  margin-inline: auto;
}

.site-header {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 22px;
}
.brand {
  flex: 0 0 auto;
  white-space: nowrap;
  font:
    800 29px/1 Geologica,
    sans-serif;
  letter-spacing: -0.055em;
  text-decoration: none;
  color: var(--ink);
}
.site-header nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 5px;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav > a {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-header nav > a[aria-current='page'] {
  color: var(--teal);
}
.language-switch {
  position: relative;
}
.language-switch summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  color: var(--teal);
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.language-switch summary::-webkit-details-marker {
  display: none;
}
.language-switch summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.language-switch svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 200px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.language-menu a:hover {
  background: var(--bg);
  color: var(--ink);
}
.language-menu a[aria-current] {
  color: var(--teal);
  font-weight: 600;
}
.language-menu a[aria-current]::after {
  content: '✓' / '';
}

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding-block: 50px 80px;
}
.hero-copy {
  max-width: 580px;
}
.eyebrow {
  margin-bottom: 15px;
  color: var(--terra);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 6px;
  font-size: clamp(56px, 17vw, 100px);
  font-weight: 800;
  letter-spacing: -0.075em;
}
.tagline {
  margin-bottom: 22px;
  font:
    700 clamp(22px, 6vw, 35px)/1.25 Geologica,
    sans-serif;
  letter-spacing: -0.035em;
  color: var(--teal);
}
.intro {
  max-width: 490px;
  margin-bottom: 28px;
  font-size: 17px;
  color: #4a4740;
}
.store-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 19px;
  border-radius: 99px;
  background: #e1ece9;
  color: var(--teal);
  font-weight: 600;
}
.hero-art {
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at center, #e1ece9 0, transparent 68%);
}
.hero-art img {
  width: min(100%, 480px);
}

.section {
  padding-block: 58px;
}
.section-heading {
  margin-bottom: 28px;
}
.section-heading h2 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(30px, 8vw, 48px);
  letter-spacing: -0.045em;
}
.feature-grid {
  display: grid;
  gap: 14px;
}
.feature-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.feature-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border-radius: 15px;
  font:
    700 24px Geologica,
    sans-serif;
}
.feature-mark.teal {
  color: var(--teal);
  background: #e1ece9;
}
.feature-mark.terra {
  color: var(--terra);
  background: #f5e6dd;
}
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}
.screenshots-section {
  background: #eae6dd;
}
.screenshot-grid {
  display: grid;
  gap: 24px;
}
.screenshot-grid figure {
  min-width: 0;
  max-width: 360px;
  margin: 0 auto;
}
.screenshot-grid img {
  width: 100%;
  border: 5px solid var(--white);
  border-radius: 26px;
  box-shadow: 0 18px 38px rgba(30, 29, 26, 0.15);
}
.screenshot-grid figcaption {
  padding-top: 14px;
  text-align: center;
  font-weight: 600;
}
.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 20px;
  min-width: 0;
  padding: 22px;
  border-top: 1px solid var(--line);
}
.step-number {
  flex: 0 0 40px;
  color: var(--terra);
  font:
    700 22px Geologica,
    sans-serif;
}
.steps h3 {
  margin-bottom: 6px;
  font-size: 21px;
}
.steps p {
  margin: 0;
  color: var(--muted);
}

.document {
  max-width: 780px;
  padding-block: 54px 98px;
}
.document h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 10vw, 64px);
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}
.document-lead {
  margin-bottom: 44px;
  color: #4a4740;
  font-size: 18px;
}
.document section:not(.faq-section) {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.document h2 {
  margin-bottom: 12px;
  font-size: 23px;
  letter-spacing: -0.03em;
}
.document section p {
  margin-bottom: 0;
  color: #4a4740;
}
.contact-card {
  margin-bottom: 54px;
  padding: 26px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 12px 23px;
  border-radius: 16px;
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
}
.contact-button:hover {
  background: var(--terra);
  color: var(--white);
}
.contact-card p {
  max-width: 540px;
  margin: 16px 0 0;
  color: var(--muted);
}
.join-code-block {
  margin-bottom: 28px;
}
.join-code-block p {
  margin: 0;
  color: var(--muted);
}
.join-code-block .join-code {
  margin-top: 4px;
  color: var(--teal);
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: clamp(36px, 11vw, 48px);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.faq-section h2 {
  margin-bottom: 22px;
}
.faq-list {
  display: grid;
  gap: 0;
}
.faq-list > div {
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.faq-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}
.faq-list p {
  margin: 0;
  color: #4a4740;
}

.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 26px 32px;
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 8px;
}
.footer-links a {
  color: var(--ink);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 570px;
    gap: 50px;
    padding-block: 70px 90px;
  }
  /* Five cards: three on the first row, two wider ones on the second. */
  .feature-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .feature-card {
    grid-column: span 2;
  }
  .feature-card:nth-child(n + 4) {
    grid-column: span 3;
  }
  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    align-items: flex-start;
  }
  .site-header nav {
    column-gap: 10px;
  }
  .site-header nav > a {
    font-size: 13px;
  }
}
