/* DeckNari site on decknari.reinza.com - visual design V1 (2026-11-15).
   Colours come from the approved DeckNari logo: navy #0F2B6D ("eck"), blue #066DD9 ("Nari"), sky #00A2FF (the ribbon).
   Light pages only: the logo's navy lettering has little contrast on dark backgrounds, so it is always shown on white. */
:root {
  --navy: #0f2b6d; --navy-deep: #0a1c4a; --ink: #0d1b3a; --blue: #066dd9; --blue-hover: #0558b3; --sky: #00a2ff;
  --text: #24314d; --muted: #5a6782; --line: #e1e7f0; --line-strong: #cdd6e4; --soft: #f4f7fc; --soft-blue: #eaf3ff;
  --white: #ffffff; --ok: #157347; --ok-soft: #e8f6ee; --bad: #b42318; --bad-soft: #fdecea; --warn-soft: #fff6e0;
  --radius: 14px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(13, 27, 58, .06), 0 8px 24px rgba(13, 27, 58, .08);
  --shadow-lg: 0 2px 6px rgba(10, 28, 74, .12), 0 30px 60px rgba(10, 28, 74, .28);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
code { font: .92em/1.4 ui-monospace, Consolas, monospace; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; word-break: break-all; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.ok { color: var(--ok); }
.bad { color: var(--bad); }
.center { text-align: center; }

/* -- header ----------------------------------------------------------------------------------------------------- */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 24px; min-height: 87px; }
/* REINZA | DeckNari, as in the DeckNari app header. The REINZA file includes its white ground and clear space; at 75 px
   its mark is about 64.6 px, the REINZA web minimum of 64 px. Sizes keep the app's proportions (68 : 30). */
header.site .brand { display: flex; align-items: center; gap: 12px; margin-right: auto; flex-shrink: 0; text-decoration: none; }
header.site .brand-reinza { display: block; height: 75px; width: auto; flex: none; }
header.site .brand-divider { width: 1px; height: 44px; background: var(--line-strong); flex: none; }
header.site .brand-product { display: flex; flex-direction: column; gap: 3px; }
header.site .brand-decknari { display: block; height: 33px; width: auto; }
header.site .brand-descriptor { font-size: .8rem; color: var(--muted); white-space: nowrap; letter-spacing: .01em; }
header.site nav { display: flex; align-items: center; gap: 4px; }
header.site nav a { color: var(--text); text-decoration: none; font-weight: 550; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
header.site nav a:hover { background: var(--soft); color: var(--ink); }
header.site nav a[aria-current="page"] { color: var(--blue); }
header.site nav a.nav-cta { background: var(--blue); color: var(--white); margin-left: 10px; padding: 9px 18px; box-shadow: 0 2px 8px rgba(6, 109, 217, .3); }
header.site nav a.nav-cta:hover, header.site nav a.nav-cta[aria-current="page"] { background: var(--blue-hover); color: var(--white); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 8px; width: 44px; height: 40px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  header.site .wrap { flex-wrap: wrap; gap: 0 12px; }
  header.site nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 0 16px; }
  header.site.open nav { display: flex; }
  header.site nav a { padding: 12px; font-size: 1.02rem; }
  header.site nav a.nav-cta { margin: 8px 0 0; text-align: center; }
}
/* Phones: the same lockup, smaller (the REINZA mark is then below its 64 px web minimum). */
@media (max-width: 600px) {
  header.site .wrap { min-height: 70px; padding-left: 16px; padding-right: 16px; }
  header.site .brand { gap: 8px; }
  header.site .brand-reinza { height: 56px; }
  header.site .brand-divider { height: 32px; }
  header.site .brand-decknari { height: 25px; }
  header.site .brand-descriptor { display: none; }
}
@media (max-width: 380px) {   /* very small phones: the lockup and the menu button stay on one line */
  header.site .wrap { gap: 12px; }
  header.site .brand { gap: 6px; }
  header.site .brand-reinza { height: 46px; }
  header.site .brand-divider { height: 26px; }
  header.site .brand-decknari { height: 20px; }
}

/* -- buttons ---------------------------------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 10px;
  border: 1.5px solid var(--blue); background: var(--blue); color: var(--white); text-decoration: none; font: 650 1rem/1.2 var(--font);
  cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; box-shadow: 0 2px 10px rgba(6, 109, 217, .28); }
.button:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); transform: translateY(-1px); }
.button.secondary { background: var(--white); color: var(--blue); box-shadow: none; }
.button.secondary:hover { background: var(--soft-blue); color: var(--blue-hover); }
.button.light { background: var(--white); border-color: var(--white); color: var(--navy); box-shadow: 0 4px 16px rgba(0, 0, 0, .18); }
.button.light:hover { background: var(--soft-blue); border-color: var(--soft-blue); color: var(--navy); }
.button.ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .45); color: var(--white); box-shadow: none; }
.button.ghost:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.button.large { padding: 15px 28px; font-size: 1.05rem; }
.button[disabled], .button[disabled]:hover { opacity: .5; cursor: default; transform: none; background: var(--blue); border-color: var(--blue); }
.button svg { width: 18px; height: 18px; flex-shrink: 0; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* -- hero (home) ------------------------------------------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #dbe6ff;
  background: radial-gradient(900px 500px at 85% 10%, rgba(0, 162, 255, .28), transparent 60%),
              radial-gradient(700px 500px at 0% 100%, rgba(6, 109, 217, .35), transparent 60%),
              linear-gradient(160deg, #0a1c4a 0%, #0f2b6d 55%, #0b2a7a 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2rem, 3.9vw, 2.95rem); }
.hero .lead { font-size: 1.15rem; line-height: 1.65; color: #c9d7f5; max-width: 34em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px; }
.hero .eyebrow { color: #7cc8ff; background: rgba(0, 162, 255, .12); border: 1px solid rgba(124, 200, 255, .3); padding: 6px 12px; border-radius: 999px; letter-spacing: .08em; }
.hero .buy-line { margin: -8px 0 0; color: #c9d7f5; }
.hero .buy-line a { color: var(--white); font-weight: 600; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 28px 0 0; }
.badges li { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: #e6eeff; }
.badges svg { width: 18px; height: 18px; color: #4cc3ff; flex-shrink: 0; }
.hero-visual { position: relative; }
.window { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .5); }
.window-bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f8; border-bottom: 1px solid var(--line); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #c9d2e0; }
.hero-visual .result-card { position: absolute; right: -18px; bottom: -44px; width: 42%; background: var(--white); border-radius: 10px; padding: 6px;
  box-shadow: var(--shadow-lg); }
.hero-visual .result-card img { border-radius: 6px; }
.hero-visual .result-card figcaption { font-size: .78rem; font-weight: 600; color: var(--muted); padding: 6px 4px 2px; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
  .hero-visual .result-card { right: -6px; bottom: -28px; width: 52%; }
}

/* -- sections --------------------------------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: 64px 0; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section-head.left { margin-left: 0; text-align: left; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* demo video */
.video-frame { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: #0a1c4a; box-shadow: var(--shadow-lg); }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 10px; padding: 24px; color: #c9d7f5;
  background: radial-gradient(600px 300px at 50% 0%, rgba(0, 162, 255, .25), transparent 70%), linear-gradient(160deg, #0a1c4a, #0f2b6d); }
.video-placeholder img { width: clamp(56px, 9vw, 88px); height: auto; margin-bottom: 6px; }
.video-placeholder strong { color: var(--white); font-family: var(--font-display); font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 650; }
.video-placeholder p { margin: 0; max-width: 34em; font-size: .98rem; }
.video-placeholder a { color: #8fd3ff; font-weight: 600; }
.video-note { text-align: center; margin-top: 16px; }
.video-placeholder img.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; opacity: .1; }
.video-failed > strong, .video-failed > p { position: relative; }

/* input -> process -> output */
.flow { display: grid; grid-template-columns: 1fr auto 1.15fr auto 1fr; gap: 18px; align-items: stretch; }
.flow-col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.flow-col.core { background: linear-gradient(165deg, var(--navy) 0%, #0b3d9c 100%); border-color: transparent; color: #dbe6ff; }
.flow-col.core h3 { color: var(--white); }
.flow-col.core .flow-label { color: #8fd3ff; }
.flow-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.flow-col ul { list-style: none; padding: 0; margin: 14px 0 0; }
.flow-col li { position: relative; padding: 6px 0 6px 22px; }
.flow-col li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.flow-col.core li::before { background: #4cc3ff; }
.flow-arrow { display: flex; align-items: center; color: var(--line-strong); }
.flow-arrow svg { width: 28px; height: 28px; }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr; } .flow-arrow { justify-content: center; transform: rotate(90deg); } }

/* cards */
.grid { display: grid; gap: 22px; }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1020px) { .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid.cols-4, .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 16px 0 8px; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 10px; }
.card .note { font-size: .86rem; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 10px; margin-top: 12px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--soft-blue), #d7e9ff); color: var(--blue); }
.icon svg { width: 24px; height: 24px; }

/* product tour */
.tour-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 56px; align-items: center; }
.tour-item + .tour-item { margin-top: 88px; }
.tour-item.flip { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.tour-item.flip .tour-text { order: 2; }
.tour-text h3 { font-size: 1.5rem; }
.tour-text p { color: var(--muted); }
.tour-text ul { padding-left: 20px; color: var(--text); }
.tour-text li { margin: 6px 0; }
.shot { margin: 0; }
.shot .window { box-shadow: var(--shadow); border-color: var(--line); }
.shot figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.shot-pair { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (max-width: 900px) { .tour-item, .tour-item.flip { grid-template-columns: 1fr; gap: 28px; } .tour-item.flip .tour-text { order: 0; } .tour-item + .tour-item { margin-top: 64px; } }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps > li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.steps > li::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: linear-gradient(145deg, var(--blue), var(--navy)); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.steps.vertical { grid-template-columns: 1fr; gap: 14px; }

/* audiences */
.audience { display: flex; gap: 16px; align-items: flex-start; }
.audience .icon { flex-shrink: 0; }
.audience h3 { margin: 2px 0 6px; }

/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; background: var(--white); border: 2px solid var(--blue); border-radius: 18px; padding: 34px; box-shadow: 0 20px 50px rgba(6, 109, 217, .16); }
.price-card .tag { position: absolute; top: -13px; left: 34px; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1.25rem; margin: 0; }
.price { font-family: var(--font-display); font-size: 3.2rem; font-weight: 750; color: var(--ink); line-height: 1.1; margin: 14px 0 2px; letter-spacing: -.02em; }
.price-sub { color: var(--muted); margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { position: relative; padding: 7px 0 7px 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 21px; height: 21px; border-radius: 50%; background: var(--ok-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157347' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.trial-card { background: linear-gradient(165deg, var(--navy) 0%, #0b3d9c 100%); color: #dbe6ff; border-radius: 18px; padding: 34px; display: flex; flex-direction: column; }
.trial-card h3 { color: var(--white); font-size: 1.25rem; }
.trial-card .big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 750; color: var(--white); line-height: 1.1; margin: 10px 0 4px; }
.trial-card .actions { margin-top: auto; padding-top: 12px; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } .price-card, .trial-card { padding: 28px 22px; } }
.vat-note { font-size: .86rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: 0 1px 2px rgba(13, 27, 58, .04); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 650; color: var(--ink); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* final call to action */
.cta-band { color: #dbe6ff; text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(0, 162, 255, .3), transparent 70%), linear-gradient(160deg, #0a1c4a, #0f2b6d); }
.cta-band h2 { color: var(--white); }
.cta-band .actions { justify-content: center; }
.cta-band p { color: #c9d7f5; font-size: 1.1rem; }

/* -- inner pages ------------------------------------------------------------------------------------------------ */
.page-hero { background: linear-gradient(180deg, var(--soft-blue) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 56px; padding-bottom: 44px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.page-hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; margin: 0; }
.page-body { padding: 48px 0 88px; }
.page-body h2 { font-size: 1.45rem; margin-top: 40px; }
.page-body h2:first-child { margin-top: 0; }
.page-body li { margin: 6px 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 0 0 24px; }
.panel.soft { background: var(--soft); box-shadow: none; }
.panel.accent { border: 2px solid var(--blue); }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { margin-top: 0; }
.notice { border-left: 4px solid var(--blue); padding: 12px 16px; background: var(--soft-blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; }
.info-list .icon svg { width: 19px; height: 19px; }
.download-box { text-align: left; }
.download-box .button { font-size: 1.08rem; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* forms */
label { display: block; font-weight: 650; color: var(--ink); margin: 16px 0 8px; }
input[type="email"], select { width: 100%; max-width: 460px; padding: 12px 14px; font: 1rem var(--font); color: var(--ink); border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: var(--white); }
input[type="email"]:focus, select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(6, 109, 217, .15); }
#buy-status, #recover-status, #copy-status { margin: 10px 0 0; }
#buy-status.bad, #recover-status.bad { background: var(--bad-soft); padding: 10px 14px; border-radius: var(--radius-sm); }
#recover-status.ok { background: var(--ok-soft); padding: 10px 14px; border-radius: var(--radius-sm); }
.trust { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; margin-top: 18px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* success page */
#claim-status { font-size: 1.05rem; }
#claim-status.ok { display: flex; align-items: center; gap: 12px; background: var(--ok-soft); color: var(--ok); border: 1px solid #b9e2c9; border-radius: var(--radius);
  padding: 18px 20px; font-weight: 650; font-size: 1.15rem; }
#claim-status.ok::before { content: ""; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: var(--ok)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 17px no-repeat; }
#claim-status.bad { background: var(--bad-soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.key { font: 650 1.3rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .04em; word-break: break-all; color: var(--ink);
  background: var(--soft); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 16px; margin: 8px 0; }

/* help centre */
.help-cats { margin-bottom: 48px; }
.help-cat { text-decoration: none; color: inherit; display: block; transition: border-color .15s, transform .15s; }
.help-cat:hover { border-color: var(--blue); transform: translateY(-2px); color: inherit; }
.help-cat ul { list-style: none; padding: 0; margin: 10px 0 0; }
.help-cat li { margin: 4px 0; }
.help-cat li a { text-decoration: none; font-weight: 550; }
.help-cat li a:hover { text-decoration: underline; }
.help-article { scroll-margin-top: 104px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.help-article:last-child { border-bottom: 0; }
.help-article h2 { margin-top: 0; font-size: 1.3rem; }
.legal { max-width: 820px; }

/* -- footer ----------------------------------------------------------------------------------------------------- */
footer.site { background: var(--soft); border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
footer.site .footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
footer.site .footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
footer.site h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 4px 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 7px 0; }
footer.site a { color: var(--text); text-decoration: none; }
footer.site a:hover { color: var(--blue); text-decoration: underline; }
footer.site .footer-base { position: relative; padding-top: 18px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site .footer-base::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; border-top: 1px solid var(--line); }
@media (max-width: 900px) { footer.site .footer-grid { grid-template-columns: 1fr 1fr; } footer.site .footer-brand { grid-column: 1 / -1; } }
.cat-links { list-style: none; padding: 0; margin: 10px 0 0; }
.cat-links li { margin: 6px 0; }
.cat-links a { text-decoration: none; font-weight: 550; }
.cat-links a:hover { text-decoration: underline; }
footer.site .footer-company { padding-bottom: 14px; font-size: .86rem; }
footer.site .footer-company p { margin: 0; max-width: 80em; }
.legal-before-pay { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }

/* -- legal pages (Terms of Use, Privacy Policy) ----------------------------------------------------------------- */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 108px; font-size: .9rem; border-left: 2px solid var(--line); padding-left: 16px; }
.legal-toc h2 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.legal-toc li { margin: 6px 0; counter-increment: toc; }
.legal-toc li a { text-decoration: none; color: var(--muted); }
.legal-toc li a::before { content: counter(toc) ". "; }
.legal-toc li a:hover { color: var(--blue); }
.legal-doc { max-width: 780px; counter-reset: sec; }
.legal-doc .doc-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.legal-doc section { scroll-margin-top: 104px; padding-top: 8px; }
.legal-doc h2 { font-size: 1.3rem; margin: 34px 0 10px; counter-increment: sec; }
.legal-doc h2::before { content: counter(sec) ". "; color: var(--blue); }
.legal-doc h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal-doc p, .legal-doc li { color: var(--text); }
.legal-doc ul, .legal-doc ol { padding-left: 22px; }
.legal-doc li { margin: 6px 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: .93rem; }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 10px 10px 0; }
.legal-doc th { color: var(--ink); font-weight: 650; }
.legal-doc .entity { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; margin: 16px 0; }
.legal-doc .entity p { margin: 0; }
.legal-doc .model-form p + p { margin-top: 10px; }
.legal-doc .doc-contact { margin-top: 36px; }
.legal-doc .callout { border-left: 4px solid var(--blue); background: var(--soft-blue); padding: 12px 16px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
  .legal-doc table, .legal-doc thead, .legal-doc tbody, .legal-doc tr, .legal-doc th, .legal-doc td { display: block; }
  .legal-doc thead { display: none; }
  .legal-doc td { border-bottom: 0; padding: 4px 0; }
  .legal-doc tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .legal-doc td:first-child { font-weight: 650; color: var(--ink); }
}
