:root {
  --navy: #0e2a47; --navy-2: #14395f; --sea: #1d6f8f; --accent: #e8892b; --accent-d: #c2701d;
  --ink: #1b2733; --muted: #566475; --bg: #fff; --band: #eef4f8; --line: #d9e3ec; --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--sea); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }
.brand img { background: #fff; border-radius: 50%; padding: 2px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand small { font-weight: 400; font-size: .72rem; color: #b9c8d8; letter-spacing: .04em; margin-top: 2px; }
nav { display: flex; gap: 4px 22px; margin-left: auto; }
nav a { color: #dce6f0; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; font-weight: 500; }
nav a:hover, nav a[aria-current] { color: #fff; border-bottom-color: var(--accent); }
.tools { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; font-size: .9rem; padding: 5px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.lang:hover { background: rgba(255,255,255,.12); }
.flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #1a1208; font-weight: 700; text-decoration: none; padding: 11px 22px; border-radius: 999px; border: 2px solid var(--accent); cursor: pointer; font: inherit; font-weight: 700; transition: transform .12s, background .12s; }
.btn:hover { background: #f19a42; transform: translateY(-1px); }
.btn.small { padding: 7px 16px; font-size: .95rem; }
.btn.big { padding: 14px 30px; font-size: 1.08rem; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* hero */
.hero { background: radial-gradient(1000px 500px at 80% 20%, #1f5f86 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #0b3b5c 100%); color: #fff; position: relative; padding: 56px 0 0; }
.herogrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: end; }
.herotext { padding-bottom: 90px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin: .1em 0 .35em; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--accent); margin: 0; }
.hero .lead { font-size: 1.2rem; color: #d3e1ee; max-width: 36em; }
.heroart { position: relative; align-self: end; padding-bottom: 0; margin-bottom: -1px; }
.heroart img { width: 100%; max-width: 420px; margin: 0 auto; display: block; filter: drop-shadow(0 12px 22px rgba(0,0,0,.35)); }
.bubble { position: absolute; top: -4px; right: 0; max-width: 220px; background: #fff; color: var(--navy); font-weight: 700; padding: 10px 14px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.25); font-size: .95rem; line-height: 1.35; z-index: 2; }
.bubble::after { content: ""; position: absolute; left: 26px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }
.wave { display: block; width: 100%; height: 60px; color: #fff; position: absolute; left: 0; bottom: -1px; pointer-events: none; }

.trust { background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 18px 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 22px; }
.trust li { color: var(--muted); font-size: .95rem; padding-left: 26px; position: relative; font-weight: 600; }
.trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--sea); font-weight: 800; }

/* blocks */
.block { padding-top: 64px; padding-bottom: 64px; }
.narrow { max-width: 820px; }
.sub { color: var(--muted); max-width: 40em; margin-top: -.2em; }
.band { background: var(--band); }
.band .block { padding-top: 56px; padding-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(14,42,71,.05); }
.card.plain { background: var(--band); border-color: transparent; }
.band .card.plain { background: #fff; }
.card p { margin: 0; color: var(--muted); }
.more { font-weight: 700; }

/* steps */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 4px; }
.steps .num { display: grid; place-items: center; width: 42px; height: 42px; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 800; margin-bottom: 12px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 56px; right: -10px; border-top: 2px dashed var(--line); }
.steps p { color: var(--muted); margin: 0; }

/* illustration */
.illus { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; margin: 46px 0 0; padding: 30px; background: linear-gradient(180deg, var(--band), #fff); border: 1px solid var(--line); border-radius: 18px; }
.illus figcaption { width: 100%; text-align: center; color: var(--muted); font-size: .82rem; }
.il-doc { width: 170px; background: #fffdf4; border: 1px solid #d8d2c0; border-radius: 6px; padding: 14px; transform: rotate(-3deg); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.il-h { font-weight: 800; color: var(--navy); font-size: .85rem; margin-bottom: 10px; }
.il-ln { height: 7px; background: #e2dcca; border-radius: 4px; margin: 9px 0; }
.il-ln.s { width: 60%; }
.il-arrow { font-size: 2rem; color: var(--accent); font-weight: 800; }
.il-card { width: min(100%, 440px); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 8px 22px rgba(14,42,71,.12); }
.il-row { display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; align-items: center; }
.il-row b { background: #e3f1f7; color: var(--sea); border-radius: 6px; padding: 2px 8px; text-align: center; font-size: .8rem; }
.il-row i { color: var(--muted); font-style: normal; }
.il-foot { display: flex; justify-content: space-between; margin-top: 12px; font-size: .82rem; color: var(--muted); }
.il-ok { background: #d9f2e1; color: #17653a; padding: 3px 12px; border-radius: 999px; font-weight: 700; }

/* quote */
.quote { background: var(--navy); color: #fff; }
.quote blockquote { margin: 0; padding: 56px 0; text-align: center; font-size: clamp(1.4rem, 3.5vw, 2.1rem); font-weight: 700; line-height: 1.3; }
.quote cite { display: block; font-size: .85rem; font-weight: 400; color: #b9c8d8; margin-top: 12px; font-style: normal; letter-spacing: .06em; text-transform: uppercase; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* cta */
.cta { background: linear-gradient(135deg, var(--sea), var(--navy)); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { color: #fff; }
.cta p { color: #d3e1ee; margin: 0; }
.cta .btns { justify-content: center; }

/* inner pages */
.pagehead { background: linear-gradient(160deg, var(--navy), #0b3b5c); color: #fff; padding: 56px 0 46px; }
.pagehead h1 { color: #fff; margin: 0 0 8px; font-size: clamp(2rem, 5vw, 3rem); }
.pagehead .lead { color: #d3e1ee; max-width: 42em; margin: 0; font-size: 1.15rem; }
.feature { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding-top: 48px; padding-bottom: 20px; align-items: start; }
.feature .fnum { width: 70px; height: 70px; border-radius: 50%; background: var(--band); color: var(--sea); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.feature p { max-width: 46em; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; color: var(--navy); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: #fff; background: var(--sea); width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; top: 4px; }
.ticks.one { grid-template-columns: 1fr; }
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.role { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.role h2 { font-size: 1.4rem; margin-bottom: .2em; }
.pain { color: var(--muted); font-style: italic; margin-top: 0; }
.prose { max-width: 780px; padding-top: 46px; padding-bottom: 60px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* demo */
.demo { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 13px; border: 1px solid #b9c8d6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(29,111,143,.35); border-color: var(--sea); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { grid-template-columns: 22px 1fr; align-items: start; font-weight: 400; }
.form .check input { width: 18px; height: 18px; margin-top: 4px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.status { color: #a12d2d; margin: 0; }
.side { background: var(--band); border-radius: var(--radius); padding: 26px; }
.side ol { padding-left: 20px; }
.done { text-align: center; padding: 30px; background: var(--band); border-radius: var(--radius); }
.done[hidden], .form[hidden] { display: none; }

/* footer */
.site-footer { background: #0a1f35; color: #b9c8d8; padding-top: 44px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 28px; }
.fcol { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.fcol strong { color: #fff; margin-bottom: 4px; }
.fcol a { color: #b9c8d8; text-decoration: none; }
.fcol a:hover { color: #fff; text-decoration: underline; }
.fcol p { margin: 8px 0 0; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 16px; padding-bottom: 22px; font-size: .85rem; }

@media (max-width: 900px) {
  .herogrid, .demo { grid-template-columns: 1fr; }
  .herotext { padding-bottom: 20px; }
  .heroart { max-width: 340px; margin: 0 auto; }
  .bubble { position: static; margin: 0 auto 14px; width: fit-content; }
  .bubble::after { left: 50%; margin-left: -10px; }
  .trust ul, .cards, .cards.four, .cards.three, .steps, .ticks, .roles { grid-template-columns: 1fr 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
  nav { margin-left: 0; order: 3; width: 100%; }
}
@media (max-width: 560px) {
  .trust ul, .cards, .cards.four, .cards.three, .steps, .ticks, .roles, .row2, .foot { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .il-row { grid-template-columns: 1fr 1fr; }
  .il-row i { grid-column: 1 / -1; }
  .tools { margin-left: auto; }
  .lang span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.heroart { padding-bottom: 96px; align-self: center; }
.heroart .illus { margin: 0; padding: 0; background: none; border: 0; flex-direction: column; gap: 14px; }
.heroart .illus figcaption { color: #9fb5c9; }
.heroart .il-arrow { transform: rotate(90deg); }
.heroart .il-doc { width: 150px; }
.brand img { background: none; padding: 0; }

.heroart { padding-bottom: 80px; }
.heroart img { width: 100%; max-width: 460px; margin: 0 auto; display: block; filter: drop-shadow(0 14px 26px rgba(0,0,0,.4)); }
.brand img { width: 48px; height: 48px; object-fit: contain; }

.signin { color: #dce6f0; text-decoration: none; font-weight: 600; padding: 6px 4px; }
.signin:hover { color: #fff; text-decoration: underline; }
.mods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.mod { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: 0 1px 2px rgba(14,42,71,.05); }
.mod h3 { font-size: 1.25rem; color: var(--sea); }
.mod p { margin: 0 0 .6em; color: var(--muted); }
.mod p.modshort { color: var(--navy); font-weight: 700; }
@media (max-width: 760px) { .mods { grid-template-columns: 1fr; } .tools .signin { display: none; } }
