/* Night Owls — iOS 27 × One UI 9 inspired, in the logo's ember palette. */

:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Ember palette, sampled from the logo */
  --ember-950: #0f0504;
  --ember-900: #160706;
  --ember-800: #2b0f09;
  --ember-600: #8f1d10;
  --ember-500: #c2410c;
  --ember-450: #d4500f;
  --ember-400: #f0591a;
  --ember-300: #ff8a3d;
  --ember-200: #ffb347;
  --ember-100: #ffd9bd;

  /* Light appearance */
  --bg: #f6f1ee;
  --surface: #ffffff;
  --label: #1d0f0a;
  --label-2: rgba(60, 28, 18, 0.68);
  --label-3: rgba(60, 28, 18, 0.38);
  --separator: rgba(60, 28, 18, 0.11);
  --fill: rgba(120, 72, 52, 0.09);
  --fill-strong: rgba(120, 72, 52, 0.14);
  --seg-active: #ffffff;
  --tint: #b53a0b;
  --tint-fill: rgba(232, 84, 15, 0.1);
  --tint-fill-strong: rgba(232, 84, 15, 0.17);
  --wa-text: #0b6b34;
  --wa-fill: rgba(37, 211, 102, 0.16);
  --wa-fill-strong: rgba(37, 211, 102, 0.26);
  --glass: rgba(255, 252, 250, 0.68);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 10px 30px rgba(70, 25, 12, 0.12), 0 1px 2px rgba(70, 25, 12, 0.06);
  --card-shadow: 0 1px 2px rgba(70, 25, 12, 0.05), 0 10px 30px rgba(70, 25, 12, 0.06);

  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --bar-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0605;
    --surface: #1a110e;
    --label: #fff4ec;
    --label-2: rgba(255, 228, 210, 0.66);
    --label-3: rgba(255, 228, 210, 0.36);
    --separator: rgba(255, 228, 210, 0.1);
    --fill: rgba(255, 220, 200, 0.07);
    --fill-strong: rgba(255, 220, 200, 0.12);
    --seg-active: rgba(255, 230, 215, 0.16);
    --tint: #ff9a5c;
    --tint-fill: rgba(255, 122, 48, 0.15);
    --tint-fill-strong: rgba(255, 122, 48, 0.24);
    --wa-text: #6ee7a0;
    --wa-fill: rgba(37, 211, 102, 0.14);
    --wa-fill-strong: rgba(37, 211, 102, 0.22);
    --glass: rgba(28, 17, 13, 0.62);
    --glass-border: rgba(255, 220, 200, 0.12);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: inset 0 0 0 1px rgba(255, 228, 210, 0.05);
  }
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 28px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tint); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); }
:focus-visible { outline: 3px solid var(--ember-300); outline-offset: 3px; border-radius: 14px; }
svg.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; border-radius: 999px;
  background: var(--surface); color: var(--label); font-weight: 600;
}
.skip:focus { top: 12px; }

/* Liquid glass */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Top bar: compact and floating, content starts right below it */
.topbar {
  position: sticky; top: 0; z-index: 20;
  padding-top: max(10px, env(safe-area-inset-top));
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: var(--bar-h);
  padding: 0 8px 0 10px;
  border-radius: 999px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--label); font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: -0.025em;
}
.brand img {
  width: 38px; height: 38px; border-radius: 11px;
  box-shadow: 0 2px 8px rgba(120, 30, 10, 0.3);
}
.topnav {
  display: flex; gap: 2px; padding: 3px;
  border-radius: 999px; background: var(--fill);
}
.topnav a {
  color: var(--label); font-size: 15px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  transition: background-color 0.2s ease;
}
.topnav a:hover { background: var(--fill); }
.topnav a[aria-current] { background: var(--seg-active); box-shadow: 0 1px 4px rgba(40, 10, 5, 0.14); }
.status {
  display: none; align-items: center; gap: 7px;
  margin-right: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--fill); color: var(--label); font-size: 13px; font-weight: 600;
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: #34c759; box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.22);
}

/* Bottom tab bar (phones) */
.tabbar { display: none; }

@media (max-width: 719px) {
  :root { --bar-h: 52px; }
  .topnav { display: none; }
  .status { display: inline-flex; }
  .tabbar {
    display: flex; gap: 2px;
    position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
    bottom: max(12px, env(safe-area-inset-bottom));
    width: min(calc(100% - 24px), 440px);
    padding: 5px; border-radius: 999px;
  }
  .tabbar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px;
    padding: 7px 4px 6px; border-radius: 999px;
    color: var(--label-2); font-size: 11px; font-weight: 600; letter-spacing: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .tabbar svg.i { width: 24px; height: 24px; }
  .tabbar a[aria-current] { color: var(--tint); background: var(--tint-fill); }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  font-family: var(--font); font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, filter 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg.i { width: 20px; height: 20px; }
.btn-accent {
  color: #fff;
  background: linear-gradient(180deg, var(--ember-450), var(--ember-500));
  box-shadow: 0 10px 24px -8px rgba(226, 80, 20, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-accent:hover { filter: brightness(1.06); }
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn-glass .wa-icon { color: #6ee7a0; }
.btn-whatsapp { color: var(--wa-text); background: var(--wa-fill); }
.btn-whatsapp:hover { background: var(--wa-fill-strong); }

/* Cover */
.cover-section { padding-top: 12px; }
.cover {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; gap: 8px; align-items: center;
  padding: 24px 22px 30px;
  border-radius: var(--radius-xl);
  color: #fff6ef;
  background:
    radial-gradient(70% 45% at 50% 22%, rgba(255, 106, 26, 0.5), transparent 70%),
    radial-gradient(60% 50% at 0% 105%, rgba(214, 48, 30, 0.45), transparent 70%),
    radial-gradient(50% 35% at 100% 0%, rgba(255, 179, 71, 0.28), transparent 70%),
    linear-gradient(160deg, var(--ember-800) 0%, var(--ember-900) 55%, var(--ember-950) 100%);
  box-shadow: 0 30px 60px -28px rgba(140, 35, 10, 0.55);
}
.cover::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.cover-logo {
  order: -1; justify-self: center;
  width: min(62vw, 250px);
  filter: drop-shadow(0 18px 36px rgba(255, 90, 20, 0.35));
}
.cover-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 6px 12px 6px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ember-100); font-size: 13px; font-weight: 600; letter-spacing: 0;
}
.cover-kicker svg.i { width: 15px; height: 15px; color: var(--ember-200); }
.cover h1 {
  margin: 0;
  font-size: clamp(38px, 7.4vw, 68px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800;
  text-wrap: balance;
}
.cover h1 span {
  background: linear-gradient(180deg, #ffd27a 10%, #ff7a2a 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cover .lead {
  margin: 18px 0 0; max-width: 52ch;
  color: rgba(255, 236, 222, 0.8); font-size: clamp(17px, 2vw, 19px);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

@media (min-width: 860px) {
  .cover {
    grid-template-columns: 1.15fr 0.85fr; gap: 32px;
    min-height: 540px; padding: 56px 48px 56px 60px;
    background:
      radial-gradient(45% 65% at 78% 45%, rgba(255, 106, 26, 0.55), transparent 70%),
      radial-gradient(45% 60% at 8% 110%, rgba(214, 48, 30, 0.45), transparent 70%),
      radial-gradient(35% 45% at 98% 0%, rgba(255, 179, 71, 0.3), transparent 70%),
      linear-gradient(155deg, var(--ember-800) 0%, var(--ember-900) 55%, var(--ember-950) 100%);
  }
  .cover-logo { order: 0; width: 100%; max-width: 440px; }
}

/* Rising embers */
.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.embers i {
  position: absolute; bottom: -12px; left: var(--x);
  width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%;
  background: #ffc066; box-shadow: 0 0 10px 2px rgba(255, 130, 40, 0.75);
  opacity: 0;
  animation: rise var(--d, 10s) linear var(--delay, 0s) infinite;
}
@keyframes rise {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translate(var(--drift, 24px), -620px) scale(0.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .embers { display: none; } }

/* Widgets */
.widgets { padding-top: 12px; }
.widget-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 860px) { .widget-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.widget {
  display: flex; flex-direction: column;
  min-height: 140px; padding: 16px 18px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--card-shadow);
}
.w-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: auto; border-radius: 11px;
  background: var(--tint-fill); color: var(--tint);
}
.w-icon svg.i { width: 19px; height: 19px; }
.widget strong {
  margin-top: 16px;
  font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 32px); line-height: 1.05;
  letter-spacing: -0.035em; font-weight: 800;
}
.widget span:last-child { margin-top: 4px; color: var(--label-2); font-size: 14px; line-height: 1.3; letter-spacing: -0.005em; }
.widget-hot {
  color: #fff;
  background: radial-gradient(90% 80% at 100% 0%, rgba(255, 179, 71, 0.45), transparent 60%), linear-gradient(150deg, #e2561a, #9a2410);
  box-shadow: 0 16px 32px -16px rgba(200, 60, 15, 0.7);
}
.widget-hot .w-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.widget-hot span:last-child { color: rgba(255, 242, 234, 0.88); }

/* Sections */
.section { padding-top: 64px; }
.section-head { margin-bottom: 20px; }
.section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 42px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800;
}
.section-head p { margin: 8px 0 0; max-width: 60ch; color: var(--label-2); }

.card {
  padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--card-shadow);
}
.card p { margin: 0 0 14px; }
.card p:last-child { margin-bottom: 0; }

/* Category chips */
.chips {
  display: flex; gap: 8px; overflow-x: auto;
  margin: 0 -16px 20px; padding: 2px 16px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chips[hidden] { display: none; }
.chip {
  flex: none; padding: 9px 16px; border: 0; border-radius: 999px;
  background: var(--fill-strong); color: var(--label);
  font: 600 15px/1.2 var(--font); letter-spacing: -0.01em;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.chip:active { transform: scale(0.96); }
.chip[aria-pressed="true"] { background: var(--ember-500); color: #fff; }

/* Inset grouped lists */
.list {
  margin: 0; padding: 0; list-style: none; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--card-shadow);
}

/* Apps */
.app-groups { display: grid; gap: 28px; }
@media (min-width: 920px) { .app-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; align-items: start; } }
.app-groups.is-filtered { grid-template-columns: minmax(0, 720px); }
.app-group h3 {
  display: flex; align-items: baseline; gap: 8px;
  margin: 0 0 10px 6px;
  font-size: 21px; font-weight: 700; letter-spacing: -0.025em;
}
.app-group h3 small { color: var(--label-3); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.app-row { position: relative; display: flex; gap: 14px; padding: 16px; }
.app-row + .app-row::before {
  content: ""; position: absolute; top: 0; left: 90px; right: 0;
  height: 1px; background: var(--separator);
}
.app-icon {
  flex: none; width: 60px; height: 60px; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--separator), 0 4px 10px rgba(60, 20, 10, 0.1);
}
@supports (corner-shape: squircle) {
  .app-icon { corner-shape: squircle; border-radius: 30%; }
}
.app-body { min-width: 0; }
.app-body h4 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.022em; }
.app-body p { margin: 2px 0 10px; color: var(--label-2); font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: var(--tint-fill); color: var(--tint);
  font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.pill:hover { background: var(--tint-fill-strong); }
.pill:active { transform: scale(0.96); }

/* About */
.about-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.facts { margin: 0; }
.facts div { position: relative; padding: 15px 20px; }
.facts div + div::before {
  content: ""; position: absolute; top: 0; left: 20px; right: 0;
  height: 1px; background: var(--separator);
}
.facts dt { color: var(--label-2); font-size: 13px; font-weight: 500; }
.facts dd { margin: 2px 0 0; font-weight: 600; letter-spacing: -0.015em; }

/* Contact: settings-style rows */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.25fr 1fr; align-items: start; } }
.contact-side { display: grid; gap: 16px; align-content: start; }
.row {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 66px; padding: 12px 16px; color: var(--label);
  transition: background-color 0.15s ease;
}
a.row:hover { background: var(--fill); }
a.row:active { background: var(--fill-strong); }
.list li + li .row::before {
  content: ""; position: absolute; top: 0; left: 66px; right: 0;
  height: 1px; background: var(--separator);
}
.ico {
  flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.ico svg.i { width: 20px; height: 20px; }
.tone-orange { background: linear-gradient(180deg, #ff9047, #e2561a); }
.tone-amber { background: linear-gradient(180deg, #ffc35c, #ef8a16); }
.tone-maroon { background: linear-gradient(180deg, #7a3424, #4a140c); }
.tone-red { background: linear-gradient(180deg, #f0592a, #b8300e); }
.tone-gold { background: linear-gradient(180deg, #ffd27a, #e0901a); }
.tone-ember { background: linear-gradient(180deg, #d8452a, #8f1d10); }
.tone-green { background: linear-gradient(180deg, #34d27a, #159447); }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-label { color: var(--label-2); font-size: 13px; font-weight: 500; }
.row-value { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.chev { flex: none; color: var(--label-3); }
.chev svg.i { width: 16px; height: 16px; stroke-width: 2.4; }

.help-card {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px; border-radius: var(--radius-lg); color: #fff6ef;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 140, 50, 0.45), transparent 70%),
    linear-gradient(160deg, var(--ember-800), var(--ember-950));
  box-shadow: inset 0 0 0 1px rgba(255, 220, 200, 0.08), 0 20px 40px -24px rgba(140, 35, 10, 0.6);
}
.help-card h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.help-card p { margin: 6px 0 18px; color: rgba(255, 236, 222, 0.8); font-size: 15px; }
.help-card .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Services */
.service-grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.service {
  display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--card-shadow);
}
.service .ico { width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; box-shadow: 0 8px 18px -8px rgba(200, 60, 15, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.service .ico svg.i { width: 24px; height: 24px; }
.service h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
.service p { margin: 6px 0 18px; color: var(--label-2); font-size: 15px; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 11px; border-radius: 999px; background: var(--fill-strong); color: var(--label-2); font-size: 13px; font-weight: 600; letter-spacing: 0; }

/* How we work */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.step { padding: 20px 22px 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--card-shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%;
  background: var(--tint-fill); color: var(--tint); font-family: var(--font-display); font-size: 17px; font-weight: 800;
}
.step h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin: 6px 0 0; color: var(--label-2); font-size: 15px; line-height: 1.45; }
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px;
  margin-top: 16px; padding: 24px 26px; border-radius: var(--radius-lg); color: #fff6ef;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(255, 140, 50, 0.5), transparent 70%),
    linear-gradient(150deg, var(--ember-800), var(--ember-950));
  box-shadow: inset 0 0 0 1px rgba(255, 220, 200, 0.08), 0 20px 40px -24px rgba(140, 35, 10, 0.6);
}
.cta-band h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { margin: 4px 0 0; color: rgba(255, 236, 222, 0.8); font-size: 15px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Project form */
.form-card { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--card-shadow); }
@media (min-width: 720px) { .form-card { padding: 24px; } }
.field-group { overflow: hidden; margin-bottom: 18px; border-radius: var(--radius-md); background: var(--fill); }
.field { position: relative; display: flex; flex-direction: column; padding: 10px 16px 8px; transition: box-shadow 0.15s ease; }
.field + .field::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 0;
  height: 1px; background: var(--separator);
}
.field:focus-within { box-shadow: inset 0 0 0 2px var(--ember-300); }
.field label, .needs legend { color: var(--label-2); font-size: 13px; font-weight: 500; }
.field label span { color: var(--label-3); }
.field input, .field select, .field textarea {
  width: 100%; margin: 0; padding: 3px 0 2px; border: 0; border-radius: 0;
  background: transparent; color: var(--label);
  font: 17px/1.4 var(--font); letter-spacing: -0.012em;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; }
.field ::placeholder { color: var(--label-3); }
.field textarea { min-height: 120px; resize: vertical; }
.field-select select { padding-right: 28px; cursor: pointer; }
.field-select select option { color: initial; }
.field-select svg.i {
  position: absolute; right: 16px; bottom: 12px;
  width: 16px; height: 16px; stroke-width: 2.4; color: var(--label-3);
  transform: rotate(90deg); pointer-events: none;
}
.needs { margin: 0 0 18px; padding: 0; border: 0; }
.needs legend { margin: 0 0 10px; padding: 0 0 0 4px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.check-chip span {
  display: inline-flex; padding: 9px 15px; border-radius: 999px;
  background: var(--fill-strong); color: var(--label);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.check-chip input:checked + span { background: var(--ember-500); color: #fff; }
.check-chip input:focus-visible + span { outline: 3px solid var(--ember-300); outline-offset: 2px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form-note { flex: 1 1 100%; margin: 0; color: var(--label-2); font-size: 14px; line-height: 1.4; }
.form-status { margin: 0; color: var(--label-2); font-size: 14px; }
.form-status:not(:empty) { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--tint-fill); color: var(--label); }
@media (max-width: 519px) { .form-foot .btn { width: 100%; } }

/* Footer */
.site-footer { padding: 64px 0 36px; color: var(--label-2); font-size: 14px; }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding-top: 24px; border-top: 1px solid var(--separator);
}
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer nav a { padding: 6px 12px; border-radius: 999px; background: var(--fill); color: var(--label); font-weight: 600; }
.site-footer nav a:hover { background: var(--fill-strong); }

/* Privacy policy */
.doc { padding-top: 12px; }
.doc article {
  max-width: 820px; margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--surface); box-shadow: var(--card-shadow);
}
.doc-badge {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 18px; border-radius: 15px; color: #fff;
  background: linear-gradient(180deg, #f0592a, #b8300e);
  box-shadow: 0 10px 20px -8px rgba(200, 60, 15, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.doc-badge svg.i { width: 28px; height: 28px; }
.doc h1 { margin: 0; font-size: clamp(34px, 5.4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 800; }
.doc .updated { margin: 8px 0 28px; color: var(--label-2); }
.doc h2 { margin: 36px 0 8px; font-size: 22px; letter-spacing: -0.025em; }
.doc p, .doc li { color: var(--label); }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
.doc a:hover { text-decoration-color: currentColor; }
