/* Woodkraft home page: dark, minimal, premium. Inter is self-hosted (site/fonts, SIL Open Font License); nothing loads from other sites. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0a0b0f;
  --bg-2: #0e1016;
  --surface: #13161d;
  --surface-2: #191d26;
  --line: rgb(255 255 255 / 8%);
  --line-2: rgb(255 255 255 / 14%);
  --text: #f5f2ec;
  --text-2: #c9c6bf;
  --muted: #8e929c;
  --gold: #f4a21b;
  --gold-2: #ffcb6b;
  --gold-soft: rgb(244 162 27 / 12%);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The trade behind the page: tools, joints and joinery in one faint line, as in the app. */
body::before {
  content: '';
  z-index: -1;
  pointer-events: none;
  background: var(--text);
  opacity: 0.045;
  -webkit-mask: url('doodles.svg') 0 0 / 960px 960px;
  mask: url('doodles.svg') 0 0 / 960px 960px;
}

body::before {
  position: fixed;
  inset: 0;
}

@media (max-width: 720px) {
  body::before {
    -webkit-mask-size: 720px 720px;
    mask-size: 720px 720px;
  }
}

@media print {
  body::before {
    display: none;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgb(244 162 27 / 35%);
  color: #fff;
}

.wrap {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons: pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill:active {
  transform: translateY(0);
}

.pill.small {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.pill.large {
  height: 54px;
  padding: 0 28px;
  font-size: 16px;
}

.pill.block {
  width: 100%;
}

.pill.light {
  background: linear-gradient(180deg, #ffffff, #e9e6df);
  color: #0a0b0f;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 20%), 0 10px 30px -10px rgb(255 255 255 / 35%);
}

.pill.light:hover {
  box-shadow: 0 0 0 1px rgb(255 255 255 / 30%), 0 14px 40px -10px rgb(255 255 255 / 45%);
}

.pill.gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #120c03;
  box-shadow: 0 10px 30px -10px rgb(244 162 27 / 60%);
}

.pill.ghost {
  border-color: var(--line-2);
  background: rgb(255 255 255 / 3%);
  color: var(--text);
}

.pill.ghost:hover {
  border-color: rgb(255 255 255 / 28%);
  background: rgb(255 255 255 / 6%);
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.scrolled .nav {
  border-bottom-color: var(--line);
  background: rgb(10 11 15 / 72%);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.nav-row {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgb(255 255 255 / 5%);
}

.nav-cta {
  display: flex;
  gap: 8px;
}

/* ---------- Type ---------- */

.kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.display {
  display: grid;
  font-size: clamp(44px, 8.4vw, 128px);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.display.small {
  font-size: clamp(38px, 6.4vw, 92px);
}

.glow {
  background: linear-gradient(100deg, #fff6e4 0%, var(--gold-2) 30%, var(--gold) 55%, #ffd894 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgb(244 162 27 / 35%));
  padding-bottom: 0.06em;
}

.head {
  max-width: 760px;
  margin-bottom: 48px;
}

.head.center {
  margin-inline: auto;
  text-align: center;
}

.head h2,
.split h2,
.faq-grid h2 {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.head p,
.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.6;
}

.fine {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  z-index: -1;
  background:
    radial-gradient(40% 35% at 50% 18%, rgb(244 162 27 / 22%), transparent 70%),
    radial-gradient(30% 30% at 20% 30%, rgb(255 203 107 / 8%), transparent 70%),
    radial-gradient(30% 30% at 80% 30%, rgb(120 90 255 / 7%), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
}

.hero-grid {
  display: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 30%, #000 20%, transparent 75%);
}

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 7px 16px 7px 12px;
  border: 1px solid rgb(244 162 27 / 40%);
  border-radius: 999px;
  background: rgb(244 162 27 / 8%);
  color: #ffd99a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(244 162 27 / 20%);
}

.hero-sub {
  max-width: 660px;
  margin-top: 30px;
  color: var(--text-2);
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13.5px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.showcase {
  position: relative;
  margin-top: 80px;
  margin-bottom: 0;
}

.showcase::before {
  content: '';
  position: absolute;
  inset: 8% 10% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(244 162 27 / 28%), transparent);
  filter: blur(40px);
}

.showcase-frame {
  padding: 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 2%));
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / 90%);
  transform: perspective(1800px) rotateX(8deg) scale(0.98);
  transform-origin: 50% 0;
  transition: transform 1.2s var(--ease);
}

.showcase-frame img {
  border-radius: 20px;
  width: 100%;
}

.showcase.in-view .showcase-frame,
.showcase-frame:hover {
  transform: none;
}

/* Entrance: the hero rises in, one line after another. */
.rise {
  animation: rise 1s var(--ease) both;
}

.hero-inner .rise:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-inner .rise:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-inner .rise:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-inner .rise:nth-child(5) {
  animation-delay: 0.32s;
}

.showcase.rise {
  animation-delay: 0.42s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes breathe {
  from {
    opacity: 0.75;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ---------- Numbers ---------- */

.numbers {
  padding: 40px 0 10px;
}

.numbers-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.numbers-row > div {
  display: grid;
  gap: 4px;
  padding: 30px 24px;
}

.numbers-row > div + div {
  border-left: 1px solid var(--line);
}

.numbers strong {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 750;
  letter-spacing: -0.04em;
}

.numbers span {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 11vw, 150px) 0;
}

/* ---------- Product gallery ---------- */

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 28px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
}

.filters button {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.filters button:hover {
  color: var(--text);
}

.filters button.on {
  background: var(--surface-2);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}

.gallery {
  columns: 3 320px;
  column-gap: 18px;
}

.tile {
  break-inside: avoid;
  margin: 0 0 22px;
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease);
}

.tile[hidden] {
  display: none;
}

.tile-img {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tile-img img {
  width: 100%;
  transition: transform 0.8s var(--ease);
}

.tile:hover .tile-img img {
  transform: scale(1.035);
}

.tile figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px 0;
}

.tile figcaption strong {
  display: block;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.tile figcaption small {
  color: var(--muted);
  font-size: 13.5px;
}

.tile figcaption em {
  flex: none;
  padding: 3px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
}

/* ---------- How it works: the 3D story ---------- */

.story {
  position: relative;
  background: radial-gradient(50% 40% at 70% 45%, rgb(244 162 27 / 10%), transparent 70%), var(--bg);
}

.story-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.story-stage canvas {
  display: none;
  width: 100%;
  height: 100%;
}

.has-3d .story-stage canvas {
  display: block;
}

.story-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 100px var(--gutter) 40px 48%;
}

.story-fallback img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0.85;
}

.has-3d .story-fallback {
  display: none;
}

.story-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-labels .tag {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgb(19 22 29 / 86%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}

.story-labels .tag span {
  color: var(--gold-2);
  font-weight: 700;
}

.story-steps {
  position: relative;
  margin-top: -100vh;
  margin-top: -100svh;
  pointer-events: none;
}

.step {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 0 48px;
}

.step + .step {
  min-height: 120vh;
}

.step-card {
  max-width: 440px;
  padding: 30px 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: rgb(14 16 22 / 70%);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 30px 80px -40px rgb(0 0 0 / 80%);
  pointer-events: auto;
}

.step-card h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.step-card .step-title {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.step-card p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 15.5px;
}

.step-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.step-n {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
}

.price-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.price-list b {
  color: var(--gold-2);
}

/* ---------- Features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.features article {
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.features article:hover {
  background: rgb(255 255 255 / 2%);
}

.features svg {
  width: 26px;
  height: 26px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.features h3 {
  font-size: 18px;
  font-weight: 650;
}

.features p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Suppliers ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.ticks {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-2);
  font-size: 15.5px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4a21b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat,
    var(--gold-soft);
}

.order-card {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 40px 100px -40px rgb(244 162 27 / 30%);
}

.oc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
}

.oc-head b {
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.oc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgb(34 197 94 / 18%);
  animation: ping 2s ease-in-out infinite;
}

@keyframes ping {
  50% {
    box-shadow: 0 0 0 9px rgb(34 197 94 / 4%);
  }
}

.oc-row,
.oc-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14.5px;
}

.oc-total {
  color: var(--text);
  font-weight: 600;
}

.oc-total b {
  color: var(--gold-2);
  font-size: 18px;
}

.oc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.oc-steps span {
  padding: 8px 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.oc-steps .on {
  background: var(--gold-soft);
  color: var(--gold-2);
}

.order-card small {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  transition:
    border-color 0.3s,
    transform 0.3s var(--ease);
}

.plan:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.plan h3 {
  color: var(--text-2);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.plan .price {
  margin-top: 14px;
  font-size: 52px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan .price small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-for {
  min-height: 2.6em;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

.plan .ticks {
  margin: 20px 0 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 11px;
}

.plan .ticks li {
  font-size: 14.5px;
}

.plan .pill {
  margin-top: auto;
}

.plan.best {
  border-color: transparent;
  background:
    linear-gradient(180deg, #17140e, var(--bg-2)) padding-box,
    linear-gradient(160deg, var(--gold-2), rgb(244 162 27 / 30%) 45%, rgb(255 255 255 / 8%)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 40px 100px -40px rgb(244 162 27 / 45%);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #120c03;
  font-size: 12px;
  font-weight: 700;
}

.pay {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 13.5px;
}

.pay ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Two panels (sign up, download) ---------- */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}

.panel.gold-edge {
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(244 162 27 / 12%), transparent 70%),
    var(--bg-2);
  border-color: rgb(244 162 27 / 25%);
}

.panel-tag {
  margin-bottom: 18px;
  padding: 4px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 600;
}

.panel-ico {
  width: 30px;
  height: 30px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel h3 {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 700;
}

.panel > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
}

.steps {
  display: grid;
  gap: 8px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.steps li {
  position: relative;
  padding-left: 36px;
  color: var(--text-2);
  font-size: 14.5px;
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.panel .pill {
  margin-top: auto;
}

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.faq-grid .pill {
  margin-top: 26px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--gold);
}

.faq details p {
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Final call ---------- */

.finale {
  position: relative;
  padding: clamp(100px, 14vw, 190px) 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.finale-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(45% 55% at 50% 100%, rgb(244 162 27 / 22%), transparent 70%);
}

.finale .display {
  justify-items: center;
}

.finale p {
  margin-top: 26px;
  color: var(--text-2);
  font-size: 18px;
}

/* ---------- Made in Ghana ---------- */

.heritage {
  padding: 70px 0 90px;
  border-top: 1px solid var(--line);
}

.heritage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 40px;
  margin-bottom: 36px;
}

.heritage-head h2 {
  font-size: 24px;
  font-weight: 700;
}

.heritage-head p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

.symbols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.symbols figure {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sym {
  width: 30px;
  height: 30px;
  background: var(--gold);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}

.symbols figcaption {
  display: grid;
  color: var(--muted);
  font-size: 13px;
}

.symbols figcaption strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Footer ---------- */

.footer {
  padding: 70px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.foot-brand img {
  width: auto;
}

.foot-brand p {
  max-width: 340px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14.5px;
}

.foot-brand .addr a {
  color: var(--text-2);
}

.footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer h4 {
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer nav a {
  color: var(--muted);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer nav a:hover {
  color: var(--text);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- Reveal on scroll (site.js) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }

  .symbols {
    grid-template-columns: repeat(3, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .foot-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .numbers-row {
    grid-template-columns: 1fr 1fr;
  }

  .numbers-row > div:nth-child(3) {
    border-left: 0;
  }

  .numbers-row > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .features {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .faq-grid,
  .duo {
    grid-template-columns: 1fr;
  }

  .showcase-frame {
    transform: none;
  }

  .story-fallback {
    padding: 100px var(--gutter) 40px;
    align-items: end;
  }

  /* Phones: the 3D picture fills the screen; the text sits at the bottom. */
  .step {
    align-items: flex-end;
    padding-bottom: 28px;
  }

  .step-card {
    padding: 20px 22px;
  }

  .story-labels {
    display: none;
  }
}

@media (max-width: 600px) {
  .hide-sm {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .showcase {
    margin-top: 50px;
  }

  .showcase-frame {
    padding: 5px;
    border-radius: 16px;
  }

  .showcase-frame img {
    border-radius: 12px;
  }

  .hero-ctas .pill {
    width: 100%;
  }

  .filters {
    display: flex;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters button {
    flex: none;
    padding: 0 14px;
  }

  .features,
  .plans {
    grid-template-columns: 1fr;
  }

  .symbols {
    grid-template-columns: 1fr 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq details p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .showcase-frame {
    transform: none;
  }
}

/* Enterprise, the top plan: picked out with a gold edge. */
.plan.plan-top {
  border-color: #d4a017;
}
/* Each plan's Monthly / Annually switch, at the top of its card. */
.plan-switch {
  display: inline-flex;
  align-self: flex-start;
  gap: 2px;
  padding: 3px;
  margin-bottom: 12px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
}
.plan-switch button {
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
  opacity: 0.75;
  cursor: pointer;
}
.plan-switch button[aria-checked='true'] {
  background: #f4a21b;
  color: #111;
  opacity: 1;
  font-weight: 600;
}

/* Prices stay inside narrow plan cards: "from" on its own line, the figure never broken. */
.plan .price {
  font-size: clamp(30px, 2.7vw, 52px);
}
.plan .price .amount {
  white-space: nowrap;
}
.plan .price > small:first-child {
  display: block;
}
