/* ==========================================================================
   tooldukan — styles
   ========================================================================== */

:root {
  --bg: #0B1020;
  --bg-raised: #111A2E;
  --bg-panel: #0E1528;
  --bg-chrome: #16213A;
  --text: #F7F9FC;
  --text-2: #A7B2C7;
  --text-3: #6F7C95;
  --teal: #35D6B0;
  --teal-ink: #06231C;
  --blue: #779BFF;
  --lilac: #B39DF5;
  --border: #253149;
  --border-soft: #1A2440;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 48px -24px rgba(0, 0, 0, 0.6);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --section-y: clamp(72px, 10vw, 128px);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.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;
}

[hidden] { display: none !important; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--teal); color: var(--teal-ink);
  padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-2);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-2);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  max-width: 56ch;
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 720px; }

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

.btn {
  --btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--btn-bg);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary { --btn-bg: var(--teal); color: var(--teal-ink); }
.btn-primary:hover { --btn-bg: #5BE2C2; }

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

.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: #3A4A6C; background: rgba(255, 255, 255, 0.05); }

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

.btn.is-disabled,
.btn[aria-disabled="true"] {
  --btn-bg: transparent;
  color: var(--text-3);
  border-color: var(--border);
  border-style: dashed;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.text-link {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.16s, border-color 0.16s;
}
.text-link:hover { color: var(--teal); border-color: var(--teal); }

.setup-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.setup-note::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #C9A45A;
  flex: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 16, 32, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); }

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

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 24px; height: 24px; color: var(--teal); flex: none; }
.brand-word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-transform: lowercase;
}

.site-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 28px; }
.nav-list a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.16s;
}
.nav-list a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-icon { position: relative; width: 18px; height: 12px; display: block; }
.menu-icon span {
  position: absolute; left: 0; width: 100%; height: 1.6px; border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}
.menu-icon span:first-child { top: 2px; }
.menu-icon span:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 5.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 5.5px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.7);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 17px;
    color: var(--text);
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-cta { min-height: 46px; }
}

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

.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero-title .hl { color: var(--teal); }

.hero-lead {
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  color: var(--text-2);
  max-width: 46ch;
}

.hero-copy .btn-row { margin-top: 36px; }

.hero-attrs {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--text-2);
}
.hero-attrs li { display: inline-flex; align-items: center; gap: 8px; }
.hero-attrs svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* Hero illustration — every size is in container units so it scales as one picture */
.hero-art { container-type: inline-size; width: 100%; }
.ha-stage { position: relative; width: 100%; aspect-ratio: 1; }

.ha-win {
  position: absolute;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 2.2cqw;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ha-titlebar {
  display: flex;
  align-items: center;
  gap: 1cqw;
  height: 6.4cqw;
  padding: 0 2.2cqw;
  background: var(--bg-chrome);
  border-bottom: 1px solid var(--border);
  font-size: 2.1cqw;
  font-weight: 600;
  color: var(--text-2);
}
.ha-titlebar i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #2E3B5A; flex: none; }
.ha-titlebar span { margin-left: 1.4cqw; letter-spacing: -0.01em; }
.ha-export {
  margin-left: auto;
  font-style: normal;
  font-size: 1.8cqw;
  padding: 0.6cqw 1.6cqw;
  border-radius: 1cqw;
  background: var(--teal);
  color: var(--teal-ink);
}

.ha-library { left: 0; top: 0; width: 54%; height: 42%; background: var(--bg-raised); }
.ha-lib-body { padding: 2cqw; display: grid; gap: 1.2cqw; }
.ha-lib-row {
  display: flex; align-items: center; gap: 1.8cqw;
  padding: 1.4cqw 1.6cqw;
  border-radius: 1.4cqw;
  border: 1px solid transparent;
  font-size: 2.1cqw;
  color: var(--text-2);
}
.ha-lib-row.is-active { background: #172241; border-color: var(--border); color: var(--text); }
.ha-lib-icon { width: 4.6cqw; height: 4.6cqw; flex: none; }
.ha-lib-icon-muted {
  display: grid; place-items: center;
  border-radius: 1.2cqw; border: 1px dashed var(--border); color: var(--text-3);
}
.ha-lib-icon-muted svg { width: 2.6cqw; height: 2.6cqw; }
.ha-lib-name { font-weight: 600; letter-spacing: -0.01em; }
.ha-pill {
  margin-left: auto;
  font-size: 1.6cqw; font-weight: 600;
  padding: 0.3cqw 1.2cqw;
  border-radius: 99px;
  border: 1px solid var(--border);
  color: var(--text-3);
}
.ha-pill-teal { color: var(--teal); border-color: rgba(53, 214, 176, 0.35); }
.ha-lib-skel { display: grid; gap: 1cqw; padding: 1cqw 1.6cqw 0; }
.ha-lib-skel b { height: 1cqw; border-radius: 1cqw; background: var(--border-soft); width: 70%; }
.ha-lib-skel b + b { width: 45%; }

.ha-editor { left: 14%; top: 29%; width: 86%; height: 58%; }
.ha-ed-body {
  display: grid;
  grid-template-columns: 14cqw 1fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 1.6cqw;
  padding: 1.6cqw;
  height: calc(100% - 6.4cqw - 17cqw);
}
.ha-thumbs { display: flex; flex-direction: column; gap: 1.1cqw; min-height: 0; }
.ha-thumbs svg { width: 100%; height: auto; aspect-ratio: 16 / 9; flex: none; border-radius: 0.8cqw; opacity: 0.85; }
.ha-thumbs svg.is-sel { outline: 0.35cqw solid var(--teal); outline-offset: 0.2cqw; opacity: 1; }
.ha-preview { position: relative; min-height: 0; border-radius: 1cqw; overflow: hidden; background: #000; }
.ha-preview svg { width: 100%; height: 100%; }
.ha-tc {
  position: absolute; left: 1.4cqw; bottom: 1.2cqw;
  font-size: 1.7cqw; font-weight: 600; font-variant-numeric: tabular-nums;
  padding: 0.3cqw 1cqw; border-radius: 0.6cqw;
  background: rgba(8, 12, 24, 0.7); color: var(--text);
}

.ha-timeline {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 17cqw;
  border-top: 1px solid var(--border);
  background: #0B1224;
  padding: 0 1.6cqw 1.6cqw;
}
.ha-ruler {
  height: 3.4cqw;
  background:
    repeating-linear-gradient(90deg, #33405f 0 1px, transparent 1px 4.5cqw) bottom / 100% 1.4cqw no-repeat,
    repeating-linear-gradient(90deg, #26314d 0 1px, transparent 1px 1.125cqw) bottom / 100% 0.7cqw no-repeat;
}
.ha-track { position: relative; height: 4.6cqw; margin-top: 1.2cqw; }
.ha-track b { position: absolute; top: 0; bottom: 0; border-radius: 0.8cqw; }
.ha-playhead {
  position: absolute; top: 0.6cqw; bottom: 1cqw; width: 0.3cqw;
  background: var(--teal);
  margin-left: 1.6cqw;
}
.ha-playhead::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 1.8cqw; height: 1.8cqw; transform: translateX(-50%);
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}

.ha-wave { left: 0; top: 79%; width: 44%; height: 19%; padding: 2cqw 2.4cqw; background: var(--bg-raised); }
.ha-wave-head {
  display: flex; justify-content: space-between;
  font-size: 1.9cqw; color: var(--text-2); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.ha-wave-head span:first-child { color: var(--text); font-weight: 600; }
.ha-wave-svg { width: 100%; height: 9cqw; margin-top: 1.2cqw; opacity: 0.9; }

/* Clip colours shared by both mockups */
.c-blue  { background: rgba(119, 155, 255, 0.28); border: 1px solid rgba(119, 155, 255, 0.55); }
.c-teal  { background: rgba(53, 214, 176, 0.22); border: 1px solid rgba(53, 214, 176, 0.55); }
.c-lilac { background: rgba(179, 157, 245, 0.24); border: 1px solid rgba(179, 157, 245, 0.5); }

/* One orchestrated load moment for the hero windows */
@media (prefers-reduced-motion: no-preference) {
  .ha-library, .ha-editor, .ha-wave { animation: ha-in 0.7s var(--ease) both; }
  .ha-editor { animation-delay: 0.08s; }
  .ha-wave { animation-delay: 0.22s; }
  .ha-playhead { animation: ha-scrub 1.4s var(--ease) 0.35s both; }
}
@keyframes ha-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ha-scrub { from { left: 4%; } }

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

.section { padding-block: var(--section-y); }
.section-raised { background: var(--bg-raised); border-block: 1px solid var(--border-soft); }
.featured-section { padding-top: 0; }

/* --------------------------------------------------------------------------
   Featured product
   -------------------------------------------------------------------------- */

.feature-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.feature-product {
  display: flex; align-items: center; gap: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
}
.feature-product-mark { width: 32px; height: 32px; }

.feature-title {
  margin-top: 20px;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.feature-desc { margin-top: 16px; color: var(--text-2); max-width: 44ch; }

.feature-list { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--border); }
.feature-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500; font-size: 15px;
}
.feature-list svg { width: 20px; height: 20px; color: var(--teal); flex: none; }

.feature-copy .btn-row { margin-top: 32px; gap: 12px 24px; }

.feature-visual { min-width: 0; container-type: inline-size; }
.mock-caption { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }

/* Editor mockup — scaled in container units */
.ed {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
  font-size: 1.55cqw;
  color: var(--text-2);
  user-select: none;
}

.ed-bar {
  display: flex; align-items: center; gap: 2.4cqw;
  height: 5.6cqw;
  padding: 0 1.8cqw;
  background: var(--bg-chrome);
  border-bottom: 1px solid var(--border);
}
.ed-dots { display: flex; gap: 0.8cqw; }
.ed-dots i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #2E3B5A; }
.ed-menu { display: flex; gap: 1.8cqw; }
.ed-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  color: var(--text); font-weight: 600;
}
.ed-bar { position: relative; }
.ed-export {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.7cqw;
  padding: 0.7cqw 1.6cqw;
  border-radius: 0.8cqw;
  background: var(--teal); color: var(--teal-ink);
  font-weight: 600;
}
.ed-export svg { width: 1.7cqw; height: 1.7cqw; }

.ed-main {
  display: grid;
  grid-template-columns: 28cqw 1fr;
  border-bottom: 1px solid var(--border);
}

.ed-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  height: 4.4cqw; padding: 0 1.6cqw;
  font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--border-soft);
}
.ed-count { color: var(--text-3); font-weight: 500; }

.ed-bin { border-right: 1px solid var(--border); background: #0C1326; }
.ed-bin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw 1.2cqw; padding: 1.6cqw; }
.ed-clip { position: relative; }
.ed-clip svg { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 0.7cqw; }
.ed-clip.is-sel svg { outline: 0.3cqw solid var(--teal); outline-offset: 0.2cqw; }
.ed-dur {
  position: absolute; right: 0.6cqw; top: 0.6cqw;
  padding: 0.1cqw 0.6cqw; border-radius: 0.5cqw;
  background: rgba(8, 12, 24, 0.75); color: var(--text);
  font-size: 1.25cqw; font-weight: 600; font-variant-numeric: tabular-nums;
}
.ed-name { display: block; margin-top: 0.5cqw; font-size: 1.3cqw; color: var(--text-2); }

.ed-viewer { display: flex; flex-direction: column; background: #0A1022; }
.ed-monitor {
  margin: 1.8cqw 2.4cqw 0;
  aspect-ratio: 16 / 9;
  border-radius: 0.6cqw;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 1px var(--border);
}
.ed-monitor svg { width: 100%; height: 100%; }
.ed-transport {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.4cqw 2.4cqw 1.6cqw;
}
.ed-tc { font-variant-numeric: tabular-nums; color: var(--text-3); }
.ed-tc b { color: var(--text); font-weight: 600; }
.ed-controls { display: flex; align-items: center; gap: 1.8cqw; color: var(--text-2); }
.ed-controls > svg { width: 1.8cqw; height: 1.8cqw; }
.ed-play {
  display: grid; place-items: center;
  width: 3.8cqw; height: 3.8cqw; border-radius: 50%;
  background: var(--text); color: var(--bg);
}
.ed-play svg { width: 1.9cqw; height: 1.9cqw; margin-left: 0.2cqw; }
.ed-zoom {
  justify-self: end; position: relative;
  width: 10cqw; height: 0.4cqw; border-radius: 1cqw; background: var(--border);
}
.ed-zoom i {
  position: absolute; left: 55%; top: 50%;
  width: 1.4cqw; height: 1.4cqw; border-radius: 50%;
  background: var(--text-2); transform: translate(-50%, -50%);
}

.ed-timeline { display: grid; grid-template-columns: 5cqw 1fr; background: #0B1224; }
.ed-tl-labels { display: grid; grid-template-rows: 3.6cqw 6cqw 6cqw; border-right: 1px solid var(--border); padding-bottom: 1.4cqw; }
.ed-tl-labels span {
  display: grid; place-items: center;
  font-weight: 600; color: var(--text-3);
}
.ed-tl-labels span + span { border-top: 1px solid var(--border-soft); }

.ed-tl-area { position: relative; padding: 0 1.6cqw 1.4cqw 1.2cqw; }
.ed-ruler {
  position: relative; height: 3.6cqw;
  border-bottom: 1px solid var(--border-soft);
  background:
    repeating-linear-gradient(90deg, #33405f 0 1px, transparent 1px 15%) bottom / 100% 1.4cqw no-repeat,
    repeating-linear-gradient(90deg, #232E4A 0 1px, transparent 1px 3%) bottom / 100% 0.7cqw no-repeat;
}
.ed-ruler span {
  position: absolute; top: 0.5cqw;
  padding-left: 0.5cqw;
  font-size: 1.2cqw; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.ed-lane { position: relative; height: 6cqw; border-bottom: 1px solid var(--border-soft); }
.ed-block {
  position: absolute; top: 0.9cqw; bottom: 0.9cqw;
  display: flex; align-items: center; gap: 0.8cqw;
  padding: 0 0.6cqw;
  border-radius: 0.7cqw;
  overflow: hidden;
  color: var(--text); font-size: 1.25cqw; font-weight: 600;
  white-space: nowrap;
}
.ed-block svg { height: 3cqw; width: 5.3cqw; flex: none; border-radius: 0.4cqw; }
.ed-playhead {
  position: absolute; top: 0; bottom: 0.6cqw;
  width: 0.25cqw; margin-left: 1.2cqw;
  background: var(--teal);
  z-index: 2;
}
.ed-playhead::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 1.8cqw; height: 2.2cqw; transform: translateX(-50%);
  background: var(--teal);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  counter-reset: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 0;
  height: 1px;
  background: var(--border);
}
.step { position: relative; }
.step-marker {
  position: relative;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
}
.step-num { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: var(--teal); font-variant-numeric: tabular-nums; }
.step-icon { width: 26px; height: 26px; color: var(--text-2); margin-top: 32px; }
.step-title { margin-top: 16px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.step-text { margin-top: 8px; color: var(--text-2); max-width: 34ch; }

/* --------------------------------------------------------------------------
   Catalogue
   -------------------------------------------------------------------------- */

.catalogue {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s;
}
.product-card-main { grid-row: span 2; }
.product-card-main:hover { border-color: #34446A; }

.pc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-mark { width: 44px; height: 44px; }
.pc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px dashed var(--border); color: var(--text-3);
}
.pc-icon svg { width: 22px; height: 22px; }

.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em;
  padding: 5px 10px; border-radius: 99px;
  border: 1px solid var(--border);
  white-space: nowrap;
}
.status-live { color: var(--teal); border-color: rgba(53, 214, 176, 0.35); letter-spacing: 0.01em; font-size: 12.5px; }
.status-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.status-soon { color: var(--text-2); }

.pc-name { margin-top: 24px; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }
.product-card-soon .pc-name { font-size: 20px; color: var(--text); }
.pc-desc { margin-top: 10px; color: var(--text-2); max-width: 48ch; font-size: 15px; }
.product-card-soon { background: transparent; border-style: dashed; }

.pc-strip { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pc-strip svg { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 6px; }

.pc-foot {
  margin-top: auto;
  padding-top: 28px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.pc-price { display: grid; gap: 2px; }
.pc-price-value { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pc-price-note { font-size: 13.5px; color: var(--text-2); }
.pc-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Why tooldukan
   -------------------------------------------------------------------------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}
.why-item { padding: 32px 28px 8px 0; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid var(--border-soft); }
.why-item svg { width: 24px; height: 24px; color: var(--teal); }
.why-item h3 { margin-top: 20px; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.why-item p { margin-top: 8px; color: var(--text-2); font-size: 15px; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

#pricing { padding-top: 0; }

.price-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-raised);
}
.price-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.price-note { margin-top: 18px; color: var(--text-2); font-size: 15px; max-width: 36ch; }

.price-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}
.price-option { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; }
.price-option-paid { border-left: 1px solid var(--border); }
.po-label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.po-value {
  margin-top: 10px; min-height: 48px;
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  display: flex; align-items: center;
}
.po-price {
  margin-top: 10px; min-height: 48px;
  font-size: 44px; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: center;
}
.po-terms { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.price-option .btn { margin-top: auto; }
.po-value, .po-terms { margin-bottom: 24px; }

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq-intro .section-lead a { color: var(--teal); }

.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-size: inherit; font-weight: inherit; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  background: none; border: 0;
  text-align: left;
  font-size: 17px; font-weight: 600; letter-spacing: -0.015em;
  cursor: pointer;
  transition: color 0.16s;
}
.faq-q:hover { color: var(--teal); }
.faq-q-text { flex: 1 1 auto; }
.faq-q svg {
  width: 20px; height: 20px; flex: none;
  color: var(--text-2);
  transition: transform 0.2s var(--ease), color 0.16s;
}
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--teal); }
.faq-a { padding: 0 40px 24px 0; color: var(--text-2); max-width: 64ch; }
.faq-a a { color: var(--teal); border-bottom: 1px solid rgba(53, 214, 176, 0.4); }

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

.site-footer { padding-top: clamp(56px, 8vw, 88px); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-tagline { margin-top: 14px; color: var(--text-2); font-size: 15px; }
.footer-head {
  font-size: 13.5px; font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col ul { display: grid; gap: 10px; font-size: 14.5px; }
.footer-col a { color: var(--text-2); transition: color 0.16s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text); }
.footer-muted { color: var(--text-3); }
.footer-muted em { font-style: normal; font-size: 12px; margin-left: 6px; }
.footer-bottom {
  margin-top: 56px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 13.5px;
  color: var(--text-3);
}

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

@media (max-width: 1080px) {
  .feature-panel { grid-template-columns: 1fr; }
  .feature-copy { max-width: 640px; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-item:nth-child(n + 3) { border-top: 1px solid var(--border-soft); margin-top: 24px; }
  .price-card { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
  .catalogue { grid-template-columns: 1fr 1fr; }
  .product-card-main { grid-column: 1 / -1; grid-row: auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 0; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    padding-bottom: 36px;
  }
  .step:last-child { padding-bottom: 0; }
  .step-marker { grid-row: span 3; }
  .step-icon { display: none; }
  .step-title { margin-top: 14px; }
  .steps::before { display: none; }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 28px; top: 56px; bottom: 0;
    width: 1px;
    background: var(--border);
  }
}

@media (max-width: 640px) {
  .catalogue { grid-template-columns: 1fr; }
  .price-options { grid-template-columns: 1fr; }
  .price-option-paid { border-left: 0; border-top: 1px solid var(--border); }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 24px 0 24px; border-left: 0; margin-top: 0; }
  .why-item + .why-item { border-top: 1px solid var(--border-soft); }
  .pc-foot { align-items: stretch; flex-direction: column; }
  .pc-actions .btn { flex: 1 1 auto; }
  .faq-a { padding-right: 0; }
  .ed-menu { display: none; }
}

@media (max-width: 420px) {
  .btn-row .btn { flex: 1 1 100%; }
  .hero-attrs { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .pc-strip { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Policy placeholder pages
   -------------------------------------------------------------------------- */

.policy-main { padding-block: clamp(48px, 8vw, 96px); }
.policy-main .container { max-width: calc(760px + var(--gutter) * 2); }
.policy-banner {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px dashed #6B5A2E;
  border-radius: var(--radius);
  background: rgba(201, 164, 90, 0.07);
  color: #E3C98E;
  font-size: 15px;
}
.policy-main h1 { font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; }
.policy-main h2 { margin-top: 40px; font-size: 19px; letter-spacing: -0.015em; }
.policy-main p { margin-top: 10px; color: var(--text-2); }
.policy-todo { color: var(--text-3); font-style: italic; }
.policy-back { display: inline-block; margin-top: 48px; color: var(--teal); font-weight: 600; }
