@font-face {
  font-family: "Outfit";
  src: url("assets/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --foam: #eef5fa;
  --shallow: #7cc0e2;
  --tide: #2f6fa8;
  --deep: #14284b;
  --ink: #0b1730;
  --white: #ffffff;
  --muted-on-foam: #4a5d78;
  --measure: 34rem;
  --page: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--tide);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-tide a:focus-visible, .band-tide button:focus-visible,
.band-deep a:focus-visible, .band-ink a:focus-visible { outline-color: var(--shallow); }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { left: var(--gutter); top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 20; }

/* Header: stays at the top, frosted once the page moves */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 245, 250, .72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: rgba(20, 40, 75, .08); background: rgba(238, 245, 250, .86); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header img { display: block; height: 2.6rem; width: auto; margin-left: -.5rem; }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 3vw, 2rem); }
.site-header nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--deep);
  text-underline-offset: 5px;
}
.site-header nav a:hover { text-decoration: underline; }
.site-header .nav-cta {
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
}
.site-header .nav-cta:hover { text-decoration: none; background: var(--ink); }
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle {
  display: none;
  font: inherit;
  font-weight: 500;
  color: var(--deep);
  background: none;
  border: 1px solid #c9d9e6;
  border-radius: 999px;
  padding: .45rem .95rem;
  cursor: pointer;
  align-items: center;
  gap: .5rem;
}
.nav-toggle .bars { display: grid; gap: 4px; }
.nav-toggle .bars span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:last-child { transform: translateY(-3px) rotate(-45deg); }
@media (max-width: 46rem) {
  .nav-toggle { display: inline-flex; }
  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    background: var(--foam);
    border-bottom: 1px solid rgba(20, 40, 75, .1);
    box-shadow: 0 20px 30px -20px rgba(11, 23, 48, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .site-header nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .3s var(--ease-out); }
  .site-header nav a { padding: .85rem 0; font-size: 1.15rem; border-bottom: 1px solid #dbe6ef; }
  .site-header .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
}
@media (max-width: 46rem) and (prefers-reduced-motion: reduce) {
  .site-header nav, .site-header nav.is-open { transition: none; transform: none; }
}

/* Bands: the page descends from foam to the deep */
.band { position: relative; }
section[id] { scroll-margin-top: 4.5rem; }
.band-foam { background: var(--foam); }
.band-shallow { background: var(--shallow); }
.band-tide { background: var(--tide); color: var(--white); }
.band-deep { background: var(--deep); color: var(--foam); }
.band-ink { background: var(--ink); color: #c9d6e6; }

.wave {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 110px);
  margin-bottom: -1px; /* hides the hairline seam where the wave meets the next band */
}

.band-content { padding-block: clamp(3rem, 8vw, 6rem); }

/* Hero: the headline sits above a live sea drawn from the logo's three waves */
.hero {
  position: relative;
  min-height: calc(100svh - 4.6rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--foam);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(2.5rem, 9vh, 6.5rem);
  padding-bottom: clamp(14rem, 40vh, 22rem);
}
.hero h1 {
  font-size: clamp(2.8rem, 8.4vw, 7rem);
  font-weight: 250;
  line-height: .98;
  letter-spacing: -0.035em;
  color: var(--deep);
  margin: 0 0 2rem;
}
.reveal-lines .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-lines .line > span { display: inline-block; }
.hero-lede {
  max-width: var(--measure);
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--muted-on-foam);
  margin: 0 0 2.25rem;
}
.sea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(15rem, 44vh, 26rem);
  display: block;
}

/* The one orchestrated moment: on load the headline rises out of its lines while the sea fills in */
@media (prefers-reduced-motion: no-preference) {
  .reveal-lines .line > span { animation: lineUp 1.1s var(--ease-out) .15s both; }
  .reveal-lines .line:nth-child(2) > span { animation-delay: .24s; }
  .reveal-lines .line:nth-child(3) > span { animation-delay: .33s; }
  .reveal-fade { animation: fadeUp 1s var(--ease-out) .6s both; }
  .actions.reveal-fade { animation-delay: .72s; }
}
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button {
  display: inline-block;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--deep);
  transition: background-color .2s ease, color .2s ease, transform .2s var(--ease-out);
}
.button:active { transform: scale(.97); }
.button-primary { background: var(--deep); color: var(--white); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-quiet { color: var(--deep); background: rgba(255, 255, 255, .5); }
.button-quiet:hover { background: var(--white); }

/* Section headings */
h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 280;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  max-width: 20ch;
}
.intro { max-width: var(--measure); margin: 0 0 3rem; }

/* Services: a plain two-column list, no cards */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 2.5rem 3.5rem;
  margin: 0;
}
.services div { border-top: 2px solid var(--deep); padding-top: 1.1rem; }
.services dt { font-size: 1.35rem; font-weight: 600; color: var(--deep); margin-bottom: .4rem; letter-spacing: -.01em; }
.services dd { margin: 0; color: var(--ink); max-width: 30rem; }

/* Apps */
.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem 4rem;
  align-items: start;
}
@media (min-width: 60rem) { .app { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
.app h3 { font-size: 1.7rem; font-weight: 600; margin: 0 0 .5rem; letter-spacing: -.01em; }
.status {
  display: inline-block;
  font-size: .9rem;
  font-weight: 500;
  padding: .2rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  margin-bottom: 1rem;
}
.app ul { margin: 1.5rem 0 0; padding-left: 1.2rem; }
.app li { margin-bottom: .5rem; }
.band-tide a { color: var(--white); }
.app-actions { margin-top: 2rem; align-items: center; gap: 1rem 1.5rem; }
.button-on-tide { background: var(--white); border-color: var(--white); color: var(--deep) !important; }
.button-on-tide:hover { background: var(--foam); border-color: var(--foam); }
.text-link { font-weight: 500; text-underline-offset: 5px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Snapshot demo: a board you can move through in time */
.demo {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 30px 60px -30px rgba(11, 23, 48, .55), 0 0 0 1px rgba(11, 23, 48, .06);
}
.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem 1rem;
}
.demo-board { margin: 0; font-weight: 600; font-size: 1.15rem; color: var(--deep); }
.demo-sent { margin: 0; font-size: .92rem; color: var(--muted-on-foam); }
.demo-dates {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: var(--foam);
}
.demo-dates button {
  position: relative;
  z-index: 1;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--deep);
  background: none;
  border: 0;
  padding: .35rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s ease;
}
.demo-dates button[aria-pressed="true"] { color: var(--white); }
.demo-dates .thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  border-radius: 999px;
  background: var(--deep);
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}
.demo-diff {
  margin: 1rem 0 .75rem;
  padding: .6rem .85rem;
  border-radius: 10px;
  background: #e7f3fb;
  color: var(--deep);
  font-size: .95rem;
}
.demo-table-wrap { overflow-x: auto; }
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 26rem;
}
.demo-table th {
  text-align: left;
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted-on-foam);
  padding: .4rem .6rem;
  border-bottom: 1px solid #dfe8f0;
}
.demo-table td {
  padding: .55rem .6rem;
  border-bottom: 1px solid #edf2f7;
  transition: background-color .6s ease;
}
.demo-table tr:last-child td { border-bottom: 0; }
.demo-table td.changed { background: #fff4d6; box-shadow: inset 3px 0 0 #e2a400; }
.demo-table tr.added td { background: #e4f6ec; }
.demo-table tr.added td:first-child { box-shadow: inset 3px 0 0 #2e9e62; }
.demo-table tr.enter td { animation: rowIn .6s var(--ease-out) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } }
.pill {
  display: inline-block;
  min-width: 7.2rem;
  text-align: center;
  padding: .15rem .6rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: #0b1730;
}
.pill-done { background: #8fdcb0; }
.pill-working { background: #ffcf7a; }
.pill-stuck { background: #ff9fa8; }
.pill-new { background: #d6dde6; }
.demo figcaption { margin-top: .9rem; font-size: .88rem; color: var(--muted-on-foam); }
@media (prefers-reduced-motion: reduce) {
  .demo-dates .thumb, .demo-table td { transition: none; }
  .demo-table tr.enter td { animation: none; }
}

/* Process: a real sequence, so it is numbered */
.process {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}
@media (min-width: 34rem) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 58rem) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.process li { counter-increment: step; border-top: 1px solid #2a4370; padding-top: 1.25rem; }
.process li::before {
  content: counter(step);
  display: block;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  color: var(--shallow);
  margin-bottom: .75rem;
}
.process h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 .35rem; color: var(--white); }
.process p { margin: 0; color: #c3d3e6; }

/* ------------------------------------------------------------------
 * Contact band and form
 * ---------------------------------------------------------------- */
.contact h2 { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: start;
}
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact-aside p { max-width: var(--measure); }
.contact-aside .email {
  display: inline-block;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 250;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
  background-image: linear-gradient(var(--shallow), var(--shallow));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: .1em;
  margin: .25rem 0 1.5rem;
  transition: background-size .4s var(--ease-out), color .3s ease;
  overflow-wrap: anywhere;
}
.contact-aside .email:hover { background-size: 100% 100%; color: var(--ink); }
.contact-aside a { color: var(--white); }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.facts li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .6rem; align-items: start; }
.facts svg { margin-top: .25rem; }

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(124, 192, 226, .22);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 40rem) { .form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form .full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 500; color: var(--white); font-size: .98rem; }
.field .hint { font-weight: 400; color: #93a8c4; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(11, 23, 48, .6);
  border: 1px solid #304a75;
  border-radius: 12px;
  padding: .8rem .95rem;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237cc0e2' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field select option { color: var(--ink); }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #6f86a6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--shallow);
  box-shadow: 0 0 0 3px rgba(124, 192, 226, .3);
  background-color: rgba(11, 23, 48, .85);
}
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #ff9fa8; }
.field .error { color: #ffc2c8; font-size: .92rem; margin: 0; }
.field .error:empty { display: none; }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot p { margin: 0; font-size: .92rem; color: #93a8c4; max-width: 28rem; }
.form-foot a { color: #c9d6e6; }
.button-light { background: var(--shallow); border-color: var(--shallow); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.button-light:hover { background: var(--white); border-color: var(--white); }
.button-light[disabled] { opacity: .7; cursor: progress; }
.form-status { grid-column: 1 / -1; margin: 0; padding: .85rem 1rem; border-radius: 12px; font-size: .98rem; }
.form-status:empty { display: none; }
.form-status.is-ok { background: rgba(143, 220, 176, .16); color: #c9f2da; border: 1px solid rgba(143, 220, 176, .4); }
.form-status.is-error { background: rgba(255, 159, 168, .12); color: #ffd3d7; border: 1px solid rgba(255, 159, 168, .4); }
.form-done { text-align: left; padding: 1rem 0; }
.form-done h3 { color: var(--white); font-size: 1.6rem; font-weight: 400; margin: .75rem 0 .5rem; }
.form-done p { margin: 0; color: #c3d3e6; }
.form-done .tick { width: 3rem; height: 3rem; }
.form-done .tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease-out) forwards; }
.form-done .tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .4s var(--ease-out) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .form-done .tick circle, .form-done .tick path { animation: none; stroke-dashoffset: 0; } }

/* ------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9fb2cb; font-size: .95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-top: 1px solid #1d2f52;
}
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); } }
.footer-grid img { height: 2.2rem; width: auto; display: block; margin: 0 0 .75rem -.4rem; }
.footer-grid p { margin: 0; max-width: 20rem; }
.footer-grid h2 { font-size: .95rem; font-weight: 600; color: var(--white); margin: 0 0 .75rem; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-grid a { color: #c9d6e6; text-decoration: none; }
.footer-grid a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-base { padding-top: 1.25rem; padding-bottom: 2.5rem; border-top: 1px solid #1d2f52; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.footer-base p { margin: 0; }

/* ------------------------------------------------------------------
 * Inner pages: a quieter header band, then content
 * ---------------------------------------------------------------- */
.page-hero { background: var(--foam); position: relative; }
.page-hero .band-content { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 250;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--deep);
  margin: 0 0 1.25rem;
  max-width: 16ch;
}
.page-hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted-on-foam); max-width: 38rem; margin: 0 0 2rem; }
.crumbs { font-size: .95rem; margin: 0 0 1rem; color: var(--muted-on-foam); }
.crumbs a { color: var(--tide); }

/* Snapshots product page */
.product-hero { background: var(--foam); overflow: hidden; }
.product-hero .band-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 62rem) { .product-hero .band-content { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.product-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 250; line-height: 1; letter-spacing: -0.035em; color: var(--deep); margin: 0 0 1.25rem; }
.product-hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted-on-foam); margin: 0 0 2rem; max-width: 34rem; }
.badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 500; color: var(--deep); background: var(--white); border: 1px solid #d5e3ee; border-radius: 999px; padding: .3rem .85rem .3rem .4rem; margin-bottom: 1.25rem; }
.badge img { width: 1.4rem; height: 1.4rem; }

/* Email preview: what a recipient actually gets */
.mail {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(11, 23, 48, .5), 0 0 0 1px rgba(11, 23, 48, .06);
  overflow: hidden;
  font-size: .95rem;
  transform: rotate(-1deg);
}
.mail-bar { display: flex; gap: .4rem; padding: .8rem 1rem; background: #f3f7fb; border-bottom: 1px solid #e3ebf2; }
.mail-bar span { width: .7rem; height: .7rem; border-radius: 50%; background: #d3dde8; }
.mail-head { padding: 1.1rem 1.4rem .9rem; border-bottom: 1px solid #edf2f7; }
.mail-head p { margin: 0; color: var(--muted-on-foam); font-size: .9rem; }
.mail-head .subject { color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: .25rem; }
.mail-body { padding: 1.2rem 1.4rem 1.4rem; }
.mail-body h3 { font-size: 1rem; margin: 0 0 .6rem; color: var(--deep); }
.mail-body ul { margin: 0 0 1.1rem; padding: 0; list-style: none; display: grid; gap: .45rem; }
.mail-body li { display: flex; gap: .6rem; align-items: baseline; }
.mail-body .n { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.5rem; border-radius: 6px; font-weight: 600; font-size: .85rem; }
.n-add { background: #e4f6ec; color: #1d6b43; }
.n-done { background: #dff1fb; color: #1b5a86; }
.n-move { background: #fff4d6; color: #7a5600; }
.n-late { background: #ffe4e7; color: #9b2332; }
.attach { display: flex; align-items: center; gap: .8rem; border: 1px solid #e3ebf2; border-radius: 12px; padding: .7rem .9rem; }
.attach strong { display: block; color: var(--ink); font-weight: 500; }
.attach span { color: var(--muted-on-foam); font-size: .85rem; }
.mail-foot { font-size: .8rem; color: #7d8ea6; margin: 1rem 0 0; }
.mail-wrap { position: relative; }
.mail-wrap .mail-back { position: absolute; inset: 1.5rem -1rem -1rem 1.5rem; background: var(--shallow); border-radius: 22px; transform: rotate(2.5deg); }
@media (prefers-reduced-motion: no-preference) {
  .mail-wrap .mail { animation: floatIn 1.1s var(--ease-out) .2s both; }
  .mail-wrap .mail-back { animation: floatInBack 1.3s var(--ease-out) both; }
}
@keyframes floatIn { from { opacity: 0; transform: translateY(30px) rotate(-3deg); } }
@keyframes floatInBack { from { opacity: 0; transform: translateY(50px) rotate(6deg); } }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: s; border-top: 2px solid var(--deep); padding-top: 1rem; }
.steps li::before { content: counter(s); font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--deep); display: block; margin-bottom: .6rem; }
.steps h3 { font-size: 1.25rem; margin: 0 0 .35rem; color: var(--deep); }
.steps p { margin: 0; }

.features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem 3rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 44rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 66rem) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.features li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .25rem 1rem; }
.features svg { grid-row: span 2; width: 2.6rem; height: 2.6rem; }
.features h3 { margin: 0; font-size: 1.15rem; color: var(--white); }
.features p { margin: 0; color: #dbe8f5; }

/* Pricing */
.pricing-wrap { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(14rem, 1fr)); gap: 1rem; min-width: 58rem; }
.plan { background: var(--white); border-radius: 18px; padding: 1.5rem; border: 1px solid #d9e6f0; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 1.25rem; color: var(--deep); }
.plan .price { font-size: 2.6rem; font-weight: 250; letter-spacing: -0.03em; color: var(--deep); margin: .5rem 0 0; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--muted-on-foam); letter-spacing: 0; }
.plan .for { color: var(--muted-on-foam); margin: .6rem 0 1.1rem; min-height: 3.2em; }
.plan ul { list-style: none; margin: 0; padding: 1rem 0 0; border-top: 1px solid #e6eef5; display: grid; gap: .55rem; }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .55rem; font-size: .97rem; }
.plan li::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--shallow); margin-top: .5rem; }
.plan.is-featured { background: var(--deep); border-color: var(--deep); color: #dbe8f5; transform: translateY(-.5rem); box-shadow: 0 30px 60px -30px rgba(11, 23, 48, .6); }
.plan.is-featured h3, .plan.is-featured .price { color: var(--white); }
.plan.is-featured .price small, .plan.is-featured .for { color: #a9bdd6; }
.plan.is-featured ul { border-top-color: #2a4370; }
.plan .tag { align-self: flex-start; font-size: .82rem; font-weight: 600; background: var(--shallow); color: var(--ink); border-radius: 999px; padding: .15rem .65rem; margin-bottom: .75rem; }
.pricing-note { margin: 1.5rem 0 0; color: var(--muted-on-foam); max-width: 44rem; }

/* FAQ */
.faq { max-width: 48rem; }
.faq details { border-top: 1px solid #cfdeea; }
.faq details:last-child { border-bottom: 1px solid #cfdeea; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-size: 1.12rem; font-weight: 500; color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .8rem; height: .8rem; margin-top: .45rem; border-right: 2px solid var(--tide); border-bottom: 2px solid var(--tide); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { margin: 0 0 1.2rem; max-width: 42rem; }
.faq details[open] p { animation: fadeUp .4s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .faq details[open] p { animation: none; } }

.trust { margin-top: 2.5rem; }
.trust-link { margin: 2.5rem 0 0; }
.band-deep a { color: var(--white); }
.faq-title { margin-top: clamp(4rem, 9vw, 7rem); }
.faq-title + .faq { margin-top: 1.5rem; }
.band-deep .faq details { border-top-color: #2a4370; }
.band-deep .faq details:last-child { border-bottom-color: #2a4370; }
.band-deep .faq summary { color: var(--white); }
.band-deep .faq summary::after { border-color: var(--shallow); }
.band-deep .faq details p { color: #c3d3e6; }
.cta-band .band-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: .5rem 0 0; color: #c3d3e6; max-width: 34rem; }
.band-ink .button-light, .band-deep .button-light { text-decoration: none; }

/* ------------------------------------------------------------------
 * Docs: sidebar plus readable article
 * ---------------------------------------------------------------- */
.docs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; padding-top: 2rem; padding-bottom: 5rem; }
@media (min-width: 58rem) { .docs { grid-template-columns: 15rem minmax(0, 1fr); } }
.docs-nav { font-size: .98rem; }
@media (min-width: 58rem) { .docs-nav { position: sticky; top: 5.5rem; align-self: start; } }
.docs-nav h2 { font-size: .95rem; font-weight: 600; color: var(--deep); margin: 0 0 .5rem; letter-spacing: 0; }
.docs-nav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; border-left: 2px solid #d5e3ee; }
.docs-nav a { display: block; padding: .35rem 0 .35rem 1rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted-on-foam); }
.docs-nav a:hover { color: var(--deep); }
.docs-nav a[aria-current="page"] { color: var(--deep); font-weight: 600; border-left-color: var(--tide); }
.docs-nav details summary { display: none; }
@media (max-width: 57.99rem) {
  .docs-nav details { background: var(--white); border: 1px solid #d5e3ee; border-radius: 14px; padding: .25rem 1rem; }
  .docs-nav details summary { display: block; cursor: pointer; padding: .7rem 0; font-weight: 600; color: var(--deep); }
}
.article { max-width: 44rem; }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 280; letter-spacing: -0.03em; line-height: 1.05; color: var(--deep); margin: 0 0 1rem; max-width: none; }
.article .lede { font-size: 1.2rem; color: var(--muted-on-foam); margin: 0 0 2rem; }
.article h2 { font-size: 1.55rem; font-weight: 500; letter-spacing: -0.01em; color: var(--deep); margin: 2.75rem 0 .75rem; max-width: none; }
.article h3 { font-size: 1.15rem; font-weight: 600; color: var(--deep); margin: 1.75rem 0 .5rem; }
.article p, .article li { max-width: 42rem; }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin-bottom: .4rem; }
.article a { color: var(--tide); text-underline-offset: 3px; }
.article code { font-size: .92em; background: #e3edf5; padding: .1em .35em; border-radius: 5px; }
.article table { border-collapse: collapse; width: 100%; margin: 1rem 0 1.5rem; font-size: .97rem; }
.article th, .article td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid #d5e3ee; vertical-align: top; }
.article th { font-weight: 600; color: var(--deep); background: #e6f0f7; }
.table-wrap { overflow-x: auto; }
.note { background: var(--white); border: 1px solid #d5e3ee; border-left: 4px solid var(--tide); border-radius: 10px; padding: .9rem 1.1rem; margin: 1.5rem 0; }
.note p { margin: 0; }
.note.warn { border-left-color: #e2a400; }
.doc-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 2rem 0; padding: 0; list-style: none; }
@media (min-width: 40rem) { .doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.doc-cards a { display: block; height: 100%; background: var(--white); border: 1px solid #d5e3ee; border-radius: 14px; padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s var(--ease-out); }
.doc-cards a:hover { border-color: var(--tide); transform: translateY(-2px); }
.doc-cards strong { display: block; color: var(--deep); font-size: 1.08rem; margin-bottom: .25rem; }
.doc-cards span { color: var(--muted-on-foam); font-size: .97rem; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid #d5e3ee; }
.pager a { text-decoration: none; color: var(--tide); font-weight: 500; }
.pager span { display: block; font-size: .85rem; color: var(--muted-on-foam); font-weight: 400; }
.pager .next { text-align: right; margin-left: auto; }

/* Legal pages */
.legal { padding: 2rem 0 5rem; }
.legal article { max-width: 42rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 300; color: var(--deep); margin: 1rem 0 .5rem; }
.legal h2 { font-size: 1.4rem; font-weight: 600; margin: 2.25rem 0 .5rem; color: var(--deep); max-width: none; letter-spacing: 0; }
.legal .updated { color: var(--muted-on-foam); }
.legal a { color: var(--tide); }
.draft-note {
  background: #fff4d6;
  border-left: 4px solid #c28b00;
  padding: .9rem 1.1rem;
  margin: 1.5rem 0;
}

/* Contact page */
.contact-page .band-content { padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.contact-page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 250; line-height: 1; letter-spacing: -0.035em; color: var(--white); margin: 0 0 1.25rem; }
.contact-page { min-height: calc(100svh - 4.6rem); }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; }

