:root {
  color-scheme: light;
  --navy-950: #0b2734;
  --navy-900: #113747;
  --navy-800: #174b5e;
  --teal-700: #176b68;
  --teal-600: #20837e;
  --teal-100: #dff3ef;
  --teal-50: #f0faf7;
  --ink: #122a35;
  --muted: #60737c;
  --line: #dce8e7;
  --surface: #ffffff;
  --background: #f6faf9;
  --shadow: 0 24px 60px rgba(11, 39, 52, 0.12);
  --shadow-soft: 0 12px 32px rgba(11, 39, 52, 0.08);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy-900);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--navy-950);
  transform: translateY(-160%);
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 232, 231, 0.85);
  background: rgba(246, 250, 249, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-950);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--navy-800);
  text-decoration: none;
}

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

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
  filter: blur(2px);
}

.hero::before {
  top: -180px;
  right: -130px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(32, 131, 126, 0.18), transparent 68%);
}

.hero::after {
  bottom: -260px;
  left: -240px;
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(23, 75, 94, 0.12), transparent 68%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(23, 107, 104, 0.16);
  border-radius: 999px;
  color: var(--teal-700);
  background: var(--teal-50);
  font-size: 0.84rem;
  font-weight: 750;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal-600);
  content: "";
  box-shadow: 0 0 0 5px rgba(32, 131, 126, 0.12);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy-950);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--navy-950);
  box-shadow: 0 12px 28px rgba(11, 39, 52, 0.2);
}

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

.button-secondary {
  border-color: var(--line);
  color: var(--navy-900);
  background: white;
}

.button-secondary:hover {
  color: var(--navy-950);
  box-shadow: var(--shadow-soft);
}

.store-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.phone-stage {
  position: relative;
  display: grid;
  min-height: 590px;
  place-items: center;
}

.phone-halo {
  position: absolute;
  width: min(100%, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), transparent 25%),
    linear-gradient(145deg, #c5e8e1, #1b6c71);
  box-shadow: var(--shadow);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(280px, 72vw);
  padding: 10px;
  border: 7px solid var(--navy-950);
  border-radius: 42px;
  background: var(--navy-950);
  box-shadow: 0 32px 80px rgba(11, 39, 52, 0.32);
  transform: rotate(2.5deg);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  width: 82px;
  height: 19px;
  border-radius: 0 0 14px 14px;
  background: var(--navy-950);
  content: "";
  transform: translateX(-50%);
}

.phone img {
  width: 100%;
  border-radius: 28px;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  font-size: 0.88rem;
  font-weight: 700;
}

.floating-card span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--teal-700);
}

.floating-card.top {
  top: 85px;
  right: 0;
}

.floating-card.bottom {
  bottom: 88px;
  left: -20px;
}

.section {
  padding: 90px 0;
}

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

.section-heading {
  max-width: 690px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p,
.feature-card p,
.legal-intro,
.support-card p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff, #f8fcfb);
  box-shadow: 0 8px 28px rgba(11, 39, 52, 0.045);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: var(--navy-950);
  background: var(--teal-100);
  font-size: 1.3rem;
}

.feature-card p {
  margin-bottom: 0;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.screenshot-stack {
  position: relative;
  min-height: 590px;
}

.screenshot-card {
  position: absolute;
  width: min(255px, 58vw);
  overflow: hidden;
  border: 8px solid var(--navy-950);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}

.screenshot-card:first-child {
  z-index: 2;
  top: 0;
  left: 12%;
  transform: rotate(-4deg);
}

.screenshot-card:last-child {
  right: 8%;
  bottom: 0;
  transform: rotate(5deg);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--teal-700);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid #cce3df;
  border-radius: var(--radius-lg);
  color: var(--navy-800);
  background: var(--teal-50);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-950);
}

.notice-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: var(--navy-900);
  font-weight: 800;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 60px);
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at 85% 15%, rgba(92, 199, 184, 0.35), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--teal-700));
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel p {
  max-width: 670px;
  color: white;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.cta-panel .button {
  margin-top: 10px;
  color: var(--navy-950);
  background: white;
}

.cta-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.store-button {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.store-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.92;
  user-select: none;
}

.store-button small,
.store-button strong {
  display: block;
  line-height: 1.2;
}

.store-button small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 650;
}

.store-button strong {
  color: var(--navy-950);
  font-size: 1.02rem;
}

.store-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: white;
  background: var(--teal-700);
  font-size: 0.8rem;
}

.apple-mark {
  background: var(--navy-950);
}

.store-links-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 0.82rem;
}

.site-footer {
  padding: 56px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) repeat(3, minmax(135px, 0.7fr));
  gap: 48px;
  padding-bottom: 38px;
}

.site-footer .brand,
.site-footer h3 {
  color: white;
}

.site-footer p {
  max-width: 460px;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.footer-store-list span {
  color: rgba(255, 255, 255, 0.58);
  cursor: not-allowed;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.legal-hero {
  padding: 72px 0 44px;
  background:
    radial-gradient(circle at 90% 0, rgba(32, 131, 126, 0.16), transparent 34%),
    var(--background);
}

.legal-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4.2rem);
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.language-switch a {
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  background: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.language-switch a[aria-current="page"] {
  border-color: var(--teal-700);
  color: white;
  background: var(--teal-700);
}

.legal-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 760px);
  align-items: start;
  justify-content: center;
  gap: 54px;
  padding: 50px 0 100px;
}

.legal-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-soft);
}

.legal-nav strong {
  margin-bottom: 7px;
  font-size: 0.88rem;
}

.legal-nav a {
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.legal-content {
  min-width: 0;
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-soft);
}

.legal-content section + section {
  margin-top: 44px;
  padding-top: 6px;
}

.legal-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
}

.legal-content li + li {
  margin-top: 8px;
}

.legal-content code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--teal-50);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.support-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow-soft);
}

.support-card p:last-child {
  margin-bottom: 0;
}

.support-email {
  display: inline-flex;
  margin: 18px 0 6px;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 800;
  word-break: break-word;
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .hero-copy-area {
    text-align: center;
  }

  .hero-copy,
  .hero-actions {
    justify-content: center;
    margin-inline: auto;
  }

  .phone-stage {
    min-height: 550px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-copy {
    order: -1;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav {
    min-height: 68px;
  }

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

  .nav-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .store-buttons,
  .store-button {
    width: 100%;
  }

  .phone-stage {
    min-height: 500px;
  }

  .floating-card {
    max-width: 175px;
    padding: 11px 12px;
    font-size: 0.78rem;
  }

  .floating-card.top {
    top: 52px;
  }

  .floating-card.bottom {
    bottom: 60px;
    left: 0;
  }

  .section {
    padding: 68px 0;
  }

  .features-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .screenshot-stack {
    min-height: 510px;
  }

  .screenshot-card {
    width: 205px;
  }

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

  .footer-bottom {
    flex-direction: column;
  }

  .legal-hero {
    padding: 52px 0 34px;
  }

  .legal-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .legal-layout {
    padding: 32px 0 70px;
  }

  .legal-nav {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 25px 20px;
    border-radius: var(--radius-lg);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
