:root {
  --bg: #faf8f4;
  --bg-2: #f3efe7;
  --surface: #ffffff;
  --text: #15232a;
  --muted: #5a6770;
  --line: #e6e0d5;
  --ink: #10313a;
  --teal: #1d6e68;
  --sea: #2aa198;
  --coral: #e9765b;
  --gold: #dfab4f;
  --teal-soft: #e3efec;
  --coral-soft: #fbe9e3;
  --on-ink: #f4f1ea;
  --ring-a: #10313a;
  --ring-b: #2aa198;
  --shadow: 0 1px 2px rgba(16, 49, 58, 0.04), 0 12px 32px -12px rgba(16, 49, 58, 0.18);
  --radius: 20px;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1416;
    --bg-2: #111b1e;
    --surface: #142024;
    --text: #edf0ee;
    --muted: #9aa8ad;
    --line: #22323a;
    --ink: #0a2228;
    --teal: #5cc8bd;
    --sea: #4fbcb1;
    --coral: #f2987f;
    --gold: #e8c27a;
    --teal-soft: #15302f;
    --coral-soft: #33211c;
    --on-ink: #f4f1ea;
    --ring-a: #2aa198;
    --ring-b: #9be3d9;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Decorative glows and rings bleed past the edges; keep them from widening the page. */
main { overflow-x: clip; }

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

::selection { background: var(--coral); color: #fff; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .inc { color: var(--muted); font-weight: 400; }

.ring-a { stop-color: var(--ring-a); }
.ring-b { stop-color: var(--ring-b); }
.mark .ring { stroke: url(#ring-grad); }
.mark .dot { fill: var(--coral); }

nav { display: flex; align-items: center; gap: 28px; }

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 10px 24px -10px rgba(16, 49, 58, 0.6);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: var(--surface);
}

.btn-ghost:hover { border-color: var(--teal); }

nav .btn { padding: 9px 16px; }
nav a.btn, nav a.btn:hover { color: var(--on-ink); }

@media (prefers-color-scheme: dark) {
  .btn-primary { background: var(--teal); color: #0c1416; }
  nav a.btn, nav a.btn:hover { color: #0c1416; }
}

/* Hero */

.hero {
  position: relative;
  padding: 104px 0 96px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -68px -40vw 0;
  z-index: -1;
  background:
    radial-gradient(38% 55% at 82% 28%, color-mix(in srgb, var(--sea) 30%, transparent), transparent 70%),
    radial-gradient(30% 45% at 64% 78%, color-mix(in srgb, var(--coral) 24%, transparent), transparent 70%),
    radial-gradient(26% 40% at 96% 70%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%);
  filter: blur(8px);
}

.hero-art {
  position: absolute;
  right: -110px;
  top: 60%;
  width: 420px;
  transform: translateY(-50%);
  z-index: -1;
  opacity: 0.75;
}

.hero-art .ring { stroke: url(#ring-grad); }
.hero-art .dot { fill: var(--coral); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow .pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  max-width: 11.5em;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--teal), var(--sea) 45%, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero p.lede {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 32em;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */

section.block { padding: 88px 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.tint { background: var(--bg-2); border-block: 1px solid var(--line); }

/* Product card */

.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }

.product .body { padding: 40px; display: flex; flex-direction: column; }

.product .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.product h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.product p { margin: 0 0 24px; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }

.tags li {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
}

.product .go { margin-top: auto; font-weight: 600; color: var(--teal); }
.product .go span { display: inline-block; transition: transform 0.2s ease; }
.product:hover .go span { transform: translateX(4px); }

.product .visual {
  position: relative;
  min-height: 340px;
  background:
    radial-gradient(42% 38% at 92% 8%, rgba(255, 150, 115, 0.75), transparent 72%),
    radial-gradient(50% 45% at 4% 100%, rgba(240, 190, 100, 0.45), transparent 72%),
    linear-gradient(155deg, #2aa198 0%, #1d6e68 38%, #10313a 100%);
  display: grid;
  place-items: center;
  padding: 32px;
}

.stack { position: relative; width: min(100%, 290px); }

.tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.45);
}

.tile + .tile { margin-top: 10px; }
.tile:nth-child(2) { margin-left: 28px; margin-right: -28px; }
.tile:nth-child(4) { margin-left: 14px; margin-right: -14px; }

.tile i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}

.tile svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tile small { margin-left: auto; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }

/* Services */

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}

.card .icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.icon.teal { background: var(--teal-soft); color: var(--teal); }
.icon.coral { background: var(--coral-soft); color: var(--coral); }

.card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.steps li { padding: 24px 28px; position: relative; }
.steps li + li { border-left: 1px solid var(--line); }

.steps .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--coral);
}

.steps strong { display: block; font-size: 17px; margin: 4px 0 2px; }
.steps span { font-size: 14px; color: var(--muted); }

/* Contact */

.contact {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(42, 161, 152, 0.45), transparent 70%),
    radial-gradient(40% 70% at 0% 100%, rgba(233, 118, 91, 0.35), transparent 70%),
    #10313a;
  color: var(--on-ink);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: end;
}

.contact .kicker { color: #f6b39f; }
.contact h2 { color: #fff; margin-bottom: 18px; }
.contact p { color: rgba(244, 241, 234, 0.75); margin: 0 0 28px; max-width: 26em; }

.contact .btn-primary { background: #fff; color: #10313a; box-shadow: none; }

.contact dl { margin: 0; display: grid; gap: 20px; }
.contact dt { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(244, 241, 234, 0.55); margin-bottom: 4px; }
.contact dd { margin: 0; }
.contact dd a { color: #fff; }

address { font-style: normal; }

.contact-art {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  opacity: 0.12;
  pointer-events: none;
}

/* Footer */

footer.site { border-top: 1px solid var(--line); margin-top: 88px; }

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 48px;
  color: var(--muted);
  font-size: 14px;
}

footer.site .brand { font-size: 17px; }
footer.site .brand .mark { width: 24px; height: 24px; }
footer.site nav { gap: 20px; }
footer.site nav a { font-size: 14px; }

/* Policy pages */

.doc { max-width: 720px; padding: 72px 0 0; }
.doc .kicker { margin-bottom: 8px; }
.doc h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 54px); letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 12px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 10px; }
.doc li::marker { color: var(--coral); }

/* Motion */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes spin-in { from { opacity: 0; transform: translateY(-50%) rotate(-40deg) scale(0.92); } to { opacity: 0.75; transform: translateY(-50%) rotate(0) scale(1); } }

.hero .eyebrow, .hero h1, .hero .lede, .hero .actions { animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation-delay: 0.06s; }
.hero .lede { animation-delay: 0.14s; }
.hero .actions { animation-delay: 0.22s; }
.hero-art { animation: spin-in 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Responsive */

@media (max-width: 900px) {
  .hero-art { width: 320px; right: -120px; opacity: 0.5; }
  .product { grid-template-columns: 1fr; }
  .product .visual { min-height: 280px; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; padding: 48px; align-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  html { scroll-padding-top: 72px; }
  header.site .wrap { height: 60px; }
  .brand { font-size: 19px; }
  nav { gap: 16px; }
  nav a.hide-sm { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-art { display: none; }
  .product .visual { padding: 28px 48px 28px 20px; }
  .hero p.lede { font-size: 18px; }
  section.block { padding: 64px 0; }
  .product .body { padding: 28px 24px; }
  .product h3 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 26px 24px; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contact { padding: 36px 24px; border-radius: 22px; gap: 32px; }
  footer.site { margin-top: 64px; }
  .doc { padding-top: 48px; }
}
