/* WEB: public pages + shared case components (phones, paper, journey, example stepper). Tokens live in explicat.css only. */
.intro { display: grid; gap: 16px; padding-block: 40px 28px; max-width: 46rem }
.intro p { font-size: 1.15rem; color: var(--muted) }

/* journey */
.journey { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 8px }
.jstep { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; align-content: start }
.jstep .p { font-family: var(--display); font-size: 1.6rem; font-weight: 700 }
.jstep .t { font-weight: 600; line-height: 1.3 }
.jstep .s { font-size: .9rem; color: var(--muted); line-height: 1.4 }
.jstep.free .p { color: var(--ok) }
.jnote { font-size: .95rem; color: var(--muted); padding-top: 6px }
@media (max-width: 760px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* steps */
.step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 28px 0 }
.step-head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 44rem }
.price { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .95rem }

/* paper documents */
.paper { background: var(--paper); color: var(--paper-ink); font: 400 14px/1.5 var(--doc); padding: 36px 40px; border-radius: 4px; box-shadow: var(--shadow); position: relative; overflow: hidden; max-width: 640px }
.paper p + p { margin-top: 10px }
.paper .stamp { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%) rotate(-18deg); font: 700 72px/1 var(--doc); letter-spacing: .12em; color: rgba(179,18,46,.13); border: 6px solid rgba(179,18,46,.13); padding: 6px 22px; pointer-events: none; white-space: nowrap }
.paper .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap }
.paper .sender { font-weight: 700; font-size: 15px }
.paper .h { font-weight: 700; font-size: 17px; margin-top: 18px }
.paper table { border-collapse: collapse; width: 100%; margin-top: 12px }
.paper td { border-top: 1px solid var(--paper-line); padding: 6px 0; vertical-align: top }
.paper td:last-child { text-align: right; font-variant-numeric: tabular-nums; padding-left: 12px }
.paper .small { font-size: 12px; color: #555 }
.paper .pg { position: absolute; bottom: 12px; right: 18px; font-size: 11px; color: #777 }
.pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start }
.pages .paper { padding: 30px 30px 40px; font-size: 13px }
.pagelabel { font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px }
.win { border: 1px dashed #B9B9B9; padding: 8px 10px; margin: 14px 0; width: min(260px, 100%) }
.sigbox { border: 1px solid #9A9A9A; height: 54px; width: 210px; max-width: 100%; margin: 10px 0 4px }
.rohead { background: #F3EEE3; color: #5B4A2E; font-weight: 700; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; padding: 6px 10px; margin: -30px -30px 18px; }
@media (max-width: 760px) { .pages { grid-template-columns: minmax(0, 1fr) } .paper, .pages .paper { padding: 26px 20px 36px } .rohead { margin: -26px -20px 18px } .paper .stamp { font-size: 48px } }

/* phone */
.phones { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start }
.phones.trio { gap: 16px; justify-content: space-between }
.phone { width: 360px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 30px; padding: 14px; box-shadow: var(--shadow) }
.phones.trio .phone { width: 336px; padding: 10px; border-radius: 28px }
.screen { background: var(--linen); border-radius: 20px; padding: 18px 16px 20px; display: grid; gap: 14px; min-width: 0 }
.phones.trio .screen { padding: 14px 14px 16px; gap: 12px }
.sbar { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--muted) }
.sbar .wm { font-size: 1.15rem }
.q { display: grid; gap: 8px }
.q .ql { font-weight: 600; line-height: 1.35 }
.opts { display: flex; flex-wrap: wrap; gap: 8px }
.card h3 { font-size: 1.05rem }
.src b { color: var(--ink); font-weight: 600 }
.btnrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px }
.confirmed { display: none; color: var(--ok); font-weight: 700; text-align: center }
.isok .confirmed { display: block }
.isok .btnrow { display: none }
ol.plain, ul.plain { margin: 0; padding-left: 1.2em; display: grid; gap: 6px }
@media (max-width: 600px) { .phone { padding: 8px; border-radius: 24px } .screen { padding: 14px 12px 16px } }

/* upload */
.dropzone { border: 2px dashed var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; text-align: center; background: var(--surface) }
.thumbs { display: flex; gap: 10px; justify-content: center }
.thumb { width: 72px; aspect-ratio: 3/4; max-width: 100%; border-radius: 6px; background: var(--paper); box-shadow: var(--shadow); position: relative; padding: 8px 7px; display: grid; gap: 4px; align-content: start }
.thumb i { display: block; height: 3px; border-radius: 2px; background: #CFCFCF }
.thumb .ok { position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700 }
.thumb.add { background: transparent; border: 1.5px dashed var(--line); box-shadow: none; place-items: center; align-content: center; color: var(--muted); font-size: 1.6rem }
.formats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center }
.pastebox { border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); padding: 10px 12px; font-size: .92rem; color: var(--muted); line-height: 1.45 }

/* account */
.acct { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden }
.acct-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap }
.acct-bar .wm { font-size: 1.4rem }
.acct-nav { display: flex; gap: 4px; flex-wrap: wrap; font-size: .95rem }
.acct-nav span { padding: 6px 12px; border-radius: 8px; color: var(--muted) }
.acct-nav span.on { background: var(--linen); color: var(--ink); font-weight: 600 }
.acct-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 22px; padding: 22px }
.folder-h { display: grid; gap: 8px; margin-bottom: 16px }
.folder-h .tags { display: flex; gap: 6px; flex-wrap: wrap }
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line) }
.docs li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line) }
.docs .ic { width: 36px; height: 44px; border-radius: 4px; border: 1px solid var(--line); background: var(--linen); display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: var(--muted) }
.docs .ic.out { background: var(--ink); color: var(--linen); border-color: var(--ink) }
.docs .nm { font-weight: 600; line-height: 1.3 }
.docs .mt { font-size: .88rem; color: var(--muted) }
.docs a { color: var(--ink); font-weight: 600; font-size: .92rem }
.side { display: grid; gap: 14px; align-content: start }
.deadline { background: var(--red-soft); border-radius: 14px; padding: 16px; display: grid; gap: 4px }
.deadline .d { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--red) }
.meter { height: 10px; border-radius: 6px; background: var(--linen); border: 1px solid var(--line); overflow: hidden }
.meter i { display: block; height: 100%; background: var(--ink); width: 30% }
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem }
.tl li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px }
.tl .when { color: var(--muted); font-variant-numeric: tabular-nums }
.tl .fut { color: var(--muted); font-style: italic }
.up { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px }
.up b { font-weight: 700 }
.up .amt { color: var(--ink) }
@media (max-width: 820px) { .acct-body { grid-template-columns: minmax(0, 1fr) } }

/* pack */
.pack { display: grid; gap: 20px }
.bil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px }
.bil .lang { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #777; margin-bottom: 6px }
.hl { background: #FCE8EB; color: #8E0F25; padding: 1px 4px; border-radius: 3px; font-weight: 700 }
.paper ul { margin: 6px 0 0; padding-left: 1.1em }
.paper li + li { margin-top: 4px }
@media (max-width: 760px) { .bil { grid-template-columns: minmax(0, 1fr) } }

/* screen-by-screen */
.scr[hidden] { display: none !important }
.stepper { display: flex; gap: 6px; flex-wrap: wrap; padding-block: 16px 0 }
.stepper button { font: 600 .9rem var(--body); min-height: 40px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center }
.stepper button .k { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: .8rem }
.stepper button[aria-current="step"] { background: var(--ink); color: var(--linen); border-color: var(--ink) }
.stepper button[aria-current="step"] .k { background: var(--red); color: #fff }
.navbar { position: sticky; bottom: 0; margin-top: 32px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--linen); border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; justify-content: space-between; z-index: 5 }
.navbar .btn { width: auto; min-width: 140px }
.navbar .pos { color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums }
.navbar .btn[disabled] { opacity: .35; cursor: default }
@media (max-width: 600px) { .stepper button .lbl { display: none } .navbar .btn { min-width: 110px } }

.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .95rem; color: var(--muted); max-width: 46rem }
.fine b { color: var(--ink) }
@media (prefers-reduced-motion: no-preference) { .opt, .btn { transition: background .15s, color .15s, border-color .15s } }

/* ---- site chrome additions ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 36px 20px }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem }
.hero .ctas { display: grid; gap: 10px; max-width: 26rem }
.hero .ctas .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.hero .reassure { display: flex; gap: 8px; flex-wrap: wrap }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero .phones { justify-content: center } }
.handoff { display: none; gap: 14px; grid-template-columns: auto minmax(0, 1fr); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-top: 8px; max-width: 34rem }
.handoff .qr { width: 84px; height: 84px; border-radius: 10px; border: 1px dashed var(--line); display: grid; place-items: center; font-size: .75rem; color: var(--muted); text-align: center }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .handoff { display: grid } }
.section { padding-block: 36px 0; display: grid; gap: 18px }
.journey .jstep { min-width: 0 }
.teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px }
@media (max-width: 760px) { .teaser { grid-template-columns: minmax(0, 1fr) } }
.prose { max-width: 46rem; display: grid; gap: 14px }
.prose h2 { margin-top: 18px; font-size: 1.5rem }
.prose h3 { margin-top: 8px }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px }
.prose table, table.plain { border-collapse: collapse; width: 100%; font-size: .98rem }
.prose th, .prose td, table.plain th, table.plain td { border-top: 1px solid var(--line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top }
.prose th { color: var(--muted); font-weight: 600 }
.lang-en { margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--line) }
.entity { border-radius: var(--radius); padding: 14px 16px; background: var(--surface); border: 1px solid var(--line) }
.faq details { border-top: 1px solid var(--line); padding: 4px 0 }
.faq summary { cursor: pointer; font-weight: 600; min-height: var(--tap); display: flex; align-items: center; list-style-position: outside }
.faq details p { padding-bottom: 14px; color: var(--muted) }
.pricegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px }
@media (max-width: 760px) { .pricegrid { grid-template-columns: minmax(0, 1fr) } }
.pricegrid .card .p { font-family: var(--display); font-size: 2rem; font-weight: 700 }
.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.linklist a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; min-height: var(--tap) }
.linklist a:hover { border-color: var(--ink) }
.statebox { max-width: 40rem; margin: 40px auto; display: grid; gap: 14px; text-align: center; justify-items: center }
.small { font-size: .9rem }
.lead { font-size: 1.15rem }
.stepper[hidden] { display: none }
.card .p { font-family: var(--display); font-size: 2rem; font-weight: 700 }

/* ---- marketing: how we differ ---- */
.cmp { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface) }
.cmp-h, .cmp-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 }
.cmp-h span { padding: 10px 16px; font-weight: 700; background: var(--linen); border-bottom: 1px solid var(--line) }
.cmp-h span:last-child { color: var(--red) }
.cmp-r span { padding: 12px 16px; border-top: 1px solid var(--line) }
.cmp-h + .cmp-r span { border-top: 0 }
.cmp-r span:last-child, .cmp-h span:last-child { border-left: 1px solid var(--line) }
.pts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.pts .card p { font-size: .98rem }
@media (max-width: 860px) { .pts { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .pts { grid-template-columns: minmax(0, 1fr) } .cmp-h span, .cmp-r span { padding: 10px 12px; font-size: .95rem } }
