:root {
  --navy: #172b4d;
  --navy-soft: #3d4d6a;
  --teal: #56d6c2;
  --teal-deep: #0e7c74;
  --cloud: #f4f6fa;
  --line: #e3e8f0;
  --white: #fff;
  --muted: #5e6e86;
  --sans: "Inter", "Segoe UI", sans-serif;
  --max: 1120px;
  --header: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
}

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

[hidden] { display: none !important; }

a { color: var(--teal-deep); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.55rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
}

.brand img { width: 42px; height: auto; }

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}

.nav-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-weight: 600;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover:not(.button),
.site-nav a[aria-current="page"]:not(.button) { color: var(--teal-deep); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.72rem 1.05rem;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.button-primary:hover,
.site-nav a.button-primary:hover,
.site-nav a.button-primary:focus-visible {
  background: #6adfd0;
  color: var(--navy);
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: #c5cedb;
}

.button-secondary:hover { background: var(--cloud); color: var(--navy); }

.nav-cta { padding: 0.48rem 0.85rem; font-size: 0.92rem; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin: 0.35rem 0 0.8rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0 0 0.55rem; }
h3 { font-size: 1.05rem; margin: 0 0 0.3rem; }

.lede { font-size: 1.08rem; color: var(--navy-soft); max-width: 38rem; }

.kicker {
  margin: 0;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  background: linear-gradient(180deg, #f7fbfd 0%, var(--cloud) 100%);
  padding: 3rem 0 3.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem;
  align-items: center;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 1.6rem; }

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

.principle { font-size: 0.92rem; color: var(--navy-soft); }
.principle p { margin: 0.2rem 0 0; }

.icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e7faf6;
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 0.45rem;
}

.stage-wrap { position: relative; min-height: 420px; padding-right: 96px; }

.app-window {
  background: var(--navy);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 24px 50px rgba(23, 43, 77, 0.18);
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 430px;
  color: white;
}

.app-side { padding: 0.7rem 0.55rem; display: flex; flex-direction: column; gap: 0.2rem; }
.app-brand { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; margin-bottom: 0.8rem; }
.app-brand img { width: 22px; height: auto; }
.side-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #d5deea;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
}
.side-link.is-on { background: var(--teal); color: var(--navy); }
.side-spacer { flex: 1; }
.who { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: #d5deea; padding: 0.4rem; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #31527a; color: white; font-size: 0.68rem; font-weight: 700;
}

.app-main { background: #f7f9fc; color: var(--navy); border-radius: 12px; padding: 0.75rem 0.85rem 0.9rem; }
.app-top { display: flex; justify-content: flex-end; gap: 0.4rem; margin-bottom: 0.35rem; }
.search, .bell {
  background: white; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 0.75rem; padding: 0.28rem 0.6rem;
}
.app-main h2 { font-size: 1.25rem; margin-bottom: 0.1rem; }
.sub { margin: 0 0 0.55rem; color: var(--muted); font-size: 0.8rem; }

.view-switch { display: flex; gap: 0.15rem; border-bottom: 1px solid var(--line); margin-bottom: 0.7rem; }
.view-switch button {
  border: 0; background: transparent; font: inherit; font-size: 0.82rem; font-weight: 600;
  color: var(--muted); padding: 0.35rem 0.55rem 0.45rem; cursor: pointer; border-bottom: 2px solid transparent;
}
.view-switch button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--teal-deep); }

.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
.column h3 { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.card {
  background: white; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.5rem 0.55rem; margin-top: 0.35rem; font-size: 0.78rem;
}
.card p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.72rem; }
.tag {
  display: inline-block; border-radius: 999px; padding: 0.05rem 0.4rem;
  background: #e7f1ff; color: #24527a; font-weight: 600; font-size: 0.68rem;
}
.tag-mint { background: #e5f8f4; color: #0d6e64; }
.tag-gold { background: #fff4d6; color: #7a5b10; }
.tag-lilac { background: #f0e9ff; color: #5a3d86; }

.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  background: white; border: 1px solid var(--line); border-radius: 8px;
  padding: 0.45rem 0.6rem; margin-bottom: 0.35rem; font-size: 0.82rem;
}
.files li, .chat p { font-size: 0.82rem; }
.chat p { background: white; border-radius: 10px; padding: 0.45rem 0.6rem; margin: 0.3rem 0; }

.phone {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 176px;
  background: white;
  border: 8px solid #1b2433;
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(23, 43, 77, 0.2);
  padding: 0.7rem 0.65rem 0.8rem;
  color: var(--navy);
}
.phone-top { display: flex; justify-content: space-between; font-size: 0.65rem; color: var(--muted); }
.phone h3 { font-size: 0.95rem; margin: 0.45rem 0; }
.phone-tabs { display: flex; gap: 0.45rem; font-size: 0.68rem; color: var(--muted); margin-bottom: 0.4rem; }
.phone-tabs strong { color: var(--navy); border-bottom: 2px solid var(--teal); }
.task { display: grid; grid-template-columns: 14px 1fr; gap: 0.35rem; margin: 0.4rem 0; font-size: 0.72rem; }
.task span { color: var(--muted); }
.radio { width: 12px; height: 12px; border: 1.5px solid #9aabbf; border-radius: 50%; margin-top: 0.15rem; }
.fab {
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: var(--navy);
  display: grid; place-items: center; margin-left: auto; font-weight: 700;
}

.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; padding: 2.4rem 0 1rem; }
.story {
  position: relative; min-height: 280px; border-radius: 16px; overflow: hidden;
  color: white; display: flex; align-items: flex-end;
}
.story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story > div { position: relative; padding: 1.1rem; background: linear-gradient(transparent, rgba(12, 22, 40, 0.72)); width: 100%; }
.story h2 { font-size: 1.45rem; margin: 0; }
.story .rule { width: 36px; height: 3px; background: var(--teal); margin-bottom: 0.55rem; }
.story-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  font-weight: 700;
  line-height: 1;
}
.story-logo img { position: static; width: 32px; height: auto; display: block; }

.section { padding: 3rem 0; }
.section-cloud { background: var(--cloud); }
.muted { color: var(--muted); }

.tiles, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.swatch-navy { background: var(--navy); color: white; }
.swatch-navy p { color: #d5deea; }
.mark-preview { width: 72px; height: auto; margin-bottom: 0.6rem; }

.tile, .plan {
  background: white; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.05rem;
}
.plan { display: flex; flex-direction: column; gap: 0.55rem; }
.plan-featured { border: 2px solid var(--navy); }
.plan ul { margin: 0; padding-left: 1.1rem; flex: 1; }
.price { font-size: 2.2rem; font-weight: 700; margin: 0; letter-spacing: -0.04em; }
.price span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price .bill-note { display: block; font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.bill { display: inline-flex; gap: 0.2rem; padding: 0.2rem; border-radius: 999px; background: white; border: 1px solid var(--line); margin: 0.6rem 0 1rem; }
.bill button {
  border: 0; background: transparent; font: inherit; font-weight: 600; border-radius: 999px;
  padding: 0.35rem 0.75rem; cursor: pointer; color: var(--muted);
}
.bill button[aria-pressed="true"] { background: var(--navy); color: white; }

.band { background: var(--navy); color: white; }
.band a { color: var(--teal); }
.band .button-primary { background: var(--teal); color: var(--navy); }
.band .button-secondary { color: white; border-color: #8ea0b8; }
.band .button-secondary:hover { background: white; color: var(--navy); }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: center; }

.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.8rem; }
.page-hero { padding: 2.4rem 0 0.4rem; background: var(--cloud); }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 0.75rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.9rem; background: var(--cloud); }

.form {
  display: grid; gap: 0.85rem; background: white; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.2rem;
}
label { display: grid; gap: 0.28rem; font-weight: 600; }
input, select, textarea {
  font: inherit; color: var(--navy); background: white; border: 1px solid #c9d3e0;
  border-radius: 10px; padding: 0.65rem 0.7rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.error { color: #9a3412; font-weight: 700; margin: 0; }
.request { background: #e7faf6; border-radius: 12px; padding: 1rem; margin-top: 1rem; }
.request pre { white-space: pre-wrap; font-family: var(--sans); margin: 0.4rem 0 0.8rem; }

.feature { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.feature h2 { font-size: 1.35rem; }

.site-footer { background: var(--navy); color: #d5deea; padding: 2rem 0 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 1.2rem; }
.site-footer a { display: block; color: white; text-decoration: none; margin: 0.28rem 0; font-weight: 500; }
.site-footer a:hover { color: var(--teal); }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #9eb0c6; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; color: white; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.footer-brand img { width: 32px; height: auto; }
.legal { margin-top: 1.3rem; color: #9eb0c6; font-size: 0.88rem; }
.narrow { width: min(760px, 100%); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 980px) {
  .hero-grid, .stories, .principles, .tiles, .plans, .split, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .phone { position: relative; right: auto; bottom: auto; margin: 1rem auto 0; }
  .stage-wrap { min-height: 0; padding-right: 0; }
  .app-window { grid-template-columns: 1fr; }
  .app-side { flex-direction: row; flex-wrap: wrap; }
  .board { grid-template-columns: 1fr; }
  .side-spacer, .who { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .brand-tag { display: none; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    margin: 0; padding: 0.7rem 1.2rem 1rem; background: white;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
  }
  .site-nav.is-open { display: flex; }
}

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