:root {
  --sage: #f3f5f1;
  --sage-2: #e5e9e2;
  --paper: #ffffff;
  --ink: #1b2a1e;
  --ink-soft: #4a5a4e;
  --muted: #7a877e;
  --rose: #e11d48;
  --rose-soft: rgba(225, 29, 72, 0.12);
  --dock: #0b3d2e;
  --dock-soft: rgba(11, 61, 46, 0.1);
  --gold: #c4a35a;
  --gold-soft: rgba(196, 163, 90, 0.16);
  --line: #d5dbd3;
  --shadow: 0 18px 44px rgba(27, 42, 30, 0.1);
  --radius: 14px;
  --radius-sm: 9px;
  --font-display: "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, monospace;
  --container: 1100px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--sage);
  color: var(--ink);
  line-height: 1.65;
  background-image:
    radial-gradient(circle at 12% 0%, rgba(225, 29, 72, 0.05), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(11, 61, 46, 0.06), transparent 32%);
}

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

address {
  font-style: normal;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

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

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.logo span {
  color: var(--rose);
}

.nav {
  display: flex;
  gap: 1.3rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav a:hover,
.nav a.active {
  color: var(--dock);
}

.header__end {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

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

.nav--mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav--mobile.open {
  display: flex;
}

.nav--mobile a {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav--mobile a.active,
.nav--mobile a:hover {
  background: var(--rose-soft);
  color: var(--rose);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn--rose {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.28);
}

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

.btn--dock {
  background: var(--dock);
  color: #fff;
}

.btn--lg {
  padding: 0.88rem 1.4rem;
  font-size: 0.98rem;
}

/* Hero dock */
.hero-dock {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--nav-h));
  border-bottom: 1px solid var(--line);
}

.hero-dock__copy {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}

.hero-dock__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 13ch;
  margin-bottom: 1.1rem;
}

.hero-dock__copy h1 em {
  font-style: normal;
  color: var(--dock);
}

.hero__text {
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 34rem;
  margin-bottom: 1.45rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.note-line {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 34rem;
  border-left: 3px solid var(--gold);
  padding-left: 0.85rem;
}

.hero-dock__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    linear-gradient(160deg, rgba(11, 61, 46, 0.9), rgba(27, 42, 30, 0.96)),
    var(--dock);
  position: relative;
  overflow: hidden;
}

.hero-dock__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 46px,
    rgba(255, 255, 255, 0.04) 46px,
    rgba(255, 255, 255, 0.04) 47px
  );
}

.dock-board {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  animation: dock-in 0.75s ease both;
}

@keyframes dock-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.dock-board__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #fff;
}

.dock-board__bar strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.dock-board__bar span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.dock-slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  margin-bottom: 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.dock-slot:last-child {
  margin-bottom: 0;
}

.dock-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(196, 163, 90, 0.2);
  animation: pin-pulse 2.2s ease-in-out infinite;
}

.dock-slot:nth-child(3) .dock-pin {
  background: #fb7185;
  animation-delay: 0.25s;
}

.dock-slot:nth-child(4) .dock-pin {
  background: #86efac;
  animation-delay: 0.5s;
}

.dock-slot:nth-child(5) .dock-pin {
  background: rgba(255, 255, 255, 0.45);
  animation-delay: 0.75s;
}

@keyframes pin-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.dock-slot strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.1rem;
}

.dock-slot small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.dock-slot__state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dock {
  background: var(--dock);
  color: #fff;
}

.section--dock .eyebrow {
  color: #fda4af;
}

.section--dock .section-title {
  color: #fff;
}

.section--dock .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 16ch;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 40rem;
  margin-bottom: 2rem;
}

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

.pin-card {
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.pin-card::after {
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.pin-card:nth-child(2)::after {
  background: var(--rose);
}

.pin-card:nth-child(3)::after {
  background: var(--dock);
}

.section--dock .pin-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.section--dock .pin-card h3 {
  color: #fff;
}

.section--dock .pin-card p {
  color: rgba(255, 255, 255, 0.7);
}

.pin-card__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.section--dock .pin-card__code {
  color: rgba(255, 255, 255, 0.5);
}

.pin-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.pin-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.rail-step {
  padding: 1.4rem 1.2rem;
  border-right: 1px solid var(--line);
}

.rail-step:last-child {
  border-right: 0;
}

.rail-step__n {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--rose);
  margin-bottom: 0.65rem;
}

.rail-step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.rail-step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.feat-list {
  display: grid;
  gap: 0.65rem;
}

.feat-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.feat-row__id {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose);
}

.feat-row h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.feat-row p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: center;
}

.list {
  list-style: none;
  margin-top: 1rem;
}

.list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.35rem;
  color: var(--ink-soft);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose);
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.panel-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.panel-row strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.75rem 1.9rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.cta-band .btn--line {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
}

.page-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 1rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 15ch;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 38rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
}

.info-stack {
  display: grid;
  gap: 0.7rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.15rem;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info-card a,
.info-card p,
.info-card address {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--sage);
  color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--rose-soft);
  border-color: var(--rose);
}

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

.legal {
  max-width: 720px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.7rem 0 0.5rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  margin-bottom: 0.65rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin-bottom: 0.75rem;
}

.legal a {
  color: var(--rose);
  text-decoration: underline;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.5rem 0 1.25rem;
}

.footer .logo {
  color: #fff;
}

.footer .logo span {
  color: #fda4af;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__note {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  max-width: 30ch;
}

.footer__col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer__col a:hover {
  color: #fff;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  gap: 1rem;
}

.cookie-pill {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 520px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.35s ease;
}

.cookie-pill.show {
  opacity: 1;
  transform: none;
}

.cookie-pill p {
  flex: 1 1 220px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.cookie-pill a {
  color: var(--rose);
  text-decoration: underline;
}

.cookie-pill__btns {
  display: flex;
  gap: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal--left {
  transform: translateX(-18px);
}

.reveal--right {
  transform: translateX(18px);
}

.reveal--up {
  transform: translateY(16px);
}

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

@media (max-width: 960px) {
  .nav,
  .header__end .btn--line {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-dock,
  .pin-grid,
  .rail,
  .split,
  .contact-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero-dock {
    min-height: auto;
  }

  .rail-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rail-step:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .feat-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .cta-band {
    padding: 1.3rem;
  }
}
