/* AutoCut Engine marketing site. One light theme, brand orange, Geist. */

@font-face { font-family: Geist; src: url(assets/fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Geist; src: url(assets/fonts/Geist-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #17181b;
  --muted: #686863;
  --accent: #e8521f;
  --accent-deep: #b94119;     /* accent dark enough for small text */
  --accent-soft: #fbe6dc;
  --border: #e7e4dd;
  --border-strong: #d4d1c8;
  --ok: #1d7a46;
  --shadow-soft: 0 1px 2px rgba(23,24,27,.04), 0 14px 28px -10px rgba(23,24,27,.1);
  --shadow-big: 0 2px 6px rgba(23,24,27,.05), 0 36px 70px -24px rgba(23,24,27,.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { margin: 0; letter-spacing: -0.02em; line-height: 1.12; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.shell--narrow { width: min(760px, calc(100% - 48px)); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 99; }
.skip:focus { left: 0; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: inline; } }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 10px 20px; font-size: 15px; font-weight: 500;
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: filter .15s, background-color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--muted); }
.btn--lg { padding: 13px 26px; font-size: 16px; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ------------------------------------------------------------- header -- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.top__bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.top__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.top__brand img { height: 26px; width: auto; }
.top__nav { display: flex; gap: 22px; font-size: 15px; color: var(--muted); }
.top__nav a { text-decoration: none; }
.top__nav a:hover { color: var(--ink); }
.top__actions { margin-left: auto; display: flex; gap: 10px; }
@media (max-width: 860px) {
  .top__nav { display: none; }
  .top__brand span { display: none; }
  .top__brand img { height: 24px; }
}

/* --------------------------------------------------------------- hero -- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 120%;
  background:
    radial-gradient(42% 52% at 18% 38%, rgba(232,82,31,.1), transparent 70%),
    radial-gradient(40% 55% at 84% 30%, rgba(232,82,31,.14), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); font-weight: 700; letter-spacing: -0.035em; }
.lede { margin: 22px auto 0; max-width: 680px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.hero__cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ sections -- */
.section { padding: 84px 0; }
.section__title { font-size: clamp(26px, 3.6vw, 38px); max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section--tour { background: linear-gradient(180deg, var(--bg), #f3efe8 30%, #f3efe8 70%, var(--bg)); }

.cols { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.paincard { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-soft); }
.paincard h3 { font-size: 19px; margin-bottom: 10px; }
.paincard p { color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------- product tour -- */
.tourchips { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; flex-wrap: wrap; }
.tourchips span { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface); transition: all .25s; }
.tourchips .is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.glass {
  position: relative; border-radius: 22px; padding: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.4));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow-big);
  backdrop-filter: blur(8px);
}
.demo { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transform-origin: top left; }
.demo__chrome { display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.demo__url { font-size: 12.5px; color: var(--muted); background: var(--bg); border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px; }
.demo__body { display: grid; grid-template-columns: 250px 1fr; min-height: 420px; }
.demo__side { border-right: 1px solid var(--border); padding: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; }
.demo__brand { font-weight: 600; font-size: 15px; }
.demo__crumb { font-size: 12.5px; color: var(--muted); margin-top: -10px; }
.demo__brief { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-size: 12.5px; }
.demo__brief span { display: block; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.demo__brief p { color: var(--ink); line-height: 1.45; }
.demo__steps { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); counter-reset: s; }
.demo__steps li { padding: 7px 12px; border-radius: 999px; counter-increment: s; }
.demo__steps li::before { content: counter(s) "  ·  "; font-variant-numeric: tabular-nums; }
.demo__steps li.is-on { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.demo__steps li.is-done { color: var(--ok); }

.demo__stage { position: relative; padding: 22px; }
.demo__panel[hidden] { display: none; }
.demo__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.demo__head h4 { font-size: 17px; }
.demo__meta { font-size: 12.5px; color: var(--muted); }
.demo__meta--wait { color: var(--accent-deep); font-weight: 600; }
.demo__btn { display: inline-flex; align-items: center; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 8px 16px; font: 500 13px Geist, sans-serif; cursor: default; }
.demo__btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); }
.demo__btn.is-pressed { filter: brightness(.9); transform: scale(.97); }

.demo__scripts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.demo__scripts article { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .4s, border-color .3s, box-shadow .3s; }
.demo__scripts article.is-in { opacity: 1; transform: none; }
.demo__scripts article.is-picked { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.demo__scripts h5 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.demo__scripts p { font-size: 13.5px; font-weight: 500; line-height: 1.4; }

.demo__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.demo__rows li { display: flex; gap: 12px; align-items: baseline; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 9px 14px; font-size: 13px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.demo__rows li.is-in { opacity: 1; transform: none; }
.demo__rows b { color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.demo__rows span { color: var(--ink); }

.demo__lanes { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.lane { display: grid; grid-template-columns: 110px 1fr 40px; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); }
.lane .bar { display: block; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.lane .bar b { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .5s ease; }
.lane em { font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
.demo__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.demo__thumbs i { aspect-ratio: 9 / 14; border-radius: 10px; background: linear-gradient(160deg, #efe4da, #e3d2c2); border: 1px solid var(--border); opacity: .25; transition: opacity .4s; position: relative; }
.demo__thumbs i.is-in { opacity: 1; }
.demo__thumbs i.is-in::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.35); }

.demo__gatetext { max-width: 420px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.demo__gateactions { display: flex; gap: 10px; }
.demo__stamp { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--ok); }

.demo__cursor { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; transition: transform 1s cubic-bezier(.3,.9,.3,1); will-change: transform; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }

.tour__note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 22px; }

@media (max-width: 760px) {
  .demo__body { grid-template-columns: 1fr; min-height: 0; }
  .demo__side { border-right: 0; border-bottom: 1px solid var(--border); }
  .demo__steps { flex-direction: row; flex-wrap: wrap; margin-top: 4px; }
  .demo__scripts { grid-template-columns: 1fr; }
  .demo__thumbs { grid-template-columns: repeat(3, 1fr); }
  .lane { grid-template-columns: 90px 1fr 36px; }
}

/* --------------------------------------------------------- how it works -- */
.stepscols { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); counter-reset: none; }
@media (max-width: 860px) { .stepscols { grid-template-columns: 1fr; } }
.stepscols li { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-soft); }
.stepnum { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; margin-bottom: 14px; }
.stepscols h3 { font-size: 18px; margin-bottom: 10px; }
.stepscols p { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------ features -- */
.section--features { background: #16171a; color: #f2f1ee; }
.section--features .section__title { color: #fff; }
.grid6 { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid6 { grid-template-columns: 1fr; } }
.grid6 > div { border: 1px solid #2c2d31; background: #1d1e22; border-radius: 16px; padding: 22px; }
.grid6 h3 { font-size: 16px; margin-bottom: 8px; color: #fff; }
.grid6 p { font-size: 14px; color: #a4a3a0; }

/* ----------------------------------------------------------------- FAQ -- */
details { border-bottom: 1px solid var(--border); padding: 4px 0; }
details summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 18px; max-width: 640px; }

/* -------------------------------------------------------------- access -- */
.section--access { padding-bottom: 110px; }
.access { display: grid; gap: 48px; grid-template-columns: 1fr 1.2fr; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 48px; box-shadow: var(--shadow-big); position: relative; overflow: hidden; }
.access::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(232,82,31,.12), transparent 70%); pointer-events: none; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; padding: 28px; gap: 28px; } }
.access__copy h2 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0; }
.access__copy p { color: var(--muted); }
.access__form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; position: relative; }
@media (max-width: 560px) { .access__form { grid-template-columns: 1fr; } }
.access__form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; }
.access__form .opt { font-weight: 400; color: var(--muted); }
.access__wide { grid-column: 1 / -1; }
.access__form input, .access__form textarea {
  border: 1px solid var(--border-strong); border-radius: 12px; background: var(--bg);
  padding: 11px 14px; font: 400 15px Geist, sans-serif; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.access__form input:focus, .access__form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.access__form textarea { resize: vertical; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.access__error { grid-column: 1 / -1; color: #b3261e; background: #fbe7e5; border: 1px solid rgba(179,38,30,.25); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.access__done h3 { font-size: 24px; margin-bottom: 10px; }
.access__done p { color: var(--muted); }

/* -------------------------------------------------------------- footer -- */
.foot { border-top: 1px solid var(--border); padding: 44px 0 60px; }
.foot__inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); font-size: 14px; }
.foot img { height: 30px; width: auto; }
.foot__fine a { color: var(--accent-deep); }

/* ------------------------------------------------------------- reveals -- */
[data-reveal] > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].in > * { opacity: 1; transform: none; }
[data-reveal].in > *:nth-child(2) { transition-delay: .08s; }
[data-reveal].in > *:nth-child(3) { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] > *, .demo__scripts article, .demo__rows li, .demo__thumbs i { opacity: 1 !important; transform: none !important; transition: none !important; }
  .demo__cursor { display: none; }
}
