:root {
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --bg-sunken: #eef0f3;
  --text: #1a1d23;
  --text-muted: #5a6170;
  --border: #e2e5ea;
  --accent: #2f6fed;
  --accent-dark: #1f4fc4;
  --accent-soft: #e8f0fe;
  --success: #1f9d55;
  --success-soft: #e7f8ee;
  --warn: #d9480f;
  --warn-soft: #fdeee5;
  --new-badge: #e8395b;
  --shadow: 0 1px 2px rgba(20, 24, 33, 0.04), 0 8px 24px rgba(20, 24, 33, 0.06);
  --radius: 14px;
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161b;
    --bg-elevated: #1b1e25;
    --bg-sunken: #101216;
    --text: #eceef2;
    --text-muted: #9aa1b0;
    --border: #2a2e38;
    --accent: #5b8df6;
    --accent-dark: #85a9f8;
    --accent-soft: #1d2a47;
    --success: #35c074;
    --success-soft: #112b1d;
    --warn: #ff8a4c;
    --warn-soft: #2e1c10;
    --new-badge: #ff5c80;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #14161b;
  --bg-elevated: #1b1e25;
  --bg-sunken: #101216;
  --text: #eceef2;
  --text-muted: #9aa1b0;
  --border: #2a2e38;
  --accent: #5b8df6;
  --accent-dark: #85a9f8;
  --accent-soft: #1d2a47;
  --success: #35c074;
  --success-soft: #112b1d;
  --warn: #ff8a4c;
  --warn-soft: #2e1c10;
  --new-badge: #ff5c80;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.01em;
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #6fb1ff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.brand .mark svg { width: 18px; height: 18px; }

.brand .sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
  letter-spacing: 0.02em;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.15s ease;
}
nav.main-nav a:hover { color: var(--text); background: var(--bg-sunken); }
nav.main-nav a.active { color: var(--accent); background: var(--accent-soft); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--bg) !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  margin-left: 6px;
  white-space: nowrap;
}

.nav-toggle { display: none; }

@media (max-width: 860px) {
  nav.main-nav { position: fixed; z-index: 60; inset: var(--header-h) 0 auto 0; background: var(--bg-elevated); border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; padding: 10px; gap: 2px; transform: translateY(-110%); transition: transform 0.2s ease, visibility 0.2s ease; visibility: hidden; pointer-events: none; box-shadow: var(--shadow); }
  nav.main-nav.open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav-toggle { position: relative; z-index: 61; }
  nav.main-nav a { padding: 12px 14px; }
  .header-cta { margin: 6px 4px 2px; justify-content: center; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); }
}

/* ---------- Personalized ribbon ---------- */
.personal-ribbon {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  color: #fff;
}
.personal-ribbon .wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
}
.personal-ribbon svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 36px 0 32px; gap: 28px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-size: 38px;
  line-height: 1.4;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
@media (max-width: 860px) { h1 { font-size: 28px; } }

.hero-lead {
  font-size: 15.5px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 40%, transparent); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--bg-elevated); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-sunken); }

.hero-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .float-card {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
}
.hero-photo .float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }

/* ---------- Section ---------- */
section { padding: 60px 0; }
.section-head { max-width: 640px; margin: 0 0 36px; }
.section-head .eyebrow { margin-bottom: 14px; }
h2 { font-size: 26px; margin: 0 0 10px; letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Pain points ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.pain-card .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pain-card .ico svg { width: 20px; height: 20px; }
.pain-card h3 { font-size: 15.5px; margin: 0 0 8px; }
.pain-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-card .photo { aspect-ratio: 16/10; overflow: hidden; }
.feature-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.feature-card:hover .photo img { transform: scale(1.05); }
.feature-card .body { padding: 18px 20px 22px; }
.feature-card .num { font-size: 12px; font-weight: 800; color: var(--accent); margin-bottom: 8px; letter-spacing: 0.04em; }
.feature-card h3 { font-size: 16px; margin: 0 0 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated); }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.step-row:last-child { border-bottom: none; }
.step-row .n { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.step-row h3 { font-size: 15px; margin: 0 0 6px; }
.step-row p { font-size: 13.5px; color: var(--text-muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-radius: 20px;
  padding: 42px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); font-size: 14px; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.22); }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--border); padding: 34px 0; }
footer.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer.site-footer .fnote { font-size: 12.5px; color: var(--text-muted); }

/* ================= DEMO PAGE ================= */
.demo-shell {
  background: var(--bg-sunken);
  min-height: 70vh;
  padding: 28px 0 70px;
}
.app-frame {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.app-topbar .app-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14.5px; }
.app-topbar .app-title svg { width: 18px; height: 18px; color: var(--accent); }
.app-topbar .app-meta { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }

.tabbar {
  display: flex;
  gap: 2px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tabbar button {
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 10px 16px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.12s ease;
}
.tabbar button svg { width: 15px; height: 15px; }
.tabbar button:hover { color: var(--text); background: var(--bg-sunken); }
.tabbar button.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--accent-soft); }

.tab-panel { display: none; padding: 22px 22px 28px; }
.tab-panel.active { display: block; animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { font-size: 16px; margin: 0 0 4px; }
.panel-head p { font-size: 13px; color: var(--text-muted); margin: 0; max-width: 48ch; }

.toolbar-btn {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
  transition: all 0.12s ease;
}
.toolbar-btn svg { width: 15px; height: 15px; }
.toolbar-btn:hover { background: var(--bg-sunken); }
.toolbar-btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.toolbar-btn.primary:hover { background: var(--accent-dark); }

/* URL management list */
.url-list { display: flex; flex-direction: column; gap: 10px; }
.url-card { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; background: var(--bg); }
@media (max-width: 700px) { .url-card { grid-template-columns: 1fr; } }
.url-card .tag { font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); white-space: nowrap; width: fit-content; }
.url-card .url-main { min-width: 0; }
.url-card .url-main .link { font-size: 12.5px; color: var(--text-muted); word-break: break-all; font-family: "SFMono-Regular", Consolas, monospace; }
.url-card .url-main .label { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.url-card .url-side { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.url-card .status-ok { color: var(--success); display: flex; align-items: center; gap: 5px; font-weight: 700; }
.url-card .status-ok svg { width: 14px; height: 14px; }

.add-url-row {
  margin-top: 14px;
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
}
.add-url-row input {
  flex: 1;
  font-family: inherit;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  min-width: 0;
}

/* table */
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
table.data-table th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--bg-sunken);
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: var(--bg-sunken); }
table.data-table .plink { color: var(--accent); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.badge-new { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--new-badge); padding: 3px 8px; border-radius: 999px; }
.badge-brand { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

.row-fade-in { animation: rowIn 0.35s ease; }
@keyframes rowIn { from { opacity: 0; background: var(--success-soft); } to { opacity: 1; } }

/* schedule panel */
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .schedule-grid { grid-template-columns: 1fr; } }
.schedule-card { border: 1px solid var(--border); border-radius: 14px; padding: 20px; background: var(--bg); }
.schedule-card h4 { font-size: 13.5px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.schedule-card h4 svg { width: 16px; height: 16px; color: var(--accent); }
.time-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.time-row select { font-family: inherit; font-size: 15px; font-weight: 700; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; }
.toggle-row:first-of-type { border-top: none; }
.switch { position: relative; width: 38px; height: 22px; background: var(--border); border-radius: 999px; flex-shrink: 0; cursor: pointer; transition: background 0.15s ease; }
.switch.on { background: var(--success); }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.switch.on::after { transform: translateX(16px); }

.run-now-box { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.run-log { margin-top: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-sunken); font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; padding: 12px 14px; max-height: 150px; overflow-y: auto; color: var(--text-muted); }
.run-log .ok { color: var(--success); }
.run-log div { margin-bottom: 3px; }

.reset-box { border: 1px solid var(--warn); background: var(--warn-soft); border-radius: 12px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.reset-box .t { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.reset-box .d { font-size: 12.5px; color: var(--text-muted); }
.btn-danger { font-family: inherit; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 9px; border: 1px solid var(--warn); background: var(--bg-elevated); color: var(--warn); cursor: pointer; }
.btn-danger:hover { background: var(--warn); color: #fff; }
.btn-danger svg { width: 15px; height: 15px; }

/* stat row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }
.stat-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--bg); }
.stat-card .v { font-size: 22px; font-weight: 800; }
.stat-card .l { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
  white-space: nowrap;
}
.toast svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- how-it-works ---------- */
.flow-diagram { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; }
@media (max-width: 860px) { .flow-diagram { grid-template-columns: 1fr; } }
.flow-node {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-node .ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.flow-node .ico svg { width: 19px; height: 19px; }
.flow-node h4 { font-size: 14px; margin: 0; }
.flow-node p { font-size: 12.5px; color: var(--text-muted); margin: 0; }
.flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.flow-arrow svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .flow-arrow { transform: rotate(90deg); padding: 4px 0; } }

.cost-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .cost-compare { grid-template-columns: 1fr; } }
.cost-card { border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--border); }
.cost-card.bad { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, var(--border)); }
.cost-card.good { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 35%, var(--border)); }
.cost-card .tag { font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; }
.cost-card.bad .tag { color: var(--warn); }
.cost-card.good .tag { color: var(--success); }
.cost-card .price { font-size: 26px; font-weight: 800; margin: 8px 0 14px; }
.cost-card ul { margin: 0; padding-left: 18px; font-size: 13px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; }

.qa-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated); }
.qa-item { border-bottom: 1px solid var(--border); }
.qa-item:last-child { border-bottom: none; }
.qa-item summary { cursor: pointer; list-style: none; padding: 18px 20px; font-size: 14.5px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary .chev { width: 18px; height: 18px; color: var(--text-muted); transition: transform 0.15s ease; flex-shrink: 0; }
.qa-item[open] summary .chev { transform: rotate(180deg); }
.qa-item .a { padding: 0 20px 20px; font-size: 13.5px; color: var(--text-muted); max-width: 62ch; }

/* ---------- flow / pricing page ---------- */
.price-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 800px) { .price-card { grid-template-columns: 1fr; } }
.price-card .left { padding: 32px 30px; border-right: 1px solid var(--border); }
@media (max-width: 800px) { .price-card .left { border-right: none; border-bottom: 1px solid var(--border); } }
.price-card .right { padding: 32px 30px; background: var(--bg-sunken); }
.price-card .amount { font-size: 34px; font-weight: 800; margin: 6px 0 2px; }
.price-card .amount small { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.deliv-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.deliv-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; }
.deliv-list svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; margin-top: 2px; }

.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tl-item:last-child { border-bottom: none; }
.tl-item .d { font-size: 12px; font-weight: 800; color: var(--accent); }
.tl-item .t { font-size: 13.5px; font-weight: 700; }
.tl-item .s { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }

.contact-box {
  text-align: center;
  padding: 44px 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-elevated);
}
.contact-box h2 { margin-bottom: 10px; }
.contact-box p { color: var(--text-muted); font-size: 14px; max-width: 48ch; margin: 0 auto 22px; }

.spin { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* scrollbar niceties */
.run-log::-webkit-scrollbar, .table-scroll::-webkit-scrollbar, .tabbar::-webkit-scrollbar { height: 6px; width: 6px; }
.run-log::-webkit-scrollbar-thumb, .table-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
