:root {
  --bg: #F6F4EF; --paper: #FBFAF7; --surface: #FFFFFF;
  --ink: #15211D; --body: #45514C; --muted: #5F6964; --faint: #B3B9B5;
  --line: #E3DFD5; --line2: #EDEAE2; --field: #868E89;
  --brand: #0F5A4A; --brand-ink: #0A4236; --brand-hover: #0C4C3F; --brand-soft: #E4EFEA; --brand-line: #C5DDD3;
  --amber: #8F5512; --amber-soft: #FBF1E1; --amber-line: #EED6AF;
  --red: #B9432E; --red-soft: #F9E9E4; --blue: #2F5F8F; --blue-soft: #E7EEF5;
  --dark: #102722;
  --shadow: 0 1px 2px rgba(21,33,29,.04), 0 8px 28px -12px rgba(21,33,29,.12);
  --shadow-lg: 0 2px 4px rgba(21,33,29,.04), 0 28px 60px -24px rgba(21,33,29,.28);
  --sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); }
html { scroll-padding-top: 88px; } /* keeps focused elements clear of the sticky header */
body { font-family: var(--sans); color: var(--ink); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
svg { flex: none; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: 0; } /* headings that only receive focus from script */
.cta :focus-visible, .sidecard.dark :focus-visible, .tile.big :focus-visible { outline-color: #fff; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 500; }
.skip:focus { top: 12px; }
.ferr { color: var(--red); font-size: 13px; margin-top: 6px; }
.inp[aria-invalid="true"] { border-color: var(--red); }
.inp:focus-visible, .phone input:focus-visible { outline: 0; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.u { text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; color: var(--ink); font-weight: 500; }
.u:hover { text-decoration-color: var(--ink); }
em { font-style: italic; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: var(--brand); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.mini-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 500; font-size: 13.5px; }
.link:hover { color: var(--brand-ink); }
.pill { font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 2px 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 18px; font-weight: 500; font-size: 14.5px; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .15s, opacity .15s; white-space: nowrap; }
.btn:disabled { cursor: not-allowed; opacity: .45; }
[aria-disabled="true"] { cursor: progress; opacity: .7; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(10,66,54,.3); }
.btn-primary:not(:disabled):hover { background: var(--brand-hover); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #F1EFE8; }
.btn-oauth { width: 100%; background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 12px; margin-bottom: 10px; }
.btn-oauth:hover { border-color: var(--faint); background: var(--paper); }
.btn-apple { width: 100%; background: #000; color: #fff; padding: 12px; margin-bottom: 10px; }
.btn-apple:hover { background: #1d1d1f; }
.btn-apple .spin { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 14px 18px; font-size: 15px; }
.grow { flex: 1; }
.iconbtn { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); flex: none; }
.iconbtn:hover { background: var(--line2); color: var(--ink); }
.btn-ghost .spin, .btn-oauth .spin { border-color: var(--line); border-top-color: var(--ink); }
.spin { display: inline-block; flex: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- headers ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(246,244,239,.86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .in { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; color: var(--ink); }
.logo .mark { color: var(--brand); }
.nav { display: flex; gap: 28px; margin-left: 28px; font-size: 14px; color: var(--body); }
.nav a:hover, .navlink:hover { color: var(--ink); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.navlink { font-size: 14px; color: var(--body); font-weight: 500; }
.secure-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--body); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; }
.secure-pill svg { color: var(--brand); }
.stepper { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0 auto; }
.stepper li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.stepper li + li::before { content: ""; width: 36px; height: 1px; background: var(--line); margin-right: 6px; }
.stepper .dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); }
.stepper li.on { color: var(--ink); font-weight: 500; }
.stepper li.on .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.stepper li.done { color: var(--body); }
.stepper li.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.stepper li.done + li::before, .stepper li.on + li::before { background: var(--line); }
.stepper li.done + li.done::before, .stepper li.done + li.on::before { background: var(--brand); }
.funnel .logo + .secure-pill { margin-left: auto; }

/* ---------- landing ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(21,33,29,.08) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); pointer-events: none; }
.hero .in { position: relative; max-width: 1040px; margin: 0 auto; padding: 72px 24px 56px; text-align: center; }
.hero h1 { font-size: clamp(42px, 6.6vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; margin: 22px auto 0; max-width: 860px; }
.hero h1 em { display: inline-block; font-size: 1.08em; letter-spacing: -.02em; }
.hero .lead { font-size: 18px; color: var(--body); max-width: 600px; margin: 22px auto 0; line-height: 1.55; }
.composer { margin: 44px auto 0; max-width: 880px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.composer-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line2); background: var(--paper); font-size: 13.5px; }
.composer-bar .mono { margin-left: auto; font-size: 12px; color: var(--muted); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.composer-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 0; }
.composer-body > div { padding: 22px; }
.composer-side { border-left: 1px solid var(--line2); display: flex; flex-direction: column; gap: 16px; }
.drop:focus-within { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: 2px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 250px; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--paper); padding: 24px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--brand-soft); }
.drop.compact { min-height: 0; padding: 14px 16px; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; row-gap: 0; align-items: center; text-align: left; }
.drop.compact .drop-ic { margin: 0; width: 38px; height: 38px; grid-row: span 2; }
.drop.compact small { margin: 0; }
.drop.compact b { font-size: 14px; }
.drop-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(21,33,29,.05); }
.drop b { font-weight: 500; font-size: 16px; }
.drop small { color: var(--muted); font-size: 13px; margin-top: 4px; }
.drop u { text-decoration-color: var(--faint); text-underline-offset: 3px; color: var(--ink); }
.fmts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.fmts span { font-family: var(--mono); font-size: 10.5px; color: var(--body); border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 2px 7px; }
.filelist { display: grid; gap: 8px; margin-top: 12px; }
.frow { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.frow[data-row] { cursor: pointer; }
.frow-name { display: block; width: 100%; min-width: 0; text-align: left; }
.frow.on { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.frow > div { min-width: 0; flex: 1; }
.frow b { display: block; font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frow small { color: var(--muted); font-size: 12.5px; }
.fic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.fic.cv { background: var(--brand-soft); color: var(--brand); }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s; }
.opt:hover { border-color: var(--brand-line); }
.opt.on { border-color: var(--brand-line); background: var(--brand-soft); }
.opt > span:nth-child(2) { flex: 1; }
.opt b { display: block; font-weight: 500; font-size: 14px; }
.opt small { color: var(--muted); font-size: 12.5px; }
.opt-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.opt.on .opt-ic { background: var(--surface); }
.next { list-style: none; counter-reset: n; display: grid; gap: 10px; padding: 4px 2px; margin-top: 4px; flex: 1; }
.next li { counter-increment: n; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--body); }
.next li::before { content: counter(n); width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tiny { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 880px; margin: 40px auto 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 8px 0; text-align: left; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; line-height: 1.1; }
.facts span { font-size: 13px; color: var(--muted); }

.sec { padding: 96px 0; scroll-margin-top: 64px; }
.sec.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec .in { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sec-h { max-width: 640px; margin-bottom: 48px; }
.sec h2, .cta h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; margin-top: 14px; }
.sec h2 em, .cta h2 em { font-size: 1.08em; letter-spacing: -.01em; }
.howto { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.howto > div { padding: 26px 28px 0 0; }
.howto > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.howto .num { font-family: var(--mono); font-size: 13px; color: var(--brand); }
.howto h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 26px 0 8px; }
.howto p { color: var(--body); font-size: 15px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.tile.big { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: end; background: var(--dark); color: #E8EEEB; border-color: var(--dark); }
.tile.big h3 { color: #fff; font-size: 26px; }
.tile.big p { color: #A9BAB3; }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -.015em; margin: 16px 0 6px; }
.tile p { color: var(--body); font-size: 14.5px; }
.tile-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.receipt { background: #FDFCF8; color: #222; font-family: var(--mono); font-size: 11.5px; padding: 18px 18px 22px; border-radius: 4px; transform: rotate(1.5deg); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55); position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(-45deg, transparent 6px, #FDFCF8 0) 0 0 / 12px 8px, linear-gradient(45deg, transparent 6px, #FDFCF8 0) 0 0 / 12px 8px; }
.receipt .r-h { text-align: center; letter-spacing: .12em; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed #bbb; }
.receipt div:not(.r-h) { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.receipt span:first-child { color: #5e5e5e; }
.receipt .ok { color: var(--brand); font-weight: 500; }
.price-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.pc-l { padding: 36px; border-right: 1px solid var(--line2); }
.pc-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 10px; }
.pc-price b { font-family: var(--serif); font-weight: 400; font-size: 72px; line-height: 1; letter-spacing: -.02em; }
.pc-price span { color: var(--muted); }
.pc-l p { color: var(--body); margin-bottom: 26px; max-width: 360px; }
.pc-r { list-style: none; padding: 36px; display: grid; gap: 14px; align-content: center; background: var(--paper); }
.pc-r li { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.pc-r svg { color: var(--brand); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quotes figure, .side-quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 14px; }
.quotes blockquote { font-family: var(--serif); font-size: 22px; line-height: 1.3; flex: 1; }
.quotes figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.quotes figcaption i { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; }
.quotes figcaption small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq-wrap .muted { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { color: var(--body); padding: 0 40px 20px 0; }
.cta { background: var(--dark); color: #fff; }
.cta .in { max-width: 1080px; margin: 0 auto; padding: 80px 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 760px; }
.cta h2 em { color: #9FD4C2; }
.ftr { background: var(--bg); border-top: 1px solid var(--line); }
.ftr .in { max-width: 1080px; margin: 0 auto; padding: 56px 24px 28px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; font-size: 14px; }
.ftr h2 { font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.ftr nav a { display: block; color: var(--body); margin-bottom: 10px; }
.ftr nav a:hover { color: var(--ink); }
.ftr-brand p { color: var(--body); margin-top: 14px; max-width: 320px; }
.ftr-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ftr-badges span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.ftr-badges svg { color: var(--brand); }
.ftr .cp { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* ---------- flow (steps 2–4) ---------- */
.flow { max-width: 1120px; margin: 0 auto; padding: 44px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 40px; row-gap: 14px; align-items: start; }
.flow-kicker { grid-column: 1 / -1; }
.flow > .flow-head { grid-column: 1; grid-row: 2; }
.flow > .flow-main { grid-column: 1; grid-row: 3; }
.flow > .ticket { grid-column: 2; grid-row: 3; }
.flow-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.flow-head { margin-bottom: 12px; }
.flow-head h1, .auth-h { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; font-weight: 600; letter-spacing: -.035em; margin: 0 0 10px; }
.flow-head h1 em, .auth-h em { font-size: 1.08em; letter-spacing: -.01em; }
.flow-head p { color: var(--body); font-size: 16px; max-width: 520px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.block { padding: 24px; position: relative; }
.block-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.block-h h2 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.block .filelist { margin-top: 0; }
.flabel { display: block; font-weight: 500; font-size: 14px; margin-bottom: 8px; }
.compose .flabel:not(:first-child) { margin-top: 22px; }
.phone { display: flex; align-items: center; border: 1px solid var(--field); border-radius: 12px; background: var(--surface); position: relative; transition: border-color .15s, box-shadow .15s; }
.phone:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.phone.valid { border-color: var(--brand); }
.phone .cc { display: flex; align-items: center; gap: 7px; padding: 0 12px 0 14px; height: 52px; border-right: 1px solid var(--line2); font-size: 18px; color: var(--muted); }
.phone .cc span { font-family: var(--mono); font-size: 15px; color: var(--ink); }
.phone .cc .flag { font-family: inherit; font-size: 18px; }
.phone input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 14px; height: 52px; font-family: var(--mono); font-size: 19px; letter-spacing: .02em; }
.phone input::placeholder { color: var(--muted); }
.phone .vok { color: var(--brand); margin-right: 14px; display: grid; }
.cclist { position: absolute; top: calc(100% + 6px); left: 0; z-index: 10; width: 260px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; }
.cclist button { display: flex; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 8px; font-size: 14px; text-align: left; }
.cclist button:hover { background: var(--paper); }
.cclist small { margin-left: auto; color: var(--muted); font-family: var(--mono); }
.hint { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.hint svg { color: var(--brand); }
.hint.err, .hint.err svg { color: var(--red); }
.actions { display: flex; gap: 10px; margin-top: 8px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.fine.center { text-align: center; margin-top: 0; }
.fine svg { vertical-align: -2px; margin-right: 2px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 8px 0 16px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.auth .or { margin-top: 6px; }
.emailform .fl:first-child { margin-top: 0; }
.exists { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font-size: 13.5px; }
.exists svg { margin-top: 2px; }
.linkmsg { color: var(--brand-ink); }
.side-quote { margin-top: 18px; box-shadow: none; background: transparent; gap: 10px; }
.side-quote blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.3; }
.side-quote figcaption { font-size: 13px; color: var(--body); }
.side-quote figcaption span { color: var(--muted); }
.auth-page { max-width: 460px; margin: 0 auto; padding: 56px 24px 80px; }
.auth-page .block { padding: 32px; }
.auth-h { margin-top: 0; }

/* ticket (sticky summary) */
.ticket { position: sticky; top: 88px; display: grid; gap: 14px; }
.ticket-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.ticket-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line2); font-size: 14px; font-weight: 500; }
.ticket-h > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ticket-h svg { color: var(--brand); }
.ticket-h .mono { font-size: 12px; color: var(--muted); font-weight: 400; }
.viewer { background: #E9E6DE; padding: 18px 18px 0; position: relative; }
.viewer .sheet { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px -10px rgba(0,0,0,.25); min-height: 300px; overflow: hidden; }
.viewer canvas, .viewer .sheet > img { display: block; max-width: 100%; margin: 0 auto; }
.viewer .empty { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 10px; }
.vbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0 12px; font-size: 12px; color: var(--body); }
.vbar > .mono:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pager { display: inline-flex; align-items: center; gap: 8px; }
.pager button { width: 24px; height: 24px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); line-height: 1; font-size: 15px; }
.vtabs { display: flex; gap: 6px; padding: 10px 18px 0; overflow-x: auto; }
.vtabs button { font-size: 12.5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); white-space: nowrap; max-width: 170px; overflow: hidden; text-overflow: ellipsis; color: var(--body); }
.vtabs button.on { border-color: var(--ink); color: var(--ink); }
.ticket-files { padding: 14px 18px 4px; display: grid; gap: 10px; }
.ticket-files > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; }
.ticket-files .fic { grid-row: span 2; }
.ticket-files b { font-weight: 500; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-files small { color: var(--muted); font-size: 12.5px; }
.rows { padding: 8px 18px 14px; }
.rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.rows > div:last-child { border-bottom: 0; }
.rows dt { color: var(--muted); }
.rows dd { text-align: right; font-weight: 500; }

/* rendered fax pages */
.fax { font-family: Arial, Helvetica, sans-serif; color: #111; padding: 22px 20px 34px; font-size: 8px; line-height: 1.4; }
.fax .t { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2px solid #111; padding-bottom: 10px; }
.fax .ft { font-size: 26px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.fax .sub { font-size: 8px; text-transform: uppercase; letter-spacing: .2em; margin-top: 4px; color: #555; }
.fax .brand { text-align: right; }
.fax .brand b { display: block; font-size: 9px; }
.fax .brand span { font-size: 7px; color: #555; }
.fax .meta { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 7px; margin-top: 12px; }
.fax .meta .full { grid-column: 1 / -1; }
.fax .meta span { display: block; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 6.5px; color: #555; }
.fax .meta b { display: block; font-weight: 400; font-size: 8.5px; padding: 1px 0 3px; border-bottom: 1px solid #ddd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fax .conf { margin-top: 14px; font-style: italic; color: #555; font-size: 6.5px; }
.fax .ffoot { text-align: center; color: #555; font-size: 6.5px; margin-top: 18px; }
.fax .msgl { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 7px; color: #555; margin-top: 16px; }
.fax .msg { border: 1px solid #ccc; min-height: 90px; padding: 6px 8px; margin-top: 5px; white-space: pre-wrap; }
.stamp { display: inline-block; margin: 16px 6px 0 0; border: 1.5px solid #9b2a1a; color: #9b2a1a; border-radius: 3px; padding: 2px 6px; font-weight: 800; font-size: 8px; letter-spacing: .08em; transform: rotate(-4deg); text-transform: uppercase; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(16,39,34,.45); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; z-index: 50; padding: 16px; animation: fade .15s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(820px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; box-shadow: var(--shadow-lg); }
.modal .f { padding: 26px; }
.modal-h { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.modal h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin-top: 6px; }
.modal .p { background: #E9E6DE; padding: 22px; }
.modal .p .mini-label { margin-bottom: 12px; }
.modal .p .sheet { background: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,.25); }
.modal .actions { margin-top: 22px; flex-wrap: wrap; }
.htable .link { font-size: 14px; }
.inp { display: block; width: 100%; border: 1px solid var(--field); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; outline: 0; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.inp::placeholder { color: var(--muted); }
textarea.inp { resize: vertical; min-height: 96px; }
.fl { display: block; font-size: 13px; font-weight: 500; margin: 14px 0 6px; }
.fl .cnt { float: right; font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--muted); }
.req { color: var(--red); font-style: normal; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; }
.tag.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* payment */
.plan { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--brand); border-radius: 12px; background: var(--brand-soft); }
.plan > div:nth-child(2) { flex: 1; }
.plan b { font-weight: 600; }
.plan small { display: block; color: var(--body); font-size: 13px; }
.radio { width: 18px; height: 18px; border-radius: 50%; border: 5px solid var(--brand); background: #fff; flex: none; }
.timer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 11px 14px; border: 1px solid var(--amber-line); background: var(--amber-soft); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--amber); }
.timer b { font-weight: 600; }
.timer.done { color: var(--muted); background: var(--paper); border-color: var(--line); }
.pm-h { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: 22px 0 12px; padding-top: 22px; border-top: 1px solid var(--line2); }

/* payment step: fax on the left, price and payment on the right */
.paypage { max-width: 1160px; margin: 0 auto; padding: 40px 24px 72px; }
.pay-head { text-align: center; margin-bottom: 32px; }
.pay-head h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; margin: 12px 0 8px; }
.pay-head h1 em { font-size: 1.08em; letter-spacing: -.01em; }
.pay-head p { color: var(--body); }
.paycard { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); border-radius: 20px; overflow: hidden; margin-bottom: 18px; }
.pc-send, .pc-pay { padding: 32px; }
.pc-pay { border-left: 1px solid var(--line2); }
.pc-send h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; margin: 6px 0 20px; }
.sendbox { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); position: relative; }
.thumb { flex: none; width: 76px; height: 98px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 9px; display: grid; align-content: start; gap: 7px; background: var(--surface); }
.thumb i { height: 3px; border-radius: 2px; background: var(--line); }
.thumb i:first-child { background: var(--red); opacity: .55; }
.thumb i:nth-child(3) { width: 60%; }
.sendfiles { flex: 1; min-width: 0; display: grid; gap: 12px; align-content: start; }
.sendfiles > div:not(.sendto) b { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 40px; }
.sendfiles small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; }
.sendfiles small strong { color: var(--ink); font-weight: 600; }
.sendfiles > .edit { position: absolute; top: 16px; right: 16px; }
.sendto { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line2); }
.sendto > div { flex: 1; min-width: 0; }
.sendto b { font-weight: 600; font-size: 15px; }
.sendto .ctry { font-size: 14px; font-weight: 500; }
.sendto-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.paycard .edit { font-size: 12.5px; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.perks { list-style: none; display: grid; gap: 14px; margin: 24px 0; font-size: 14.5px; color: var(--body); }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks b { color: var(--ink); font-weight: 600; }
.tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.assure { display: flex; gap: 12px; padding: 16px 18px; border: 1.5px dashed var(--brand-line); border-radius: 14px; }
.assure > svg { color: var(--brand); margin-top: 1px; }
.assure b { font-weight: 600; }
.assure p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bigprice { display: flex; align-items: baseline; gap: 10px; }
.bigprice b { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.bigprice s { color: var(--muted); font-size: 18px; font-weight: 500; }
.bigprice span { color: var(--muted); font-size: 16px; }
.save { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.pc-sub { color: var(--muted); font-size: 13.5px; margin: 10px 0 16px; }
.instant { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--brand-line); background: var(--brand-soft); border-radius: 12px; font-size: 14.5px; }
.instant svg { color: var(--brand); }
.instant b { font-weight: 600; }
#xpay:empty { display: none; }
#xpay-or { margin: 14px 0; }
.paylines { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--body); }
.paylines:empty { display: none; }
.paylines > div { display: flex; justify-content: space-between; }
.paylines .total { color: var(--ink); font-weight: 600; font-size: 15px; padding-top: 8px; border-top: 1px solid var(--line2); }
.paybtn { margin-top: 16px; }
.secure-line { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.trust span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.trust svg { color: var(--brand); }
.paynote { max-width: 780px; margin: 0 auto; }
.main .paycard { margin-top: 12px; }
.skel { height: 46px; border-radius: 10px; background: linear-gradient(90deg, #F1EFE9 0%, #E8E5DD 50%, #F1EFE9 100%); background-size: 200% 100%; animation: sh 1.2s infinite; margin-bottom: 10px; }
@keyframes sh { to { background-position: -200% 0; } }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.xp { height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 16px; font-weight: 500; }
.xp.apple { background: #000; color: #fff; }
.xp.gpay { background: var(--surface); border: 1px solid var(--line); gap: 6px; }
.xp:hover { opacity: .9; }
.pms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pm { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; text-align: left; color: var(--body); }
.pm.on { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.cardform { margin-top: 4px; }
.bank-note { display: flex; gap: 10px; margin-top: 14px; font-size: 13.5px; color: var(--body); background: var(--paper); border: 1px solid var(--line2); border-radius: 10px; padding: 12px 14px; }
#pmbox [data-pay="selected"] { margin-top: 18px; }
.stripe-box { min-height: 160px; } /* Stripe's checkout frame sizes itself once loaded */
.paying { display: flex; align-items: center; gap: 10px; padding: 18px 0; color: var(--body); font-size: 14.5px; }
.spin.dark { border-color: var(--line); border-top-color: var(--brand); }
.plan.warn { border-color: var(--amber-line); background: var(--amber-soft); }
.plan.warn .radio { border-color: var(--amber); }
.sidecard.warn { border-color: var(--amber-line); background: var(--amber-soft); }
.sidecard.warn h2 svg { color: var(--amber); }
.sidecard .link + .link { margin-left: 16px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: #fff; border-radius: 999px; padding: 11px 18px; font-size: 14px; display: flex; align-items: center; gap: 9px; box-shadow: var(--shadow-lg); z-index: 60; animation: rise .25s ease; max-width: calc(100vw - 32px); }
.toast svg { color: #9FD4C2; }
.toast.warn svg { color: #F2C27A; }
@keyframes rise { from { transform: translate(-50%, 12px); opacity: 0; } }

/* ---------- logged-in app ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 28px; padding: 22px 16px; border-right: 1px solid var(--line); background: var(--paper); }
.sidebar .logo { padding: 0 8px; }
.snav { display: grid; gap: 2px; }
.snav button { width: 100%; text-align: left; }
.snav a, .snav button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 14px; color: var(--body); }
.snav a:hover, .snav button:hover { background: var(--line2); color: var(--ink); }
.snav a.on { background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(21,33,29,.05); }
.snav a.on svg { color: var(--brand); }
.count, .soon { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.soon { background: var(--line2); border-radius: 6px; padding: 1px 6px; }
.sb-foot { margin-top: auto; display: grid; gap: 10px; }
.sb-plan { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.sb-plan b { display: block; font-weight: 500; }
.sb-plan small { color: var(--muted); font-size: 12px; }
.sb-plan.ok { border-color: var(--brand-line); background: var(--brand-soft); }
.sb-userw { position: relative; }
.sb-user { width: 100%; text-align: left; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; }
.sb-user:hover { background: var(--line2); }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; flex: none; }
.nm { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 500; }
.nm small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.menu { position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; z-index: 30; cursor: default; }
.menu .me { padding: 8px 10px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line2); }
.menu .me small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.menu .plan-line { padding: 8px 10px; font-size: 12px; color: var(--muted); }
.menu button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.menu button:hover { background: var(--paper); }
.main { padding: 36px 40px 64px; max-width: 1240px; width: 100%; }
.main-h { margin-bottom: 26px; }
.main-h h1 { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }
.main-h p { color: var(--body); margin-top: 4px; }
.dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.recip { display: flex; gap: 10px; }
.recip .phone { flex: 1; min-width: 0; }
.recip .btn { height: 54px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--paper); }
.chip button { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--muted); }
.compose .filelist { margin-top: 10px; }
.compose-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line2); font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.side { display: grid; gap: 16px; }
.sidecard { padding: 20px; }
.sidecard h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; margin: 8px 0 6px; }
.sidecard p { color: var(--body); font-size: 14px; margin-bottom: 14px; }
.sidecard.ok h2 svg { color: var(--brand); }
.sidecard.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.sidecard.dark .mini-label { color: #8FA9A0; }
.sidecard.dark p { color: #B4C4BE; }
.sidecard .block-h { margin-bottom: 6px; }
.mini-fax { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mini-fax:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-fax > div { flex: 1; min-width: 0; }
.mini-fax b { display: block; font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-fax small { color: var(--muted); font-size: 12px; }
.sdot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.sdot.delivered { background: var(--brand); }
.sdot.failed { background: var(--red); }
.sdot.sending { background: var(--amber); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; border-radius: 999px; padding: 3px 10px; background: var(--line2); color: var(--body); white-space: nowrap; }
.st.delivered { background: var(--brand-soft); color: var(--brand-ink); }
.st.failed { background: var(--red-soft); color: var(--red); }
.st.sending { background: var(--amber-soft); color: var(--amber); }
.mini-fax .st { font-size: 11.5px; padding: 2px 8px; }
.filters { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.filters button { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; font-size: 13.5px; color: var(--body); border: 1px solid transparent; }
.filters button span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.filters button.on { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 500; }
.table-card { overflow-x: auto; position: relative; }
.htable { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.htable th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
.htable td { padding: 14px 18px; border-bottom: 1px solid var(--line2); vertical-align: top; color: var(--body); }
.htable tr:last-child td { border-bottom: 0; }
.htable td b { font-weight: 500; color: var(--ink); white-space: nowrap; }
.htable small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.htable td.act { text-align: right; padding-top: 9px; }
.ticket .edit { margin-left: 8px; font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.rows dd small { color: var(--muted); font-weight: 400; }
.m-only { display: none; }
.joined { display: flex; gap: 8px; align-items: flex-start; color: #CFE3DA !important; margin-bottom: 0 !important; }
.joined svg { color: #9FD4C2; margin-top: 2px; }
.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 88px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin: 14px 0 18px; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 30px 0 8px; }
.legal p { color: var(--body); }
.legal p + p, .legal ul + p { margin-top: 10px; }
.legal ul { margin: 10px 0 10px 22px; color: var(--body); display: grid; gap: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.legal .caps { font-size: 13.5px; color: var(--ink); margin-bottom: 12px; }
.legal a.u { word-break: break-word; }
.empty { text-align: center; color: var(--muted); padding: 48px 24px; display: grid; justify-items: center; gap: 12px; }
.flow.in-app { padding: 0; max-width: none; }
.back { margin-bottom: 4px; }

/* language links (footer and account menu) */
.ftr .cp .langs { display: inline-flex; align-items: center; gap: 12px; }
.ftr .cp .langs a { color: var(--body); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.ftr .cp .langs a:hover { color: var(--ink); }
.menu .menu-lang { display: block; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.menu .menu-lang:hover { background: var(--paper); }

/* ---------- Japanese ---------- */
/* Geist and Instrument Serif have no Japanese letters, so Japanese text uses the system's Japanese fonts.
   Headings drop the italic serif accent (Japanese has no italics), and lines break at natural phrase boundaries. */
:lang(ja) {
  --sans: Geist, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif: "Instrument Serif", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  line-break: strict;
  word-break: auto-phrase;
}
:lang(ja) body { line-height: 1.7; }
:lang(ja) em { font-style: normal; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; line-height: 1.3; }
:lang(ja) .hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.2; }
:lang(ja) .sec h2, :lang(ja) .cta h2 { font-size: clamp(28px, 3.8vw, 42px); }
:lang(ja) h1 em, :lang(ja) h2 em { font-family: var(--sans); font-weight: 600; font-size: 1em; }
:lang(ja) .kicker, :lang(ja) .mini-label, :lang(ja) .pm-h, :lang(ja) .ftr h2, :lang(ja) .htable th, :lang(ja) .save { font-family: var(--sans); letter-spacing: .02em; }
:lang(ja) .btn { white-space: normal; }
:lang(ja) .legal .caps { font-weight: 600; }

/* analytics consent (analytics.js) */
.ftr nav button { display: block; color: var(--body); margin-bottom: 10px; text-align: left; }
.ftr nav button:hover { color: var(--ink); }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: min(380px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 16px 18px; font-size: 13.5px; color: var(--body); animation: fade .2s ease; }
.consent b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.consent-now { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.consent-b { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .flow, .dgrid { grid-template-columns: minmax(0, 1fr); }
  .flow > .flow-head, .flow > .flow-main, .flow > .ticket { grid-column: auto; grid-row: auto; }
  .ticket { position: static; }
  .flow .ticket .viewer .sheet { min-height: 0; max-height: 340px; }
  /* Other step names stay available to screen readers when there's no room to show them. */
  .stepper li:not(.on) .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stepper li + li::before { width: 16px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.big { grid-column: 1 / -1; grid-row: auto; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .confirm > .ticket:not(.m-only) { display: none; }
  .m-only { display: grid; position: static; }
  .paycard { grid-template-columns: minmax(0, 1fr); }
  .pc-pay { border-left: 0; border-top: 1px solid var(--line2); }
  .sidebar { position: sticky; z-index: 20; height: auto; flex-direction: row; align-items: center; gap: 12px; padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .logo span { display: none; }
  .snav { display: flex; gap: 2px; }
  .snav a { padding: 7px 10px; }
  .snav a .count, .snav [data-soon] { display: none; }
  .sb-foot { margin: 0 0 0 auto; }
  .sb-plan, .sb-user .nm, .sb-user > svg { display: none; }
  .menu { left: auto; right: 0; bottom: auto; top: calc(100% + 6px); width: 240px; }
  .main { padding: 24px 16px 56px; }
}
@media (max-width: 760px) {
  .top .in { padding: 0 16px; gap: 12px; }
  .nav, .navlink:not(.keep), .secure-pill { display: none; }
  .stepper { margin-right: 0; }
  .hero .in { padding: 48px 16px 40px; }
  .hero .lead { font-size: 16px; }
  .composer-body, .price-card, .faq-wrap, .modal, .two { grid-template-columns: minmax(0, 1fr); }
  .composer-side { border-left: 0; border-top: 1px solid var(--line2); }
  .composer-body > div { padding: 16px; }
  .drop { min-height: 190px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 8px; }
  .sec { padding: 64px 0; }
  .sec .in, .cta .in, .flow, .ftr .in { padding-left: 16px; padding-right: 16px; }
  .howto, .bento, .quotes { grid-template-columns: 1fr; }
  .howto > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 26px; }
  .tile.big { grid-template-columns: 1fr; }
  .pc-l { border-right: 0; border-bottom: 1px solid var(--line2); }
  .pc-l, .pc-r { padding: 26px; }
  .faq-wrap { gap: 24px; }
  .ftr .in { grid-template-columns: 1fr 1fr; }
  .ftr-brand { grid-column: 1 / -1; }
  .flow { padding-top: 28px; }
  .block { padding: 18px; }
  .modal .p { display: none; }
  .express, .pms { grid-template-columns: 1fr; }
  .cardform .two { grid-template-columns: 1fr 1fr; }
  .recip { flex-wrap: wrap; }
  .recip .btn { height: 44px; width: 100%; }
  .modal .f { padding: 20px; }
  .modal .actions .grow { display: none; }
  .modal .actions .btn-primary { flex: 1 1 100%; order: -1; }
  .modal .actions .btn-ghost { flex: 1; }
  .legal { padding: 36px 16px 64px; }
  .paypage { padding: 28px 16px 56px; }
  .pc-send, .pc-pay { padding: 20px; }
  .thumb { display: none; }
  .bigprice b { font-size: 42px; }
}
@media (max-width: 400px) {
  .funnel .logo span { display: none; }
  .top .in { gap: 10px; }
  .stepper li + li::before { width: 10px; margin-right: 4px; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
