/* Kituwa Design — design.kituwa.com */
:root {
  --sky: #eaf4fd;
  --sky-2: #d7ecfc;
  --cloud: #ffffff;
  --paper: #f7f9fc;
  --paper-2: #eef3f8;
  --ink: #0e1116;
  --muted: #536172;
  --soft: #7d8998;
  --line: #dbe5ef;
  --line-dark: #c7d5e3;
  --cobalt: #2e7def;
  --cobalt-dark: #1d5fc4;
  --orange: #ff7a3d;
  --mint: #2bc48a;
  --violet: #6d28d9;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 70px -35px rgba(14, 17, 22, .35);
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: 92px 0; }
.section-sm { padding: 52px 0; }
.section.soft { background: linear-gradient(180deg, #fff, var(--paper)); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.display {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 6.3vw, 88px); line-height: .98; letter-spacing: -.055em;
}
.display em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--cobalt); letter-spacing: -.02em; }
.h2 { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4vw, 54px); line-height: 1.03; letter-spacing: -.045em; }
.h3 { margin: 0; font-size: 20px; letter-spacing: -.015em; }
.lede { margin: 0; max-width: 62ch; color: var(--muted); font-size: 18px; line-height: 1.62; }
.small-note { color: var(--soft); font-size: 12.5px; }
.mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 12px; top: 12px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 249, 252, .84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199, 213, 227, .7);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; }
.brand strong { font-weight: 700; }
.brand small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 1px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 22px;
  font-size: 14px; font-weight: 650; line-height: 1; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-dark); }
.btn-primary:disabled { background: #9bb6d8; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; border-color: var(--line-dark); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: 12.5px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; }

/* hero */
.hero { position: relative; overflow: clip; padding: 64px 0 76px; }
.hero-sky {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 45% at 16% 20%, rgba(255,255,255,.95), transparent 70%),
    radial-gradient(45% 40% at 86% 16%, rgba(255,255,255,.9), transparent 72%),
    linear-gradient(180deg, #8fcdf4 0%, #c7e7fb 42%, #eaf4fd 78%, var(--paper) 100%);
}
.cloud { position: absolute; border-radius: 50%; background: rgba(255,255,255,.8); filter: blur(26px); }
.cloud.c1 { width: 420px; height: 170px; left: -90px; top: 90px; }
.cloud.c2 { width: 540px; height: 210px; right: -160px; top: 30px; opacity: .8; }
.cloud.c3 { width: 360px; height: 150px; left: 34%; top: 330px; opacity: .55; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 54px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid rgba(14,17,22,.14); border-radius: 999px;
  background: rgba(255,255,255,.55); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #2a3948;
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(46,125,239,.15); }
.hero .display { margin-top: 22px; max-width: 13ch; }
.hero .lede { margin-top: 22px; color: #33475a; max-width: 54ch; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; font-size: 12px; color: #3a4d5f; }
.hero-facts b { font-family: var(--font-display); font-size: 16px; color: var(--ink); }
.page-facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 12px; color: var(--muted); }
.page-facts b { font-family: var(--font-display); font-size: 17px; color: var(--ink); }

.hero-art { position: relative; }
.hero-carousel { position: relative; }
.browser {
  background: #fff; border: 1px solid var(--line-dark); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #f4f8fc; }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7e3ee; }
.browser-url { margin-left: 10px; font-family: var(--font-mono); font-size: 9px; color: var(--soft); }
.carousel-track { position: relative; aspect-ratio: 720 / 620; background: #eef5fb; overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transform: scale(1.015); transition: opacity .45s ease, transform .7s ease; }
.carousel-slide.is-active { opacity: 1; transform: scale(1); }
.carousel-controls { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.carousel-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); background: #fff; cursor: pointer; }
.carousel-dots { display: flex; gap: 5px; flex: 1; justify-content: center; flex-wrap: wrap; }
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: #b9cbdd; cursor: pointer; }
.carousel-dot.is-active { background: var(--cobalt); transform: scale(1.3); }
.carousel-caption { display: flex; align-items: baseline; gap: 10px; margin: 12px 0 0; font-size: 13px; }
.carousel-caption b { font-family: var(--font-display); font-size: 15px; }
.carousel-caption span { color: var(--muted); font-size: 12px; }
.hero-art-note { margin: 14px 0 0; font-size: 12px; color: #3c5165; }
.hero-art-note a { color: var(--cobalt); }

/* page hero */
.page-hero { position: relative; padding: 72px 0 54px; background: linear-gradient(180deg, #f2f8fe, var(--paper)); border-bottom: 1px solid var(--line); overflow: clip; }
.page-hero .display { margin-top: 16px; max-width: 15ch; }
.page-hero .lede { margin-top: 20px; }
.page-hero .hero-actions { margin-top: 26px; }
.pricing-hero { background: linear-gradient(150deg, #eef6ff 0%, #f7fbff 44%, #fff4ec 100%); }
.case-hero { background: linear-gradient(150deg, #101a2a, #1c3552); color: #fff; border-bottom: 0; }
.case-hero .eyebrow, .case-hero .lede { color: #aebed0; }
.case-hero .display em { color: #8ec5ff; }

/* sections */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.section-head .lede { max-width: 46ch; }
.section-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.split > * { min-width: 0; }

/* layout cards */
.layout-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.layout-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.layout-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(14,17,22,.35); }
.layout-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef5fb; border-bottom: 1px solid var(--line); }
.layout-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.layout-card:hover .layout-shot img { transform: scale(1.02); }
.layout-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.layout-card-top { display: flex; align-items: center; gap: 9px; }
.layout-card-top h3 { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.layout-mood { margin: 0; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt); }
.layout-card-body p { margin: 0; color: var(--muted); font-size: 13.5px; }
.badge { display: inline-flex; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; color: var(--muted); background: var(--paper); }
.tag-row { display: flex; gap: 5px; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 9px; letter-spacing: .04em; border: 1px solid var(--line); border-radius: 999px; padding: 3px 7px; color: var(--soft); }
.layout-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 7px 13px; font-size: 12.5px; cursor: pointer; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-count { margin: 0 0 24px; font-size: 12px; color: var(--soft); font-family: var(--font-mono); }

/* tiers */
.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tier-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.tier-featured { border-color: #b8cdf0; background: linear-gradient(180deg, #f8fbff, #fff); }
.tier-head h3 { margin: 8px 0 0; font-family: var(--font-display); font-size: 28px; letter-spacing: -.035em; }
.tier-price { margin-top: 12px; font-family: var(--font-display); font-size: 44px; letter-spacing: -.055em; line-height: 1; }
.tier-meta { display: flex; gap: 12px; margin-top: 8px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); }
.tier-for { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.tier-list { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 9px; font-size: 13px; color: var(--muted); }
.tier-list li::before { content: "✓"; color: var(--cobalt); font-weight: 700; margin-right: 8px; }
.tier-example { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.tier-example a { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; margin-top: 10px; }
.tier-example img { grid-row: span 2; width: 96px; height: 64px; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid var(--line); }
.tier-example strong { font-size: 13px; }
.tier-example span { font-size: 11px; color: var(--muted); }
.tier-checkout { margin-top: 18px; }
.deposit-note { margin: 9px 0 0; font-size: 11px; color: var(--soft); }
.tier-more { display: inline-block; margin-top: 9px; font-size: 12px; color: var(--cobalt); }

.tier-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tier-strip-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; min-height: 230px; }
.tier-strip-card:hover { border-color: var(--cobalt); }
.tier-strip-card h3 { margin: 0; font-family: var(--font-display); font-size: 19px; letter-spacing: -.02em; }
.tier-strip-price { font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; }
.tier-strip-card p { margin: 0; color: var(--muted); font-size: 12px; }
.tier-strip-link { margin-top: auto; font-size: 11px; color: var(--cobalt); }

/* process */
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-n { font-family: var(--font-mono); font-size: 10px; color: var(--cobalt); padding-top: 3px; }
.process-list h3 { margin: 0; font-size: 16px; }
.process-list p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* guide band */
.guide-band { background: var(--ink); color: #fff; }
.guide-band .eyebrow, .guide-band .lede { color: #a9b7c7; }
.guide-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.guide-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.guide-band .btn-ghost { border-color: #3b4858; color: #fff; }

/* work */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.example-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; }
.example-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; border-bottom: 1px solid var(--line); }
.example-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.example-body h3 { margin: 2px 0 0; font-size: 17px; letter-spacing: -.02em; }
.example-body p { margin: 0; font-size: 12px; color: var(--muted); }

/* CTA */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; }
.cta-band .eyebrow, .cta-band .lede { color: #a9b7c7; }
.cta-band .h2 { max-width: 14ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: #3b4858; color: #fff; }

/* guide */
.guide-nav { position: sticky; top: 67px; z-index: 40; background: rgba(247,249,252,.92); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.guide-nav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 9px 0; }
.guide-nav a { font-size: 12px; color: var(--muted); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.guide-nav a:hover { background: #fff; color: var(--ink); }
.guide-nav b { font-family: var(--font-mono); font-size: 9px; color: var(--cobalt); margin-right: 4px; }
.guide-step { scroll-margin-top: 120px; }
.guide-grid { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.guide-aside { position: sticky; top: 140px; }
.step-num { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--cobalt); margin-bottom: 8px; }
.guide-step-head { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start; margin-bottom: 32px; }
.guide-step-head .step-num { margin: 6px 0 0; }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.question-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.question-card h3 { margin: 0 0 6px; font-size: 16px; }
.question-card p { margin: 0; font-size: 13px; color: var(--muted); }
.compare-controls { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.compare-controls label { display: grid; gap: 4px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: var(--soft); }
select, input, textarea { border: 1px solid var(--line-dark); background: #fff; color: var(--ink); border-radius: 9px; padding: 10px 12px; }
select:focus, input:focus, textarea:focus { outline: 2px solid rgba(46,125,239,.35); border-color: var(--cobalt); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-panel { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.compare-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 12px; }
.compare-head a { color: var(--cobalt); font-size: 11px; }
.compare-panel iframe { width: 100%; height: 520px; border: 0; display: block; }
.compare-note { margin: 12px 0 0; font-size: 12px; color: var(--soft); }
.element-rack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.element-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.element-card iframe { width: 100%; height: 150px; border: 0; border-bottom: 1px solid var(--line); display: block; background: #eef5fb; }
.element-body { padding: 11px 12px 13px; }
.element-body h3 { margin: 0; font-size: 13px; }
.element-body p { margin: 4px 0 7px; font-size: 11px; color: var(--muted); }
.checklist-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px; margin-bottom: 20px; }
.checklist-card h3 { margin: 0 0 12px; }
.checklist-card ol { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.note-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; margin-top: 28px; }
.note-band h3, .note-band h2 { margin: 0 0 5px; }
.note-band p { margin: 0; color: var(--muted); font-size: 13px; }

/* tables */
.compare-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { text-align: left; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: var(--soft); padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.compare-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td b { color: var(--ink); }
.compare-table td span { font-size: 11px; color: var(--soft); }
.compare-table a { color: var(--cobalt); }

/* pricing extras */
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.included-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.included-card h3 { margin: 0 0 6px; font-size: 16px; }
.included-card p { margin: 0; font-size: 13px; color: var(--muted); }
.billing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.billing-card h3 { margin: 0 0 12px; }
.billing-card ol { margin: 0 0 20px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ticks { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 11px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq details p { margin: 10px 0 0; color: var(--muted); font-size: 13.5px; }

/* case */
.browser-large { max-width: 100%; }
.browser-large img { width: 100%; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.feature-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e7f3e9; color: #1b7a42; font-size: 12px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; font-size: 12.5px; color: var(--muted); }
.spec-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.spec-card h3 { margin: 0 0 16px; }
.spec-card dl { margin: 0 0 20px; display: grid; gap: 12px; }
.spec-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.spec-card dt { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); padding-top: 3px; }
.spec-card dd { margin: 0; font-size: 13px; color: var(--muted); }
.case-band { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.case-band img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* checkout / forms */
.checkout-wrap { max-width: 720px; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; text-align: center; }
.checkout-card .lede { margin: 14px auto 0; font-size: 15px; }
.checkout-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2); color: var(--muted); font-family: var(--font-mono); font-size: 16px; margin: 0 auto 18px; }
.checkout-mark.ok { background: #e7f7ed; color: #1b7a42; }
.receipt { margin: 24px auto; max-width: 460px; text-align: left; border-top: 1px solid var(--line); }
.receipt div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.receipt dt { font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--soft); padding-top: 3px; }
.receipt dd { margin: 0; font-size: 12.5px; text-align: right; }
.checkout-card .hero-actions { justify-content: center; }
.checkout-form { margin: 0; }
.form-note { margin: 8px 0 0; font-size: 11px; color: var(--soft); }
.form-note a { color: var(--cobalt); }
.suggest-form { display: grid; gap: 14px; margin-top: 22px; }
.suggest-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 600; }
.suggest-form label span { color: var(--soft); font-weight: 400; }
.suggest-form textarea { resize: vertical; }
.suggest-form .hp { position: absolute; left: -9999px; }
.form-success { margin-top: 22px; background: #e7f7ed; border: 1px solid #bde5cb; border-radius: var(--radius-sm); padding: 20px; }
.form-success p { margin: 4px 0 0; color: #29603c; }
.form-error { background: #fff1ec; border: 1px solid #f2c4b4; border-radius: 10px; padding: 12px 14px; color: #8a3219; font-size: 13px; }

/* footer */
.site-footer { background: #0e1116; color: #e8eef5; padding: 52px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 34px; }
.footer-brand .brand { color: #fff; font-size: 18px; }
.footer-brand .brand-mark { background: #fff; color: #0e1116; }
.footer-brand p { color: #9aa8b8; font-size: 13px; max-width: 38ch; }
.footer-contact a { color: #8ec5ff; }
.footer-col h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: #7d8b9b; }
.footer-col a { display: block; margin: 7px 0; font-size: 13px; color: #b9c5d2; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #25303c; margin-top: 36px; padding-top: 18px; font-size: 11px; color: #7d8b9b; }

/* preview modal */
.preview-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.preview-modal[hidden] { display: none; }
.preview-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 18, .72); backdrop-filter: blur(4px); }
.preview-dialog { position: relative; width: min(1200px, 94vw); height: 88vh; background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 100px rgba(0,0,0,.5); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.preview-head b { font-family: var(--font-display); }
.preview-head div { display: flex; align-items: center; gap: 14px; }
.preview-head a { color: var(--cobalt); font-size: 12px; }
.preview-head button { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; }
.preview-dialog iframe { flex: 1; width: 100%; border: 0; }

/* responsive */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .display { max-width: 16ch; }
  .hero-art { max-width: 680px; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-strip { grid-template-columns: 1fr 1fr; }
  .layout-grid-3 { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr; gap: 26px; }
  .guide-aside { position: static; }
  .element-rack { grid-template-columns: repeat(3, 1fr); }
  .case-band { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 9px 10px; }
  .nav-toggle { display: block; }
  .section { padding: 68px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .layout-grid, .layout-grid-3, .work-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .guide-band-inner, .cta-band { flex-direction: column; align-items: flex-start; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-panel iframe { height: 430px; }
  .question-grid, .feature-grid, .included-grid { grid-template-columns: 1fr 1fr; }
  .element-rack { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .display { font-size: clamp(38px, 12vw, 54px); }
  .h2 { font-size: 32px; }
  .hero-facts, .page-facts { gap: 12px 18px; }
  .tier-strip, .question-grid, .feature-grid, .included-grid, .element-rack, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .note-band { flex-direction: column; align-items: flex-start; }
  .checkout-card { padding: 26px; }
  .footer-bottom { flex-direction: column; }
  .preview-dialog { height: 92vh; }
}

@media print {
  .site-header, .site-footer, .guide-nav, .preview-modal, .hero-actions, .section-actions, .cta-band, .checkout-form { display: none !important; }
  body { background: #fff; }
  .section, .section-sm { padding: 18px 0; }
  .layout-card, .element-card, .tier-card, .note-band { break-inside: avoid; }
  .element-card iframe, .compare-panel iframe { display: none; }
  .layout-grid { grid-template-columns: 1fr 1fr; }
}
