:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5d6470;
  --line: #e2e5ea;
  --brand: #0f766e;
  --brand-dark: #0b5a54;
  --brand-soft: #e6f4f2;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #067647;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header / footer */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--brand); }
.main-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--brand); }
@media (max-width: 520px) {
  .site-header .wrap { height: auto; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .main-nav { gap: 4px 14px; justify-content: flex-start; font-size: .9rem; }
}
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
.site-footer { margin-top: 56px; padding: 32px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; background: var(--card); }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-cols h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text); margin-bottom: 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--brand); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }

/* Hero */
.hero { padding: 36px 0 20px; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 1.08rem; margin: 0; max-width: 620px; }
.steps-strip { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.steps-strip b { color: var(--brand); }

/* Layout */
.order-layout { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 900px) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .summary { position: sticky; top: 16px; }
}
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.num { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; font-weight: 700; flex: none; }

/* Dropzone */
.dropzone {
  display: block; border: 2px dashed #c3cad4; border-radius: var(--radius); padding: 32px 16px;
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--brand); background: var(--brand-soft); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone:focus-within { outline: 3px solid rgba(15, 118, 110, .35); outline-offset: 2px; }
.dropzone strong { display: block; font-size: 1.05rem; }
.dropzone small { color: var(--muted); }
.file-info { display: none; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; }
.file-info.show { display: flex; }
.file-info .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-info .meta { color: var(--muted); font-size: .9rem; }
.file-info .grow { flex: 1; min-width: 0; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }

/* Forms */
.field { margin-bottom: 14px; }
.field label, .group-label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfd5dd; border-radius: 8px; background: #fff; color: var(--text);
}
textarea { resize: vertical; min-height: 72px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15, 118, 110, .18); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 10px 12px; border: 1px solid #cfd5dd; border-radius: 8px; cursor: pointer; font-size: .95rem;
}
.choice span small { display: block; color: var(--muted); font-size: .82rem; }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid rgba(15, 118, 110, .35); }

.stepper { display: flex; align-items: center; gap: 8px; max-width: 180px; }
.stepper button { width: 40px; height: 40px; flex: none; border: 1px solid #cfd5dd; background: #fff; border-radius: 8px; font-size: 1.2rem; cursor: pointer; }
.stepper input { text-align: center; }

/* Summary */
.summary dl { margin: 0; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .95rem; }
.summary .row dt { color: var(--muted); }
.summary .row dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 1.15rem; font-weight: 700; }
.summary .total dt { color: var(--text); }
.hint { color: var(--muted); font-size: .85rem; margin: 10px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 13px 18px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: 1.02rem;
  color: #fff; background: var(--brand); cursor: pointer; margin-top: 16px; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); }
.btn:disabled { background: #9aa3ad; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--text); border: 1px solid #cfd5dd; }
.btn.small { width: auto; padding: 8px 14px; font-size: .9rem; margin: 0; }

.alert { padding: 12px 14px; border-radius: 8px; margin-top: 12px; font-size: .95rem; display: none; }
.alert.show { display: block; }
.alert.error { background: var(--danger-soft); color: var(--danger); }
.alert.info { background: var(--brand-soft); color: var(--brand-dark); }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.trust div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-size: .92rem; color: var(--muted); }
.trust b { display: block; color: var(--text); margin-bottom: 2px; }

/* Order status */
.status-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .82rem; font-weight: 700; background: var(--line); color: var(--text); white-space: nowrap; }
.status-badge.paid, .status-badge.printing { background: #fff4d6; color: #8a5a00; }
.status-badge.shipped { background: #e0ecff; color: #1d4ed8; }
.status-badge.delivered { background: #dcfae6; color: var(--ok); }
.status-badge.cancelled { background: var(--danger-soft); color: var(--danger); }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--text); }
.timeline li.done::before { background: var(--brand); }

/* Admin */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .03em; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: #fafbfc; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar select { width: auto; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.kv { font-size: .95rem; }
.kv div { padding: 3px 0; display: flex; align-items: baseline; flex-wrap: wrap; }
.kv span { color: var(--muted); display: inline-block; min-width: 110px; }
.pre { white-space: pre-wrap; }
.mismatch { color: var(--danger); font-weight: 700; }
.match { color: var(--ok); font-weight: 700; }

/* Policies */
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; padding-top: 8px; }
.prose p, .prose li { color: #2b2f36; }

.hidden { display: none !important; }

/* Content pages */
.narrow { max-width: 820px; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.section { margin-top: 40px; }
.section > h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); padding-top: 20px; }
.crumbs a { color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.btn.cta { width: auto; margin: 0; padding: 13px 22px; }
.section .btn.cta { margin-top: 12px; }
.text-link { font-weight: 600; }
.answer p, .answer-box { background: var(--brand-soft); border-left: 4px solid var(--brand); padding: 14px 16px; border-radius: 8px; margin: 0; }
.answer-box { margin: 8px 0 24px; }
.ticks { padding-left: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--brand); font-weight: 800; }
.pill-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); text-decoration: none; font-size: .92rem; }
.pill-links a:hover { border-color: var(--brand); }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; counter-reset: how; }
.how li { counter-increment: how; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.how li::before { content: counter(how); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.how b { display: block; margin-bottom: 4px; }
.how span { color: var(--muted); font-size: .94rem; }
.how.compact { margin-bottom: 8px; }

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 12px; }
.price-cards div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.price-cards span, .price-cards small { display: block; color: var(--muted); font-size: .9rem; }
.price-cards b { display: block; font-size: 1.6rem; color: var(--brand-dark); margin: 4px 0 2px; }
.price-table { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.price-table tbody tr { cursor: default; }
.price-table tbody tr:hover { background: transparent; }
.price-table small { color: var(--muted); }

.service-grid, .guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.service-grid a, .guide-list a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.service-grid a:hover, .guide-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.service-grid b, .guide-list b { display: block; margin-bottom: 4px; color: var(--brand-dark); }
.service-grid span, .guide-list span { color: var(--muted); font-size: .94rem; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.3rem; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 16px 14px; color: #2b2f36; }
.faq details p { margin: 0; }
.prose ol, .prose ul { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose ul.ticks, .prose ul.pill-links { padding-left: 0; }

.m-only { display: none; }
@media (max-width: 600px) {
  .price-table.examples th:nth-child(n+2):nth-child(-n+4), .price-table.examples td:nth-child(n+2):nth-child(-n+4) { display: none; }
  .price-table.examples .m-only { display: inline; }
}
