:root {
  color-scheme: light;
  --bg: #f5f4f2;
  --surface: rgba(255, 255, 255, 0.78);
  --solid: #fff;
  --text: #1d1d1f;
  --muted: #626268;
  --line: rgba(50, 46, 41, 0.13);
  --blue: #006be8;
  --blue-hover: #0057bd;
  --blue-soft: #edf1f6;
  --mint: #edf3ee;
  --peach: #f4eee7;
  --violet: #f0eef5;
  --shadow: 0 15px 50px rgba(50, 46, 41, 0.07);
  --hero-surface: #fff;
  --header: rgba(255, 255, 255, 0.82);
  --radius: 28px;
  --border: var(--line);
  --accent-2: var(--blue);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171719;
  --surface: rgba(41, 40, 42, 0.85);
  --solid: #232325;
  --text: #f5f5f7;
  --muted: #b7b5bc;
  --line: rgba(220, 216, 208, 0.19);
  --blue: #73b6ff;
  --blue-hover: #a5d0ff;
  --blue-soft: #262d36;
  --mint: #26332d;
  --peach: #362d27;
  --violet: #2e2b36;
  --hero-surface: #222224;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  --header: rgba(24, 24, 26, 0.85);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.6rem, 5.3vw, 4.8rem);
  font-weight: 750;
}
h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
}
h3 {
  font-size: 1.35rem;
}
p {
  margin-bottom: 1rem;
}
strong {
  font-weight: 650;
}
code {
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}
.main {
  min-height: 55vh;
  padding-block: 48px 100px;
}
.main.wide-page {
  padding-top: 24px;
}
.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 82px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
  object-fit: contain;
  background: white;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 5px;
  color: var(--muted);
}
.nav {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-inline: auto;
}
.nav a {
  font-size: 0.875rem;
  color: var(--text);
  white-space: nowrap;
}
.header-tools {
  display: flex;
  gap: 9px;
  align-items: center;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 50%;
  padding: 8px;
}
.menu-toggle {
  display: none;
}
.language-menu {
  position: relative;
  font-size: 0.875rem;
}
.language-menu summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  padding: 10px 8px;
}
.language-menu summary::-webkit-details-marker {
  display: none;
}
.language-menu > div {
  position: absolute;
  top: 48px;
  right: 0;
  display: grid;
  min-width: 156px;
  background: var(--solid);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 8px;
  box-shadow: var(--shadow);
}
.language-menu a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
}
[aria-current="true"] {
  font-weight: 700;
  color: var(--blue) !important;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 25px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0076f5;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 7px 18px #0076f526;
  text-align: center;
}
.btn:hover {
  background: #0063d0;
  color: white;
  text-decoration: none;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-secondary:hover {
  background: var(--blue-soft);
  color: var(--text);
}
.btn-sm {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 0.875rem;
}
.btn-block {
  width: 100%;
}
.text-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
}
.muted {
  color: var(--muted);
}
.center {
  text-align: center;
}
.small {
  font-size: 0.875rem;
}
.section {
  margin-top: 94px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 28px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
}
.hero {
  isolation: isolate;
  position: relative;
  background: var(--hero-surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 6px 32px 36px;
  text-align: center;
}
.hero h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.08em 0.2em;
  font-size: clamp(2.25rem, 4.5vw, 4.25rem);
  margin: 0 0 16px;
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: inline-block;
}
.hero .lead {
  font-size: 1.25rem;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.55;
  color: var(--muted);
}
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.hero-actions {
  justify-content: center;
  margin-block: 22px;
}
.hero-actions .btn {
  background: #1d1d1f;
  box-shadow: 0 8px 22px #1d1d1f18;
}
.hero-actions .btn:hover {
  background: #363638;
}
:root[data-theme="dark"] .hero-actions .btn {
  background: #f5f5f7;
  color: #1d1d1f;
}
:root[data-theme="dark"] .hero-actions .btn:hover {
  background: #dedee2;
}
.pill {
  display: inline-flex;
  padding: 7px 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.hero-art {
  position: relative;
  min-width: 0;
}
.hero-art > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1895 / 830;
}
:root[data-theme="dark"] .hero-art > img {
  mask-image: linear-gradient(#000 80%, transparent 100%);
}
.hero-feature,
.hero-route-home,
.hero-route-traveler {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1f;
  box-shadow: 0 5px 20px #40372a0a;
  font-size: clamp(0.75rem, 1vw, 0.9375rem);
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.hero-feature svg {
  color: #0076f5;
  width: 25px;
  height: 25px;
}
.hero-feature-translate {
  left: 23%;
  top: 65%;
}
.hero-feature-notes {
  left: 48%;
  top: 65%;
}
.hero-ai-status {
  position: absolute;
  left: 36.8%;
  top: 63.5%;
  width: 11%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #1d1d1f;
  font-size: clamp(0.625rem, 1vw, 0.875rem);
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
}
.hero-route-home {
  left: 9.3%;
  top: 75%;
}
.hero-route-traveler {
  left: 89%;
  top: 65%;
}
.hero-route-app {
  display: none;
}
.hero-footnote {
  margin: 15px 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card {
  padding: 29px 25px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  min-height: 258px;
}
.feature-card:nth-child(2) {
  background: var(--mint);
}
.feature-card:nth-child(3) {
  background: var(--peach);
}
.feature-card:nth-child(4) {
  background: var(--violet);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  color: #0075ec;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    inset 0 0 0 1px #fff9,
    0 10px 22px #187be318;
  margin-bottom: 27px;
}
.feature-icon svg {
  width: 34px;
  height: 34px;
}
.feature-card:nth-child(2) .feature-icon {
  color: #008c83;
}
.feature-card:nth-child(3) .feature-icon {
  color: #dd623f;
}
.feature-card:nth-child(4) .feature-icon {
  color: #606be0;
}
.feature-card h3 {
  margin-bottom: 13px;
}
.feature-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 1rem;
}
.section-note {
  margin-top: 18px;
  font-size: 0.875rem;
  color: var(--muted);
}
.setup-panel {
  background: linear-gradient(125deg, var(--mint), var(--blue-soft));
  padding: 45px;
  border-radius: 32px;
  border: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  padding: 0;
  margin: 35px 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 15px;
  align-items: start;
}
.step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 13px;
  background: var(--surface);
  color: var(--blue);
  font-weight: 650;
  font-size: 0.875rem;
}
.steps h3 {
  font-size: 1.05rem;
  margin: 6px 0 8px;
}
.steps p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 25px 10px;
}
.stat {
  text-align: center;
  padding: 0 15px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.stat span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 9px;
}
.device-preview {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 16px 0;
}
.device-preview > svg {
  width: 35px;
  height: 35px;
  color: var(--blue);
}
.device-preview h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.device-preview p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.device-preview .badge {
  margin-left: auto;
}
.pricing-grid,
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card,
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card + .card {
  margin-top: 24px;
}
.grid-2 > .card + .card {
  margin-top: 0;
}
.pricing-card.ai-plan {
  background: linear-gradient(130deg, var(--blue-soft), var(--violet));
}
.pricing-card h3 {
  margin-bottom: 14px;
}
.price {
  font-size: 3.7rem;
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 750;
  margin: 18px 0;
}
.price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.pricing-card ul {
  padding-left: 20px;
  color: var(--muted);
  margin: 22px 0;
}
.pricing-card li {
  margin: 8px 0;
}
.pricing-card .btn {
  margin-top: 10px;
}
.save-tag {
  display: inline-block;
  background: var(--mint);
  font-size: 0.8125rem;
  color: var(--text);
  border-radius: 999px;
  padding: 5px 12px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.journal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  color: var(--text);
}
.journal-card:hover {
  text-decoration: none;
  border-color: var(--blue);
}
.journal-art {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-soft), var(--mint));
  gap: 16px;
}
.journal-art svg {
  width: 62px;
  height: 62px;
  color: var(--blue);
}
.journal-card:nth-child(2) .journal-art {
  background: linear-gradient(135deg, var(--peach), var(--blue-soft));
}
.journal-card:nth-child(3) .journal-art {
  background: linear-gradient(135deg, var(--violet), var(--blue-soft));
}
.journal-body {
  padding: 24px;
}
.journal-body .eyebrow {
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.journal-body h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 45px;
  align-items: start;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 20px 32px 20px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 17px;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 400;
}
.faq-item[open] summary:after {
  content: "−";
}
.faq-item p {
  color: var(--muted);
  padding: 0 32px 5px 0;
}
.privacy-card {
  background: linear-gradient(140deg, var(--mint), var(--blue-soft));
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 28px;
}
.privacy-card > svg {
  width: 44px;
  height: 44px;
  color: #009b96;
  margin-bottom: 25px;
}
.privacy-card h3 {
  font-size: 1.8rem;
}
.privacy-card p {
  color: var(--muted);
}
.downloads {
  text-align: center;
  padding: 60px 35px;
  border-radius: 32px;
  background: linear-gradient(
    120deg,
    var(--blue-soft),
    var(--mint) 55%,
    var(--peach)
  );
  border: 1px solid var(--line);
}
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.store-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  min-width: 180px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  line-height: 1.4;
}
.store-button small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}
.store-button[aria-disabled="true"] {
  cursor: default;
}
.store-button.download {
  background: #0076f5;
  color: white;
}
.store-button.download small {
  color: #fff;
}
.site-footer {
  background: linear-gradient(130deg, var(--blue-soft), var(--bg));
  border-top: 1px solid var(--line);
  padding: 55px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}
.footer-grid h2 {
  font-size: 0.875rem;
  letter-spacing: 0;
  margin-bottom: 18px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 290px;
}
.footer-brand strong {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-bottom p {
  margin: 0;
}
.footer-languages {
  display: flex;
  gap: 22px;
}
.footer-languages a {
  color: var(--muted);
}
.page-intro {
  max-width: 840px;
  margin-bottom: 45px;
}
.page-intro h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.page-intro .lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}
.guide-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 45px;
}
.guide-nav {
  align-self: start;
  position: sticky;
  top: 110px;
  border-left: 2px solid var(--line);
  padding-left: 20px;
}
.guide-nav a {
  display: block;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.guide-nav strong {
  display: block;
  margin-bottom: 12px;
}
.guide-section {
  scroll-margin-top: 110px;
  margin-bottom: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 35px;
}
.guide-section h2 {
  font-size: 1.8rem;
}
.guide-section h3 {
  margin-top: 26px;
  font-size: 1.2rem;
}
.guide-section p,
.guide-section li {
  color: var(--muted);
}
.guide-section strong {
  color: var(--text);
}
.guide-section li + li {
  margin-top: 15px;
}
.guide-section ol,
.guide-section ul {
  padding-left: 23px;
}
.guide-section .step-num {
  margin-bottom: 18px;
}
.callout {
  padding: 20px 23px;
  background: var(--blue-soft);
  border-left: 3px solid var(--blue);
  border-radius: 0 15px 15px 0;
  margin: 22px 0;
}
.callout p:last-child {
  margin: 0;
}
.callout.caution {
  background: var(--peach);
  border-color: #e38a55;
}
.guide-section .grid-2 {
  gap: 18px;
}
.mode-card {
  padding: 23px;
  background: var(--blue-soft);
  border-radius: 20px;
}
.mode-card:nth-child(2) {
  background: var(--mint);
}
.mode-card h3 {
  margin-top: 0;
}
.external-resources {
  display: grid;
  gap: 12px;
}
.resource-link {
  display: block;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 15px;
  background: var(--solid);
}
.resource-link strong {
  color: var(--blue);
}
.resource-link small {
  display: block;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.data th,
table.data td {
  border-bottom: 1px solid var(--line);
  padding: 17px 20px;
  text-align: left;
}
table.data th {
  background: var(--blue-soft);
  font-weight: 600;
}
table.data tr:last-child td {
  border-bottom: 0;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--blue-soft);
}
.badge-paid {
  background: var(--mint);
  color: var(--text);
}
.badge-pending {
  background: var(--peach);
}
.badge-cancelled,
.badge-expired {
  background: var(--violet);
}
.prose {
  max-width: 850px;
  margin-inline: auto;
}
.prose h2 {
  font-size: 1.7rem;
  margin-top: 40px;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 25px;
}
.prose p,
.prose li {
  color: var(--muted);
}
.prose li + li {
  margin-top: 10px;
}
.form {
  max-width: 480px;
  margin: 20px auto;
}
.form h1 {
  font-size: 2.1rem;
  margin: 10px 0 30px;
}
.form label {
  display: block;
  margin: 18px 0 7px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--solid);
  color: var(--text);
}
.form button {
  margin-top: 25px;
}
.alert {
  padding: 18px 22px;
  border-radius: 15px;
  margin-bottom: 24px;
  background: var(--blue-soft);
}
.alert-error {
  background: var(--peach);
}
.alert-success {
  background: var(--mint);
}
.account-title {
  font-size: 2rem;
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  background: var(--solid);
  color: var(--text);
  padding: 12px 20px;
  z-index: 50;
  border: 2px solid var(--blue);
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.android-section {
  margin-top: 25px;
}
.android-intro {
  max-width: 850px;
}
.android-intro h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
}
@media (max-width: 1150px) {
  .header-inner {
    gap: 16px;
  }
  .nav {
    gap: 14px;
  }
  .nav a {
    font-size: 0.8125rem;
  }
  .brand {
    font-size: 1.25rem;
  }
  .header-cta {
    display: none;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-card h3 {
    font-size: 1.2rem;
  }
}
@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 74px;
    gap: 12px;
  }
  .brand {
    margin-right: auto;
  }
  .menu-toggle {
    display: grid;
    order: 3;
  }
  .header-tools {
    order: 2;
  }
  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--solid);
    padding: 18px 25px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
  }
  .nav.is-open {
    display: grid;
  }
  .nav a {
    padding: 12px;
    font-size: 1rem;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card {
    min-height: 220px;
  }
  .section {
    margin-top: 68px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .setup-panel {
    padding: 32px;
  }
  .steps {
    gap: 20px;
  }
  .steps li {
    flex-direction: column;
    gap: 6px;
  }
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
  }
  .guide-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .guide-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 0;
    padding: 0;
  }
  .guide-nav strong {
    width: 100%;
  }
  .guide-nav a {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.8125rem;
  }
  .journal-grid {
    gap: 15px;
  }
  .journal-body {
    padding: 20px;
  }
  .journal-body h3 {
    font-size: 1.1rem;
  }
}
@media (max-width: 1024px) {
  .hero-feature,
  .hero-ai-status {
    display: none;
  }
  .hero-route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px 18px;
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.3;
    text-align: center;
  }
  .hero-route-home,
  .hero-route-traveler {
    position: static;
    flex: 1;
    display: block;
    transform: none;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
    font: inherit;
    white-space: normal;
  }
  .hero-route-app {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
  }
  .hero-route-app svg {
    width: 14px;
    height: 14px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 30px);
  }
  .main {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  .main.wide-page {
    padding-top: 15px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 0.7rem;
  }
  .header-tools {
    gap: 3px;
  }
  .icon-button {
    width: 38px;
    height: 38px;
  }
  .hero {
    border-radius: 22px;
  }
  .hero-copy {
    padding: 0 20px 28px;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.6vw, 2.6rem);
    line-height: 1.16;
    gap: 0.06em;
  }
  .hero h1 span {
    flex-basis: 100%;
  }
  .hero .lead {
    font-size: 1.0625rem;
  }
  .hero-actions {
    gap: 18px;
    flex-direction: column;
    margin: 22px 0;
  }
  .hero-actions .btn {
    width: min(100%, 260px);
  }
  .hero-actions .text-link {
    font-size: 0.9375rem;
  }
  .hero-footnote {
    font-size: 0.75rem;
  }
  .section {
    margin-top: 56px;
  }
  .section h2 {
    font-size: 2rem;
  }
  .feature-grid {
    gap: 12px;
  }
  .feature-card {
    padding: 22px 17px;
    min-height: 225px;
    border-radius: 22px;
  }
  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 22px;
    border-radius: 16px;
  }
  .feature-icon svg {
    width: 29px;
    height: 29px;
  }
  .feature-card h3 {
    font-size: 1.1rem;
    line-height: 1.25;
  }
  .feature-card p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
  .setup-panel {
    padding: 26px 20px;
    border-radius: 25px;
  }
  .steps {
    grid-template-columns: 1fr;
    margin: 26px 0;
    gap: 22px;
  }
  .steps li {
    flex-direction: row;
    gap: 15px;
  }
  .steps h3 {
    margin-top: 7px;
  }
  .stats {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .stat {
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stat strong {
    font-size: 1.5rem;
  }
  .stat span {
    margin-top: 5px;
  }
  .device-preview {
    padding: 19px 15px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .device-preview .badge {
    margin-left: 47px;
  }
  .device-preview h3 {
    font-size: 1rem;
  }
  .pricing-grid,
  .grid-2,
  .faq-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 28px;
  }
  .price {
    font-size: 3.5rem;
  }
  .journal-art {
    height: 125px;
  }
  .journal-body h3 {
    font-size: 1.3rem;
  }
  .faq-grid {
    gap: 30px;
  }
  .downloads {
    padding: 38px 20px;
  }
  .store-buttons {
    flex-direction: column;
  }
  .store-button {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-bottom {
    align-items: start;
    flex-direction: column;
    font-size: 0.75rem;
  }
  .footer-languages {
    gap: 18px;
  }
  .page-intro {
    margin-bottom: 30px;
  }
  .page-intro .lead {
    font-size: 1.0625rem;
  }
  .guide-section {
    padding: 26px 22px;
  }
  .guide-section h2 {
    font-size: 1.65rem;
  }
  .guide-section ol {
    padding-left: 19px;
  }
  .guide-section .grid-2 {
    grid-template-columns: 1fr;
  }
  .table-scroll {
    margin-inline: 0;
  }
  .prose h1 {
    font-size: 2.5rem;
  }
  .form {
    padding: 27px;
  }
  .card {
    padding: 26px;
  }
  .account-title {
    font-size: 1.7rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .hero-art,
  .guide-nav {
    display: none;
  }
  .main,
  .container {
    width: 100%;
    padding: 0;
  }
  .guide-layout {
    display: block;
  }
  .guide-section {
    break-inside: avoid;
    box-shadow: none;
  }
  body {
    background: white;
    color: black;
  }
}

@media (max-width: 420px) {
  .site-header .brand small {
    display: none;
  }
  .site-header .brand {
    font-size: 1.125rem;
  }
}

/* Keep the download center reachable when the desktop CTA is hidden. */
.nav a.nav-download-link { display: none; }
@media (max-width: 1150px) { .nav a.nav-download-link { display: block; } }
