/* Keyline: site styles. No external fonts or scripts (fast, private). */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #102a43;
  --text: #243b53;
  --muted: #5f7285;
  --line: #dde3ea;
  --line-strong: #c3ccd6;
  --accent: #1d5a86;
  --accent-hover: #174a6f;
  --accent-soft: #e8f1f8;
  --good: #1a7f37;
  --warn-bg: #fff7e6;
  --warn-line: #f0d9a4;
  --err: #b42318;
  --err-bg: #fef3f2;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 8px 24px rgba(16, 42, 67, .06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.demo-bar { background: #fff3cd; color: #6b4e00; text-align: center; font-size: 13px; padding: 6px 12px; border-bottom: 1px solid #f0d9a4; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -.3px; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, #1d5a86, #102a43); position: relative; }
.logo-mark::after { content: ""; position: absolute; left: 6px; right: 6px; top: 12px; height: 3px; border-radius: 2px; background: #9fd0f2; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { color: var(--text); text-decoration: none; font-size: 15px; }
.header-nav a:hover { color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 10px; background: var(--accent); color: #fff !important; font: 600 16px/1 var(--font); padding: 14px 20px; cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: wait; }
.btn-small { padding: 9px 14px; font-size: 14px; }
.link-btn { background: none; border: 0; color: var(--accent); font: inherit; font-size: 14px; cursor: pointer; padding: 0; text-decoration: underline; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.2px; font-size: 13px; font-weight: 700; color: var(--accent); margin: 8px 0 12px; }
.hero h1 { font-size: 44px; letter-spacing: -1px; margin-bottom: 18px; }
.lede { font-size: 18px; color: var(--text); margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0 0 36px; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 7px; height: 11px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.how h2 { font-size: 20px; margin-bottom: 14px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Card + form */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.order-col { position: sticky; top: 84px; }
.order-card { padding: 26px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-group + .field-group { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.group-title { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 14px; padding: 0; }
.group-title + * { clear: both; }
.group-n { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; }

.services { display: grid; gap: 10px; }
.service { display: block; cursor: pointer; }
.service input { position: absolute; opacity: 0; pointer-events: none; }
.service-body { display: block; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px 12px 44px; position: relative; transition: border-color .15s, background .15s; }
.service-body::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; }
.service input:checked + .service-body { border-color: var(--accent); background: #f7fbfe; }
.service input:checked + .service-body::before { border: 6px solid var(--accent); }
.service input:focus-visible + .service-body { outline: 3px solid rgba(29, 90, 134, .3); outline-offset: 1px; }
.service-top { display: flex; justify-content: space-between; gap: 12px; }
.service-name { font-weight: 600; color: var(--ink); }
.price { font-weight: 700; color: var(--ink); }
.service-desc { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.label, .label-row .label { display: block; font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.label-row .label { margin: 0; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.help { font-size: 13px; color: var(--muted); margin: 6px 0 0; }

input[type=text], input[type=email], textarea {
  width: 100%; font: 15px/1.5 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 9px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 90px; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 90, 134, .15); }
.invalid { border-color: var(--err) !important; }

.seg { display: inline-flex; background: #eef2f6; border-radius: 8px; padding: 3px; }
.seg-btn { border: 0; background: transparent; font: 600 13px var(--font); color: var(--muted); padding: 5px 11px; border-radius: 6px; cursor: pointer; }
.seg-btn.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.drop { position: relative; border: 1.5px dashed var(--line-strong); border-radius: 10px; background: #fafbfd; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: #f4f9fd; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-inner { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 12px; text-align: center; pointer-events: none; }
.drop-icon { width: 28px; height: 28px; margin-bottom: 4px; border-radius: 6px; background: var(--accent-soft); position: relative; }
.drop-icon::before { content: ""; position: absolute; left: 13px; top: 7px; width: 2px; height: 12px; background: var(--accent); }
.drop-icon::after { content: ""; position: absolute; left: 10px; top: 7px; width: 8px; height: 8px; border: solid var(--accent); border-width: 2px 0 0 2px; transform: rotate(45deg); }
.drop-text { font-size: 15px; }
.drop-text strong { color: var(--accent); }
.drop-hint { font-size: 12.5px; color: var(--muted); }
.drop.has-file { border-style: solid; border-color: var(--good); background: #f3faf5; }
.drop.has-file input[type=file], .drop.has-file .drop-inner { display: none; }
.drop-file { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; }
.file-name { font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.file-name::before { content: "\2713  "; color: var(--good); }

.notes summary { cursor: pointer; color: var(--accent); font-size: 14.5px; font-weight: 600; }
.notes textarea { margin-top: 8px; }

.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); margin-top: 16px; cursor: pointer; }
.agree input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: 9px; padding: 11px 13px; font-size: 14.5px; margin: 0 0 16px; }
.notice-error { background: var(--err-bg); color: var(--err); border: 1px solid #f7c7c1; margin-top: 18px; margin-bottom: 0; }
.notice-info { background: var(--accent-soft); color: var(--ink); border: 1px solid #c9dff0; }

.btn-pay { width: 100%; margin-top: 20px; padding: 16px 20px; font-size: 16.5px; justify-content: space-between; }
.btn-price { background: rgba(255, 255, 255, .16); padding: 5px 9px; border-radius: 7px; font-size: 15px; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.lock { width: 11px; height: 9px; background: var(--muted); border-radius: 2px; position: relative; margin-top: 4px; flex: none; }
.lock::before { content: ""; position: absolute; left: 1.5px; top: -6px; width: 8px; height: 7px; border: 1.5px solid var(--muted); border-bottom: 0; border-radius: 4px 4px 0 0; }

.spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: 28px; letter-spacing: -.4px; margin-bottom: 24px; }
.deliver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliver { padding: 22px; box-shadow: none; }
.deliver h3 { font-size: 17px; margin-bottom: 8px; }
.deliver p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 16.5px; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--muted); font-weight: 400; }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 10px 0 0; color: var(--text); }

/* Footer */
.site-footer { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

/* Success page */
.status-wrap { max-width: 620px; margin: 56px auto; padding: 0 20px; }
.status-card { padding: 34px; }
.status-card h1 { font-size: 28px; margin-bottom: 8px; }
.status-card .sub { color: var(--muted); margin: 0 0 26px; }
.progress { list-style: none; padding: 0; margin: 0; }
.progress li { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.progress li:last-child { border-bottom: 0; }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; position: relative; }
.progress li.done { color: var(--ink); }
.progress li.done .dot { background: var(--good); border-color: var(--good); }
.progress li.done .dot::after { content: ""; position: absolute; left: 7px; top: 3px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.progress li.active { color: var(--ink); font-weight: 600; }
.progress li.active .dot { border-color: var(--accent); border-top-color: transparent; animation: spin .9s linear infinite; }
.status-msg { margin-top: 22px; }

/* Legal pages */
.legal { max-width: 760px; margin: 40px auto 64px; padding: 36px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .order-col { position: static; }
  .hero h1 { font-size: 36px; }
  .deliver-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 30px; }
  .lede { font-size: 16.5px; }
  .order-card { padding: 18px; }
  .header-nav a:not(.btn) { display: none; }
  .label-row { flex-wrap: wrap; }
  .legal, .status-card { padding: 22px; }
  .btn-pay { font-size: 15.5px; }
}
.mt { margin-top: 22px; }
