/* ==========================================================================
   ziseposolution — storefront build practice
   Design language taken from the reference site (duda.co) with getComputedStyle:
   warm paper #f9f7f5, ink #161111, coral #f07c5a, pale blue #c1e5f6,
   geometric display type + humanist sans body, 12–16px rounded controls.
   ========================================================================== */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --paper: #f9f7f5;
  --paper-2: #f0eeec;
  --paper-3: #e7e3df;
  --ink: #161111;
  --ink-2: #211d1c;
  --ink-soft: #4d4a4a;
  --muted: #6f6a68;
  --coral: #f07c5a;
  --coral-deep: #d95f3c;
  --coral-soft: #f9d9ce;
  --blue: #c1e5f6;
  --blue-soft: #eaf6fc;
  --white: #ffffff;
  --line: rgba(22, 17, 17, 0.14);
  --line-light: rgba(249, 247, 245, 0.18);
  --error: #a3231b;
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-sans: "Source Sans 3", "Helvetica Neue", Arial, system-ui, sans-serif;
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 52px);
  --header-h: 74px;
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.label-light {
  color: rgba(249, 247, 245, 0.62);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--coral);
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn-solid {
  background: var(--coral);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--coral-deep);
}

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: var(--ink-2);
}

.btn-coral {
  background: var(--coral);
  color: var(--ink);
}

.btn-coral:hover {
  background: var(--coral-deep);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
  border-radius: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.5px solid var(--coral);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.text-link:hover {
  color: var(--coral-deep);
  border-color: var(--coral-deep);
}

.text-link-light {
  color: var(--paper);
  border-color: var(--coral);
}

.text-link-light:hover {
  color: var(--coral);
}

.inline-link {
  color: var(--ink);
  border-bottom: 1px solid var(--coral);
}

.inline-link:hover {
  color: var(--coral-deep);
}

/* Header ------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(249, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--coral);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  border-color: var(--coral);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* Hero --------------------------------------------------------------------- */

.hero {
  padding-top: clamp(44px, 6vw, 84px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  margin-top: 22px;
}

.hero-lede {
  max-width: 520px;
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-figure {
  margin: 0;
}

.browser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px rgba(22, 17, 17, 0.1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-3);
}

.browser-bar span:first-child {
  background: var(--coral);
}

.frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.browser .frame {
  border-radius: 0;
}

.frame img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top center;
}

.frame-tall img {
  aspect-ratio: 1440 / 1000;
}

.frame-phone img {
  aspect-ratio: 780 / 1350;
}

.hero-figure figcaption,
.about-figure figcaption,
.case figcaption,
.work-item figcaption,
.device figcaption {
  font-size: 13px;
  color: var(--muted);
}

.hero-figure figcaption {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.hero-figure figcaption span,
.about-figure figcaption span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

/* Meta strip (static index, not a marquee) --------------------------------- */

.meta-strip {
  margin-top: clamp(44px, 6vw, 76px);
  background: var(--blue);
}

.meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.meta-cell {
  padding: 26px 26px 26px 0;
}

.meta-cell + .meta-cell {
  padding-left: 26px;
  border-left: 1px solid rgba(22, 17, 17, 0.16);
}

.meta-cell .label {
  color: rgba(22, 17, 17, 0.62);
}

.meta-cell p {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

/* Sections ----------------------------------------------------------------- */

.section {
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-panel {
  background: var(--paper-2);
}

.section-blue {
  background: var(--blue-soft);
}

.section-ink {
  background: var(--ink);
  color: var(--paper);
}

.section-ink h2,
.section-ink h3 {
  color: var(--paper);
}

.section-ink .split-note,
.section-ink .index-list p {
  color: rgba(249, 247, 245, 0.66);
}

.section-ink .index {
  color: rgba(249, 247, 245, 0.62);
}

.section-head {
  margin-bottom: 44px;
}

.section-head h2 {
  margin-top: 14px;
  max-width: 820px;
}

.section-head-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 20px 48px;
  align-items: end;
}

.section-head-wide .label {
  grid-column: 1 / -1;
}

.section-head-wide h2 {
  margin-top: 0;
}

.section-note {
  font-size: 15.5px;
  color: var(--muted);
  max-width: 420px;
  justify-self: end;
}

.fine-print {
  margin-top: 30px;
  font-size: 13px;
  color: var(--muted);
}

/* Ownership ---------------------------------------------------------------- */

.ownership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ownership-item {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.index-coral {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 7px;
  background: var(--coral-soft);
  color: var(--ink);
}

.ownership-item h3 {
  margin-top: 16px;
}

.ownership-item p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Split layouts ------------------------------------------------------------ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.split-wide {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.split-aside h2 {
  margin-top: 14px;
}

.split-note {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 400px;
}

.split-aside .text-link {
  margin-top: 24px;
}

.index-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.index-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.section-ink .index-list li {
  border-color: var(--line-light);
}

.index-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.section-ink .index-list li:last-child {
  border-bottom-color: var(--line-light);
}

.index-list h3 {
  font-size: 19px;
}

.index-list p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}

/* Feature grid ------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: var(--coral);
}

.feature h3 {
  margin-top: 12px;
  font-size: 17px;
}

.feature p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Cases -------------------------------------------------------------------- */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 44px 34px;
}

.case {
  margin: 0;
}

.case:nth-child(even) {
  margin-top: 40px;
}

.case .frame {
  border: 1px solid var(--line);
}

.case figcaption {
  padding-top: 18px;
}

.case h3 {
  margin-top: 8px;
  font-size: 23px;
}

.case p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.section-link {
  margin-top: 44px;
}

/* Devices ------------------------------------------------------------------ */

.devices {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.62fr;
  gap: 26px;
  align-items: end;
}

.device {
  margin: 0;
}

.device .screen {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(22, 17, 17, 0.08);
}

.device .screen img {
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: cover;
  object-position: top center;
}

.device-tablet .screen {
  border-radius: 16px;
}

.device-tablet .screen img {
  aspect-ratio: 1024 / 820;
}

.device-phone .screen {
  border-radius: 22px;
  border: 5px solid var(--ink);
}

.device-phone .screen img {
  aspect-ratio: 780 / 1688;
}

.device figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  font-size: 13px;
}

.device figcaption .label {
  color: var(--ink);
}

/* CTA band ----------------------------------------------------------------- */

.cta-band {
  background: var(--coral);
  padding: clamp(48px, 6vw, 76px) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-band .label {
  color: rgba(22, 17, 17, 0.78);
}

.cta-band h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 40px);
}

/* Page head ---------------------------------------------------------------- */

.page-head {
  padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px);
}

.page-head h1 {
  margin-top: 20px;
}

.page-lede {
  max-width: 680px;
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
}

.about-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px 48px;
  align-items: end;
}

.about-head h1 {
  font-size: clamp(36px, 4.5vw, 58px);
}

/* Plans -------------------------------------------------------------------- */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan-head h2 {
  margin-top: 14px;
  font-size: 28px;
}

.plan-head p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

.plan-for {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.plan-for .label {
  display: block;
  margin-bottom: 4px;
}

.plan-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--coral);
}

.plan .text-link {
  margin-top: 24px;
  align-self: flex-start;
}

/* Process ------------------------------------------------------------------ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.process li .index {
  color: var(--coral-deep);
}

.process h3 {
  margin-top: 12px;
  font-size: 20px;
}

.process p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}

/* FAQ ---------------------------------------------------------------------- */

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary i {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
}

.faq summary i::after {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary i::after {
  transform: rotate(0deg);
}

.faq details p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 640px;
}

/* Traits ------------------------------------------------------------------- */

.trait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.trait {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.trait h3 {
  margin-top: 12px;
  font-size: 18px;
}

.trait p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

/* Registry ----------------------------------------------------------------- */

.registry {
  margin: 0;
  border-top: 1px solid var(--line);
}

.registry > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.registry dt {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.registry dd {
  margin: 0;
  font-size: 15.5px;
}

.about-body h2 {
  margin-top: 14px;
}

.about-body p {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Work --------------------------------------------------------------------- */

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.filter:hover {
  border-color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.work-count {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 34px;
}

.work-item {
  margin: 0;
}

.work-item .frame {
  border: 1px solid var(--line);
}

.work-item h2 {
  margin-top: 8px;
  font-size: 23px;
}

.work-item p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.work-item figcaption {
  padding-top: 16px;
}

/* Contact ------------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.optional {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.4;
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240, 124, 90, 0.24);
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--error);
}

.field-error {
  font-size: 13px;
  color: var(--error);
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.form-foot .fine-print {
  margin-top: 0;
  max-width: 330px;
}

.success-panel {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.success-panel h2 {
  margin-top: 12px;
}

.success-panel p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.success-panel .text-link {
  margin-top: 22px;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.side-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.side-block p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.side-block > .label {
  display: block;
}

.side-email {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  border-bottom: 1.5px solid var(--coral);
}

.steps-mini {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.steps-mini li {
  margin-bottom: 7px;
}

.side-block-accent {
  padding: 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
}

.side-block-accent .label {
  color: rgba(22, 17, 17, 0.72);
}

.side-note {
  font-size: 14px;
}

.subscribe {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(22, 17, 17, 0.24);
  border-radius: 9px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
}

.notice {
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Legal -------------------------------------------------------------------- */

.legal-grid {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.legal-index {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 6px;
}

.legal-index .label {
  margin-bottom: 6px;
}

.legal-index a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

.legal-index a:hover {
  color: var(--ink);
}

.legal-body {
  max-width: 760px;
}

.legal-body section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-body h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.legal-body p {
  margin-bottom: 11px;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.legal-body ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-switch {
  font-size: 14px;
  color: var(--muted);
}

/* 404 ---------------------------------------------------------------------- */

.notfound {
  padding: clamp(70px, 10vw, 140px) 0;
}

.notfound h1 {
  margin-top: 20px;
  max-width: 760px;
}

.notfound .page-lede {
  margin-bottom: 30px;
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(56px, 7vw, 86px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(34px, 6vw, 90px);
  padding-bottom: clamp(44px, 6vw, 68px);
}

.footer-lead h2 {
  color: var(--paper);
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
}

.footer-note {
  margin-top: 18px;
  max-width: 380px;
  font-size: 15px;
  color: rgba(249, 247, 245, 0.64);
}

.footer-lead .btn {
  margin-top: 26px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-content: start;
  padding-top: 6px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col .label {
  margin-bottom: 6px;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(249, 247, 245, 0.78);
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-registry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 28px;
  align-items: baseline;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line-light);
  font-size: 12.5px;
  color: rgba(249, 247, 245, 0.56);
}

.footer-legal-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.footer-domain {
  text-align: right;
}

/* Reveal ------------------------------------------------------------------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive --------------------------------------------------------------- */

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

  .hero-figure {
    max-width: 820px;
  }

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

  .plan-grid,
  .ownership-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .split-wide,
  .contact-grid,
  .about-head {
    grid-template-columns: 1fr;
  }

  .split-note {
    max-width: 640px;
  }

  .section-head-wide {
    grid-template-columns: 1fr;
  }

  .section-note {
    justify-self: start;
    max-width: 560px;
  }

  .devices {
    grid-template-columns: 1.4fr 1fr 0.6fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .legal-index {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .legal-index .label {
    width: 100%;
    margin-bottom: 2px;
  }
}

@media (max-width: 860px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 18px var(--gutter) 26px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 17, 17, 0.08);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

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

  .meta-cell {
    padding: 20px 18px 20px 0;
  }

  .meta-cell + .meta-cell {
    padding-left: 18px;
  }

  .meta-cell:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .meta-cell:nth-child(n + 3) {
    border-top: 1px solid rgba(22, 17, 17, 0.16);
  }

  .case-grid,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case:nth-child(even) {
    margin-top: 0;
  }

  .devices {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .device-phone {
    grid-column: 1 / -1;
    max-width: 220px;
  }

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

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }

  .footer-registry {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-domain {
    text-align: left;
  }

  .form-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .header-end .btn {
    display: none;
  }

  .hero-lede,
  .page-lede {
    font-size: 16.5px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .field-row {
    grid-template-columns: 1fr;
  }

  .registry > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .work-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .device-laptop,
  .device-tablet,
  .device-phone {
    grid-column: auto;
    max-width: 100%;
  }

  .device-phone {
    max-width: 210px;
  }

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

  .subscribe {
    flex-direction: column;
  }
}
