:root {
  --background: #fafaf8;
  --surface: #ffffff;
  --surface-warm: #f3f1ec;
  --surface-teal: #e9f3f2;
  --text: #1a2b2b;
  --text-muted: #526767;
  --teal: #3a8b8e;
  --teal-dark: #246d70;
  --teal-light: #a8d5d6;
  --border: #d8e4e3;
  --shadow: 0 24px 60px rgba(26, 43, 43, 0.1);
  --radius-small: 12px;
  --radius-card: 24px;
  --radius-large: 36px;
  --shell: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--text);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: var(--text);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(216, 228, 227, 0.72);
  background: rgba(250, 250, 248, 0.92);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.brand:hover {
  color: var(--teal-dark);
}

.nav-list,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--text);
}

.nav-list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0 clamp(5rem, 10vw, 9rem);
}

.hero::before {
  position: absolute;
  top: -12rem;
  right: -14rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(168, 213, 214, 0.3);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero-copy h1 {
  max-width: 820px;
  margin-bottom: 1.6rem;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 2.2rem;
  color: var(--text-muted);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--teal-dark);
  color: white;
}

.button-primary:hover {
  background: var(--text);
  color: white;
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.map-preview {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(58, 139, 142, 0.18);
  border-radius: var(--radius-large);
  background-color: var(--surface-teal);
  background-image:
    linear-gradient(29deg, transparent 46%, rgba(255, 255, 255, 0.82) 47%, rgba(255, 255, 255, 0.82) 52%, transparent 53%),
    linear-gradient(112deg, transparent 45%, rgba(255, 255, 255, 0.7) 46%, rgba(255, 255, 255, 0.7) 51%, transparent 52%);
  box-shadow: var(--shadow);
}

.map-preview::before,
.map-preview::after {
  position: absolute;
  border-radius: 50%;
  background: rgba(58, 139, 142, 0.11);
  content: "";
}

.map-preview::before {
  top: 2rem;
  left: 3rem;
  width: 11rem;
  height: 11rem;
}

.map-preview::after {
  right: -3rem;
  bottom: 6rem;
  width: 15rem;
  height: 15rem;
}

.map-route {
  position: absolute;
  top: 27%;
  left: 12%;
  width: 75%;
  height: 35%;
  border: 3px dashed rgba(36, 109, 112, 0.32);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(-16deg);
}

.map-pin {
  position: absolute;
  width: 2.35rem;
  height: 2.35rem;
  border: 0.55rem solid var(--surface);
  border-radius: 50% 50% 50% 0;
  background: var(--teal);
  box-shadow: 0 8px 20px rgba(26, 43, 43, 0.18);
  transform: rotate(-45deg);
}

.map-pin-one {
  top: 18%;
  left: 22%;
}

.map-pin-two {
  top: 32%;
  right: 17%;
  background: #e8943a;
}

.map-pin-three {
  right: 39%;
  bottom: 37%;
  background: #2e9e6b;
}

.map-card {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: grid;
  gap: 0.45rem;
  padding: 1.4rem;
  border: 1px solid rgba(216, 228, 227, 0.8);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 35px rgba(26, 43, 43, 0.12);
}

.map-card strong {
  max-width: 16rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.map-card-label,
.map-card-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section {
  padding: clamp(4.75rem, 9vw, 8rem) 0;
}

.section-tint {
  background: var(--surface-warm);
}

.section-heading {
  max-width: 680px;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading > p:last-child {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 290px;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.feature-card h3 {
  margin-bottom: 0.85rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.feature-number {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1080px;
  margin-inline: auto;
}

.screenshot-item {
  margin: 0;
  text-align: center;
}

.app-screenshot {
  width: 100%;
  height: auto;
  border: 1px solid rgba(58, 139, 142, 0.18);
  border-radius: clamp(18px, 2.5vw, 28px);
  background: var(--surface);
  box-shadow: 0 22px 45px rgba(26, 43, 43, 0.14);
}

.screenshot-item figcaption {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-large);
  background: var(--text);
  color: white;
}

.download-panel h2 {
  margin-bottom: 0.8rem;
  color: white;
}

.download-panel p:last-child {
  margin-bottom: 0;
  color: #c9d7d6;
}

.download-panel .eyebrow {
  color: var(--teal-light);
}

.store-badge {
  display: grid;
  flex: 0 0 auto;
  min-width: 190px;
  padding: 0.75rem 1.15rem;
  border: 1px solid #657575;
  border-radius: var(--radius-small);
  color: white;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.1;
  opacity: 0.7;
  user-select: none;
}

.store-badge small {
  margin-bottom: 0.2rem;
  font-size: 0.67rem;
  font-weight: 500;
}

.site-footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: start;
  gap: 2rem 4rem;
}

.brand-footer {
  margin-bottom: 0.8rem;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

.operator {
  grid-column: 1 / -1;
  font-size: 0.82rem;
}

.legal-main,
.support-main {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem);
}

.legal-shell {
  max-width: 820px;
}

.page-heading {
  margin-bottom: 2.5rem;
}

.page-heading h1 {
  margin: 1rem 0 1.25rem;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.page-heading > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.12rem;
}

.draft-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border: 1px solid #dca657;
  border-radius: 999px;
  background: #fff4e0;
  color: #704100;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-notice {
  margin-bottom: 3rem;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid #d28a25;
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
  background: #fff7e9;
}

.review-notice h2 {
  margin-bottom: 0.55rem;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

.review-notice p {
  margin-bottom: 0;
  color: #584a36;
}

.legal-content {
  display: grid;
  gap: 3rem;
}

.legal-content section {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: #384b4b;
}

.legal-content li + li {
  margin-top: 0.65rem;
}

.todo-list li::marker {
  color: #a76100;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 3rem;
}

.page-nav a {
  font-weight: 750;
}

.site-footer-compact {
  padding: 2rem 0;
}

.site-footer-compact .footer-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-footer-compact p a {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.support-shell {
  max-width: 920px;
}

.support-heading {
  max-width: 760px;
  margin-bottom: 3rem;
}

.support-heading h1 {
  margin-top: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(26, 43, 43, 0.07);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.contact-card p:last-child {
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.contact-label {
  margin-bottom: 0.45rem;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-email {
  font-size: clamp(1rem, 3vw, 1.28rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.support-links {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  margin-top: clamp(4rem, 9vw, 7rem);
}

.support-links h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.support-link-grid {
  display: grid;
  gap: 1rem;
}

.support-link-grid a {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.support-link-grid a:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.support-link-grid span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .map-preview {
    min-height: 440px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 2.5rem;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 600px;
    gap: 2.5rem 1.25rem;
  }

  .download-panel,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    display: flex;
  }

  .support-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--shell));
  }

  .header-inner {
    min-height: 66px;
    gap: 0.75rem;
  }

  .nav-list {
    gap: 0.8rem;
  }

  .nav-list-pages li:nth-child(1) {
    display: none;
  }

  .nav-list a {
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 3.8rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .map-preview {
    min-height: 390px;
    border-radius: 26px;
  }

  .screenshot-grid {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
    gap: 2.5rem;
  }

  .download-panel {
    display: flex;
    border-radius: 24px;
  }

  .store-badge {
    width: 100%;
  }

  .footer-inner,
  .site-footer-compact .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .operator {
    grid-column: auto;
  }

  .legal-main,
  .support-main {
    padding-top: 3.5rem;
  }

  .review-notice {
    padding: 1.2rem;
  }

  .legal-content ul {
    padding-left: 1.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
