:root {
  --bg: #0c0b09;
  --bg-2: #161410;
  --ink: #f3eee6;
  --muted: #b7aea0;
  --line: rgba(243, 238, 230, 0.12);
  --accent: #ff5c2a;
  --accent-2: #e8c9a8;
  --paper: #efe8dc;
  --paper-ink: #141210;
  --ok: #c8e39b;
  --radius: 18px;
  --header: 72px;
  --sans: "Sora", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--accent);
  color: #1a0b06;
  border-radius: 999px;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
}

.logo-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #1a0b06;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-block {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 48px 28px 72px;
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent-2);
}

.lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 40px;
}

.stats {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.browser {
  position: absolute;
  inset: 40px 24px 48px 40px;
  background: #1c1914;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  background: #232017;
  border-bottom: 1px solid var(--line);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a5248;
}

.browser-bar span:nth-child(1) { background: #ff5c2a; }
.browser-bar span:nth-child(2) { background: #e8c9a8; }
.browser-bar span:nth-child(3) { background: #c8e39b; }

.browser-url {
  margin-left: 10px;
  flex: 1;
  height: 22px;
  border-radius: 999px;
  background: #12100d;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.browser-body {
  padding: 22px;
}

.mock-nav,
.mock-line,
.mock-cta,
.mock-grid > * {
  background: #2b261f;
  border-radius: 8px;
}

.mock-nav {
  height: 10px;
  width: 46%;
  margin-bottom: 28px;
}

.mock-line {
  height: 18px;
  margin-bottom: 10px;
}

.w80 { width: 80%; }
.w55 { width: 55%; }

.mock-cta {
  width: 88px;
  height: 28px;
  margin: 18px 0 28px;
  background: var(--accent);
  border-radius: 999px;
}

.mock-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  height: 180px;
}

.float-card {
  position: absolute;
  min-width: 132px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.float-card span {
  display: block;
  font-size: 11px;
  color: #6d655a;
}

.float-card b {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.float-a {
  top: 18px;
  right: 8px;
  transform: rotate(-6deg);
}

.float-b {
  bottom: 18px;
  left: 0;
  transform: rotate(4deg);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  color: var(--muted);
}

.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 92px 28px;
}

.section-alt {
  max-width: none;
  padding-inline: calc((100% - 1224px) / 2 + 28px);
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.section-note {
  color: var(--muted);
  margin: 14px 0 0;
}

.price-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.price-group {
  padding: 8px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.price-group:first-child {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(255, 92, 42, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.price-group h3 {
  font-size: 28px;
  margin: 18px 0 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.price-row span {
  color: var(--ink);
  min-width: 0;
}

.price-row b {
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-2);
}

.price-row .is-free {
  color: var(--ok);
}

.price-row:hover span {
  color: var(--accent-2);
}

.choice-grid.dense {
  grid-template-columns: 1fr 1fr;
}

.choice-grid.dense .choice span {
  padding: 12px 14px;
}

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  min-height: 230px;
  display: flex;
  flex-direction: column;
}

.card-lg {
  grid-row: span 2;
  min-height: 480px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 92, 42, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.card-wide {
  grid-column: 2 / -1;
}

.card-index {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.card h3 {
  font-size: 34px;
  margin: 18px 0 12px;
}

.card p,
.case-info p {
  color: var(--muted);
  margin: 0 0 auto;
}

.card-meta {
  margin-top: 24px;
  font-size: 13px;
  color: var(--accent-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.steps li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.steps h3 {
  font-size: 28px;
  margin: 14px 0 10px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.cases {
  display: grid;
  gap: 22px;
}

.case {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.case-visual {
  min-height: 280px;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.v1 { background: linear-gradient(135deg, #2a211c, #7a3a24 80%); }
.v2 { background: linear-gradient(135deg, #1b2422, #35524a); }
.v3 { background: linear-gradient(135deg, #2a2418, #8a6a32); }

.case-frame {
  width: min(70%, 340px);
  aspect-ratio: 16 / 10;
  background: rgba(12, 11, 9, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  display: grid;
  place-content: center;
  text-align: center;
  backdrop-filter: blur(8px);
}

.case-frame p {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0;
}

.case-frame small {
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18px;
}

.case-info h3 {
  font-size: 36px;
  margin-bottom: 12px;
}

.case-info ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 0;
  margin: 0;
  list-style: none;
}

.case-info li {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}

.calc-section {
  padding-bottom: 110px;
}

.calc {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: start;
}

.calc-main,
.calc-aside {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-2);
}

.calc-main {
  padding: 8px 28px 28px;
}

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 22px 0 8px;
}

legend {
  padding: 0 12px 0 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

legend output {
  margin-left: 10px;
  color: var(--accent-2);
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.choice-grid,
.choice-row,
.checks {
  display: grid;
  gap: 10px;
}

.choice-grid {
  grid-template-columns: 1fr 1fr;
}

.choice-row {
  grid-template-columns: repeat(3, 1fr);
}

.choice,
.checks label {
  position: relative;
  cursor: pointer;
}

.choice input,
.checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span,
.checks label {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #12110e;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice b {
  display: block;
  font-weight: 500;
}

.choice small {
  color: var(--muted);
}

.choice:hover span,
.checks label:hover {
  border-color: rgba(243, 238, 230, 0.28);
}

.choice:has(input:checked) span,
.checks label:has(input:checked) {
  border-color: var(--accent);
  background: rgba(255, 92, 42, 0.08);
}

.choice:has(input:focus-visible) span,
.checks label:has(input:focus-visible),
.btn:focus-visible,
.range:focus-visible,
.lead-form input:focus-visible,
.consent input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.checks {
  grid-template-columns: 1fr;
}

.checks label {
  cursor: pointer;
  font-size: 14px;
}

.range {
  width: 100%;
  accent-color: var(--accent);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.calc-aside {
  position: sticky;
  top: calc(var(--header) + 16px);
  padding: 28px;
}

.aside-label {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1;
}

.price small,
#pricePrefix {
  font-size: 1.4rem;
  color: var(--muted);
}

#pricePrefix[hidden] {
  display: none;
}

.term {
  color: var(--muted);
  margin: 8px 0 18px;
}

.term strong {
  color: var(--ink);
  font-weight: 500;
}

.breakdown {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.breakdown b {
  color: var(--ink);
  font-weight: 500;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.calc-aside input {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #12110e;
  color: var(--ink);
}

.fine {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.fine a,
.consent a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.legal-page {
  padding: 48px 28px 80px;
  max-width: 860px;
  margin: 0 auto;
  min-height: calc(100vh - var(--header) - 180px);
}

.legal-page h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.12;
  margin-bottom: 12px;
}

.legal-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.25;
  margin: 36px 0 14px;
}

.legal h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 22px 0 10px;
  font-family: var(--sans);
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.legal p {
  margin: 0 0 14px;
}

.legal ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.legal a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--ink);
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-contacts a {
  font-size: 13px;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--ink);
}

.footer-nav a[aria-current="page"] {
  color: var(--ink);
}

.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
}

.cookie-bar p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.cookie-bar a {
  color: #9a3a18;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-bar .btn-ghost {
  color: var(--paper-ink);
  border-color: rgba(20, 18, 16, 0.22);
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
  background: #12110e;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 18px;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 0 0 18px;
  color: var(--muted);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr auto;
  gap: 28px 40px;
  padding: 40px 28px 56px;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  padding: 14px 18px;
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.toast.is-error {
  background: #3a1d16;
  color: #f3eee6;
}

.toast[hidden] {
  display: none;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn[disabled] {
  opacity: 0.65;
  pointer-events: none;
  transform: none;
}

@media (max-width: 980px) {
  .header {
    grid-template-columns: 1fr auto auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    z-index: 31;
    flex-direction: column;
    gap: 0;
    background: #12110e;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 28px;
    border-top: 1px solid var(--line);
  }

  .menu-btn {
    display: block;
  }

  .header .btn-sm {
    display: none;
  }

  .hero,
  .calc,
  .case,
  .bento,
  .steps,
  .price-board {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-stage {
    min-height: 420px;
  }

  .card-lg,
  .card-wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 240px;
  }

  .choice-grid.dense {
    grid-template-columns: 1fr 1fr;
  }

  .choice-grid:not(.dense),
  .choice-row,
  .checks {
    grid-template-columns: 1fr;
  }

  .calc-aside {
    position: static;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .choice-grid.dense {
    grid-template-columns: 1fr;
  }

  .price-row b {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
