:root {
  color-scheme: light;
  --ink: #123047;
  --muted: #526a7a;
  --brand: #008dcd;
  --brand-dark: #006c9e;
  --brand-soft: #e8f6fc;
  --surface: #ffffff;
  --surface-muted: #f3f8fb;
  --line: #d7e5ec;
  --accent: #c9efdf;
  --shadow: 0 24px 70px rgb(18 48 71 / 12%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.65;
}

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

a:hover {
  color: #004e74;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2a900;
  outline-offset: 4px;
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  color: #fff;
  background: var(--ink);
  border-radius: 0.6rem;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgb(215 229 236 / 75%);
  background: rgb(255 255 255 / 92%);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.brand span {
  line-height: 1.2;
}

.brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 550;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

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

.nav-links a:hover {
  color: var(--brand-dark);
}

.nav-links .nav-cta {
  padding: 0.68rem 1rem;
  color: white;
  background: var(--brand-dark);
  border-radius: 999px;
}

.nav-links .nav-cta:hover {
  color: #fff;
  background: #00567f;
}

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.8rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 82% 25%, rgb(201 239 223 / 70%), transparent 32rem),
    linear-gradient(180deg, #f3fbfe 0%, #fff 86%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.7rem;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1 {
  max-width: 760px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 5.2vw, 4.65rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgb(0 141 205 / 22%);
}

.button-primary:hover {
  color: #fff;
  background: #00567f;
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.hero-note {
  max-width: 560px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.preview-wrap {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
}

.preview-wrap::before {
  position: absolute;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #cceefb, #ddf5e9);
  content: "";
}

.app-preview {
  position: relative;
  width: min(280px, 78vw);
  padding: 0.65rem;
  transform: rotate(3deg);
  border: 1px solid rgb(18 48 71 / 12%);
  border-radius: 2.3rem;
  background: #17364b;
  box-shadow: 0 28px 65px rgb(18 48 71 / 24%);
}

.preview-screen {
  overflow: hidden;
  min-height: 460px;
  padding: 1.05rem 0.95rem 0.8rem;
  border-radius: 1.85rem;
  background: #f7fbfd;
}

.preview-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: #647988;
  font-size: 0.6rem;
  font-weight: 700;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.preview-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.preview-search {
  margin-bottom: 1.05rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e0e9ee;
  border-radius: 999px;
  color: #708391;
  background: #fff;
  font-size: 0.72rem;
}

.preview-heading {
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
  font-weight: 750;
}

.preview-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  padding: 0.7rem;
  border: 1px solid #e3edf2;
  border-radius: 0.9rem;
  background: #fff;
}

.preview-card-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 0.7rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.95rem;
  font-weight: 800;
}

.preview-card strong,
.preview-card small {
  display: block;
  line-height: 1.35;
}

.preview-card strong {
  font-size: 0.72rem;
}

.preview-card small {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.61rem;
}

.preview-calendar {
  margin-top: 0.9rem;
  padding: 0.8rem;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(135deg, #007fb8, #008dcd);
}

.preview-calendar small,
.preview-calendar strong {
  display: block;
}

.preview-calendar small {
  opacity: 0.82;
  font-size: 0.63rem;
}

.preview-calendar strong {
  margin-top: 0.2rem;
  font-size: 0.83rem;
}

.preview-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  color: #637a88;
  font-size: 0.56rem;
}

.preview-nav span:first-child {
  color: var(--brand-dark);
  font-weight: 800;
}

.float-label {
  position: absolute;
  right: -0.1rem;
  bottom: 3rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

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

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.stat {
  padding: 1.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: #fff;
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.feature-card {
  min-height: 220px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: #fff;
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 14px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 1.15rem;
  font-weight: 850;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.pro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-radius: 1.5rem;
  color: #fff;
  background: linear-gradient(125deg, #073c5a, #0879aa);
}

.pro-panel h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.pro-panel p {
  max-width: 680px;
  margin-bottom: 0;
  color: #e2f4fb;
}

.pro-panel .button {
  flex: 0 0 auto;
  color: var(--ink);
  background: #fff;
}

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand);
  border-radius: 0.75rem;
  color: var(--muted);
  background: var(--brand-soft);
  font-size: 0.9rem;
}

.disclaimer strong {
  color: var(--ink);
}

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 650;
}

.legal-hero {
  padding: 3.5rem 0 2rem;
  background: linear-gradient(180deg, #f3fbfe, #fff);
}

.legal-hero h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.legal-hero p {
  margin-bottom: 0;
  color: var(--muted);
}

.legal-content {
  width: min(820px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1rem 0 5rem;
  overflow-wrap: anywhere;
}

.legal-content h2 {
  margin: 2.3rem 0 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: #40596a;
}

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

.legal-contact {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface-muted);
}

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

  .hero-copy {
    max-width: 680px;
  }

  .preview-wrap {
    min-height: 480px;
  }

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

@media (max-width: 600px) {
  .container {
    width: min(100% - 2rem, 1120px);
  }

  .header-inner {
    min-height: 70px;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-block: 0.45rem;
  }

  .brand {
    min-width: 0;
    gap: 0.55rem;
  }

  .brand > span {
    white-space: normal;
  }

  .brand img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .brand small {
    white-space: normal;
    font-size: 0.68rem;
  }

  .nav-links {
    flex-shrink: 0;
    gap: 0.55rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    padding: 0.55rem 0.65rem;
    font-size: 0.75rem;
  }

  .hero .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero h1 {
    font-size: clamp(1.2rem, 9.5vw, 2.6rem);
  }

  .legal-hero h1 {
    font-size: clamp(1.15rem, 9vw, 2.2rem);
  }

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

  .app-preview {
    width: min(260px, 74vw);
  }

  .preview-screen {
    min-height: 435px;
  }

  .float-label {
    right: 0;
    bottom: 2rem;
  }

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

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

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

  .pro-panel {
    grid-template-columns: 1fr;
  }

  .pro-panel .button {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #e7f2f8;
    --muted: #b7c8d1;
    --brand: #55c5f2;
    --brand-dark: #78d5fa;
    --brand-soft: #173747;
    --surface: #0e1a22;
    --surface-muted: #13232d;
    --line: #2b414f;
    --accent: #c9efdf;
    --shadow: 0 24px 70px rgb(0 0 0 / 35%);
  }

  .site-header {
    border-bottom-color: var(--line);
    background: rgb(14 26 34 / 94%);
  }

  .hero {
    background:
      radial-gradient(ellipse at 82% 25%, rgb(29 86 82 / 45%), transparent 32rem),
      linear-gradient(180deg, #102833 0%, var(--surface) 86%);
  }

  .legal-hero {
    background: linear-gradient(180deg, #102833, var(--surface));
  }

  .button-primary,
  .nav-links .nav-cta {
    color: #08283b;
    background: #83def9;
  }

  .button-primary:hover,
  .nav-links .nav-cta:hover {
    color: #08283b;
    background: #b2ecff;
  }

  .button-secondary,
  .stat,
  .feature-card,
  .float-label,
  .site-footer,
  .legal-contact {
    border-color: var(--line);
    color: var(--ink);
    background: var(--surface-muted);
  }

  .button-secondary:hover {
    color: var(--ink);
    background: #1b303d;
  }

  .pro-panel .button {
    color: #123047;
  }

  .disclaimer {
    color: var(--muted);
  }

  .disclaimer strong,
  .feature-card h3 {
    color: var(--ink);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
