/* certkor.ai: CertOne site styles. One stylesheet, no framework, no third-party requests. */

@font-face {
  font-family: "Inter var";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --navy-950: #050a16;
  --navy-900: #081024;
  --navy-850: #0b1530;
  --navy-800: #0f1d3d;
  --line-dark: rgba(148, 163, 184, .16);
  --text-dark: #e8eef8;
  --muted-dark: #a3b1c6;

  --ink: #0b1220;
  --body: #3a4658;
  --muted: #64748b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  --blue: #2f84e0;
  --blue-strong: #1f6fcf;
  --blue-soft: #e8f1fc;
  --sky: #8cc2ff;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 12px 32px rgba(11, 18, 32, .08);
  --shadow-dark: 0 30px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--body);
  font: 400 17px/1.65 "Inter var", Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; }

/* Navigation ---------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 10, 22, .82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 650; font-size: 20px; letter-spacing: -.015em; }
.brand img { height: 38px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.menu > a, .menu > .drop > button {
  color: #c7d2e3; font: inherit; font-size: 15px; font-weight: 500; padding: 8px 12px;
  border-radius: 8px; background: none; border: 0; cursor: pointer;
}
.menu > a:hover, .menu > .drop > button:hover, .menu > .drop:focus-within > button { color: #fff; background: rgba(255, 255, 255, .06); }
.drop { position: relative; }
.drop > button::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .7; }
.panel {
  position: absolute; top: calc(100% + 10px); left: -16px; width: 560px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--navy-900); border: 1px solid var(--line-dark); border-radius: 14px; box-shadow: var(--shadow-dark);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .16s ease;
}
.drop:hover .panel, .drop:focus-within .panel { opacity: 1; visibility: visible; transform: none; }
.panel a { display: block; padding: 12px 14px; border-radius: 10px; }
.panel a:hover { background: rgba(255, 255, 255, .05); }
.panel b { display: block; color: #fff; font-weight: 600; font-size: 15px; }
.panel span { display: block; color: var(--muted-dark); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { color: #c7d2e3; font-size: 14px; font-weight: 600; letter-spacing: .04em; padding: 6px 8px; border-radius: 8px; }
.lang:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.m-only { display: none; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 10px;
  background: none; color: #fff; cursor: pointer; }
.burger span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; }

/* Buttons --------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15.5px; letter-spacing: -.005em; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-strong); }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
.btn-line { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-line:hover { border-color: #c5cfdc; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14.5px; }
.arrow::after { content: "\2192"; transition: transform .15s; }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }

/* Dark hero ------------------------------------------------------------------------------- */
.dark { background: var(--navy-950); color: var(--muted-dark); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.hero { padding: 104px 0 0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(47, 132, 224, .30), transparent 60%),
    radial-gradient(700px 420px at 0% 30%, rgba(30, 64, 175, .18), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.eyebrow { display: inline-block; font-size: 13px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.dark .eyebrow { color: var(--sky); }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin-top: 18px; max-width: 980px; text-wrap: balance; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #b9c6d8; margin-top: 22px; max-width: 760px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-center { text-align: center; }
.hero-center h1, .hero-center .lead { margin-left: auto; margin-right: auto; }
.hero-center .actions { justify-content: center; }

.frame {
  border-radius: 18px; padding: 8px; background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-dark); box-shadow: var(--shadow-dark);
}
.frame video, .frame img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #0b1220; }
.hero-media { margin-top: 64px; position: relative; }
.hero-media::before { content: ""; position: absolute; inset: 10% 8% -10%; z-index: -1; filter: blur(70px);
  background: radial-gradient(closest-side, rgba(47, 132, 224, .45), transparent); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); margin-top: 72px; }
.fact { padding: 28px 24px 32px; border-left: 1px solid var(--line-dark); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.fact span { display: block; font-size: 14.5px; margin-top: 4px; }

/* Sections -------------------------------------------------------------------------------- */
.section { padding: 120px 0; }
.soft { background: var(--bg-soft); }
.head { max-width: 760px; }
.head.center { margin: 0 auto; text-align: center; }
.head h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; margin-top: 14px; text-wrap: balance; }
.head p { font-size: 19px; color: var(--muted); margin-top: 18px; text-wrap: pretty; }
.dark .head p { color: var(--muted-dark); }

/* Feature rows */
.rows { margin-top: 80px; display: grid; gap: 112px; }
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.row:nth-child(even) .row-media { order: -1; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); }
.tag i { font-style: normal; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue-strong); letter-spacing: 0; font-size: 13px; }
.row h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.025em; margin-top: 16px; text-wrap: balance; }
.row p { margin-top: 16px; font-size: 17.5px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f6fcf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.card h3 { font-size: 21px; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; }
.card p { margin-top: 12px; font-size: 16px; color: var(--body); }
.card .k { font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: block; }
.dark .card { background: rgba(255, 255, 255, .03); border-color: var(--line-dark); }
.dark .card p { color: var(--muted-dark); }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(47, 132, 224, .14); color: var(--sky); }
.icon svg { width: 22px; height: 22px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: #c9d6e6; box-shadow: var(--shadow); }
.tile b { display: block; color: var(--ink); font-weight: 650; font-size: 16.5px; letter-spacing: -.01em; }
.tile span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }

/* Industry cards */
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.ind { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); color: #fff;
  min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate;
  border: 1px solid rgba(11, 18, 32, .08); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; z-index: -2;
  transition: transform .5s ease; opacity: .9; }
.ind::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 10, 22, .05) 0%, rgba(5, 10, 22, .55) 45%, rgba(5, 10, 22, .96) 100%); }
.ind:hover img { transform: scale(1.04); }
.ind-body { padding: 28px; }
.ind h3 { color: #fff; font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.ind p { color: #c7d2e3; font-size: 15.5px; margin-top: 8px; }
.ind .more { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--sky); font-weight: 600; font-size: 15px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.head.center + .chips { justify-content: center; }
.chip { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 14.5px; font-weight: 500; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: s; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: -13px; left: 0; background: var(--bg);
  padding-right: 12px; font-size: 13px; font-weight: 650; letter-spacing: .14em; color: var(--blue); }
.soft .step::before { background: var(--bg-soft); }
.step b { color: var(--ink); font-size: 18px; font-weight: 650; letter-spacing: -.01em; }

/* Industry page hero */
.ihero { padding: 72px 0 96px; }
.ihero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.crumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .5; }
.ihero h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; margin-top: 16px; text-wrap: balance; }
.ihero .lead { font-size: 19px; color: #b9c6d8; margin-top: 20px; text-wrap: pretty; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: start; }
.split .body p { font-size: 18px; margin-top: 18px; }
.split .body .statement { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-top: 16px; text-wrap: pretty; }
.aside { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.aside h3 { font-size: 15px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside .chips { margin-top: 18px; }
.systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 48px; }
.sys { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: #fff; }
.sys b { color: var(--ink); font-size: 17px; font-weight: 650; }
.sys p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.badge { display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue-strong); background: var(--blue-soft); border-radius: 6px; padding: 3px 8px; margin-left: 10px; vertical-align: 2px; }
.others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.other { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; transition: border-color .15s; }
.other:hover { border-color: #c9d6e6; }
.other b { color: var(--ink); font-weight: 650; display: flex; justify-content: space-between; }

/* Call to action band */
.cta { padding: 112px 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(800px 400px at 85% 50%, rgba(47, 132, 224, .28), transparent 65%); }
.cta .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.cta p { font-size: 18px; margin-top: 16px; max-width: 640px; }
.cta img { height: 200px; width: auto; }

/* Footer */
.footer { background: var(--navy-950); color: var(--muted-dark); padding: 72px 0 40px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 8px; }
.foot-brand p { max-width: 340px; margin-top: 10px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.legal { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-size: 14px; letter-spacing: .06em; }

/* Responsive ------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .others { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu, .nav-end .btn { display: none; }
  .burger { display: block; margin-left: 4px; }
  .nav.open .menu > a.m-only { display: block; }
  .nav-end { margin-left: auto; }
  .nav.open .menu { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: 12px 16px 20px; background: var(--navy-950); border-bottom: 1px solid var(--line-dark); }
  .nav.open .menu > a, .nav.open .drop > button { padding: 14px 8px; font-size: 17px; text-align: left; width: 100%; }
  .nav.open .panel { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    grid-template-columns: 1fr; border: 0; background: transparent; padding: 0 0 8px 8px; }
  .nav.open .panel span { display: none; }
  .row, .split, .ihero-grid, .cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  .row:nth-child(even) .row-media { order: 0; }
  .grid3, .inds, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact { padding-left: 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta img { height: 96px; }
  .section { padding: 88px 0; }
  .rows { gap: 80px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .facts, .grid4, .others, .foot-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .fact:first-child { border-top: 0; }
  .hero { padding-top: 72px; }
  .legal { flex-direction: column; }
}

/* Documentation ------------------------------------------------------------------------- */
.dhero { padding: 64px 0 56px; }
.dhero h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; margin-top: 14px; }
.dhero .lead { font-size: 19px; color: #b9c6d8; margin-top: 16px; max-width: 760px; }
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 64px 0 112px; align-items: start; }
.dnav { position: sticky; top: 100px; display: grid; gap: 2px; }
.dnav h4 { font-size: 12.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 12px; }
.dnav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--body); font-size: 15px; }
.dnav a:hover { background: var(--bg-soft); color: var(--ink); }
.dnav a.on { background: var(--blue-soft); color: var(--blue-strong); font-weight: 600; }
.doc { max-width: 820px; }
.doc h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 56px 0 0; scroll-margin-top: 100px; }
.doc h2:first-child { margin-top: 0; }
.doc p { margin-top: 14px; font-size: 16.5px; }
.doc ul, .doc ol { margin: 14px 0 0; padding-left: 22px; font-size: 16.5px; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--muted); }
.doc code { font: 500 14px/1.5 ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.code { position: relative; margin-top: 18px; border-radius: 12px; background: #0b1220; border: 1px solid #1c2740; overflow: hidden; }
.code .lbl { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; border-bottom: 1px solid #1c2740;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #8193ad; font-weight: 600; }
.code button { font: inherit; letter-spacing: .04em; text-transform: none; font-size: 13px; color: #c7d2e3; background: transparent;
  border: 1px solid #2a3756; border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.code button:hover { color: #fff; border-color: #44567d; }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; }
.code pre code { background: none; border: 0; padding: 0; color: #dbe5f3; font-size: 14px; line-height: 1.65; white-space: pre; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl td code { white-space: nowrap; }
.tbl td:first-child { width: 30%; }
.callout { margin-top: 20px; border: 1px solid #cfe0f6; background: var(--blue-soft); border-radius: 12px; padding: 16px 18px; font-size: 15.5px; color: var(--ink); }
.callout b { color: var(--blue-strong); }
.next { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; }
.tile { display: block; }
a.tile .go { display: inline-block; margin-top: 12px; color: var(--blue-strong); font-weight: 600; font-size: 14.5px; }
@media (max-width: 900px) {
  .docs { grid-template-columns: 1fr; gap: 32px; }
  .dnav { position: static; grid-template-columns: repeat(2, 1fr); }
  .dnav h4 { grid-column: 1 / -1; }
}

/* Typing headline: the full sentence stays in .sr for search engines and screen readers. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.typing .tw { display: block; min-height: 2.1em; }
.typing .tw .l { display: block; }
.typing .caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em;
  background: var(--sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Security: architecture and controls */
.arch { display: grid; grid-template-columns: 1fr 56px 1fr 56px 1fr; align-items: stretch; margin-top: 64px; }
.node { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.node:nth-of-type(2) { border-color: #bcd6f5; }
.node:last-child { background: var(--navy-900); border-color: var(--navy-800); }
.node:last-child b { color: #fff; }
.node:last-child li { color: #c7d2e3; }
.node b { display: block; color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.node ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.node li { font-size: 15px; color: var(--body); padding-left: 16px; position: relative; }
.node li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.link { position: relative; }
.link::before { content: ""; position: absolute; left: 8px; right: 12px; top: 50%; height: 2px; background: linear-gradient(90deg, #bcd6f5, var(--blue)); }
.link::after { content: ""; position: absolute; right: 8px; top: calc(50% - 5px); border-left: 9px solid var(--blue); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.arch-out { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 16px 20px;
  border-radius: 12px; background: var(--blue-soft); color: var(--ink); font-size: 15px; font-weight: 550; }
.arch-out .gap { color: var(--blue-strong); }
.ctls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ctl { background: #fff; padding: 28px; }
.ctl b { color: var(--ink); font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.ctl p { margin-top: 8px; font-size: 15.5px; color: var(--body); }

/* Cookie consent */
.consent { position: fixed; z-index: 60; left: 24px; right: 24px; bottom: 24px; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(11, 18, 32, .22); font-size: 15px; }
.consent a { color: var(--blue-strong); font-weight: 600; }
.consent-prefs { display: grid; gap: 10px; margin-top: 14px; }
.consent-prefs label { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.consent-prefs input { margin-top: 4px; }
.consent-prefs b { color: var(--ink); }
.consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.linkish:hover { color: #fff; }

@media (max-width: 900px) {
  .arch { grid-template-columns: 1fr; }
  .link { height: 40px; }
  .link::before { left: 50%; right: auto; top: 6px; bottom: 10px; width: 2px; height: auto; background: linear-gradient(180deg, #bcd6f5, var(--blue)); }
  .link::after { left: calc(50% - 5px); right: auto; top: auto; bottom: 2px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--blue); border-bottom: 0; }
  .ctls { grid-template-columns: 1fr; }
  .consent { left: 12px; right: 12px; bottom: 12px; }
  .consent-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 560px) { .typing .tw { min-height: 3.2em; } }
.doc a.pkg code, .step a.pkg code { color: var(--blue-strong); border-color: #cfe0f6; background: var(--blue-soft); }
.doc a.pkg:hover code, .step a.pkg:hover code { text-decoration: underline; }
.step b code { font: 600 15px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.step p code { font: 500 14px/1.4 ui-monospace, "Cascadia Code", Consolas, monospace; }

/* Pricing */
.billing { display: flex; justify-content: center; gap: 4px; margin: 40px auto 0; padding: 4px; width: max-content;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); }
.billing button { font: inherit; font-size: 15px; font-weight: 600; color: var(--body); background: none; border: 0;
  border-radius: 999px; padding: 8px 18px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(11, 18, 32, .12); }
.billing em { font-style: normal; font-size: 12.5px; color: var(--blue-strong); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: #c9d6e6; }
.plan.selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 20px 50px rgba(31, 111, 207, .14); }
.plan .pop { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 650;
  letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.plan .who { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.plan .price { margin-top: 18px; }
.plan .price b { display: block; color: var(--ink); font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.plan .price span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.plan .price b span { display: inline; font-size: inherit; color: inherit; margin: 0; }
.plan .pctl { margin-top: 14px; }
.stepper { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--bg-soft); }
.stepper .lbl { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.stepper button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; color: var(--ink);
  font: 600 16px/1 inherit; cursor: pointer; }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; color: var(--ink); }
.stepper small { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
.plan .btn { justify-content: center; margin-top: 16px; }
.plan .ticks { margin-top: 22px; gap: 10px; }
.plan .ticks li { font-size: 14.5px; }
.addons-h { margin-top: 56px; font-size: 16px; font-weight: 650; color: var(--ink); text-align: center; }
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.addon { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--bg-soft); }
.addon b { display: block; color: var(--ink); font-size: 15px; font-weight: 650; }
.addon span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.price-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
@supports (grid-template-rows: subgrid) {
  .plans { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; align-content: start; }
  .plan .btn { align-self: start; }
}
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; row-gap: 20px; }
  .plan { grid-row: auto; grid-template-rows: none; display: flex; }
  .addons { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .plans, .addons { grid-template-columns: 1fr; } }
.plan { grid-template-columns: minmax(0, 1fr); }
.plan .ticks { align-content: start; }
.stepper { width: 100%; grid-template-columns: auto 1fr auto auto auto; }
.stepper .lbl { white-space: nowrap; grid-column: 1; }
.stepper .dec { grid-column: 3; } .stepper output { grid-column: 4; } .stepper .inc { grid-column: 5; }
@media (max-width: 1080px) { #pricing .plan .btn { align-self: stretch; } }

/* Contact */
.cgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ccard { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: #fff; box-shadow: var(--shadow); }
#contact-form { display: grid; gap: 18px; }
.crow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
#contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
#contact-form .opt { font-weight: 400; color: var(--muted); }
#contact-form input:not([type=checkbox]), #contact-form select, #contact-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px;
  font-family: inherit; font-size: 15px; line-height: 1.5; font-weight: 400;
  color: var(--ink); background: #fff; }
#contact-form textarea { resize: vertical; min-height: 140px; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
#contact-form .invalid { border-color: #dc2626 !important; }
#contact-form .ccheck { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); }
#contact-form .ccheck input { margin-top: 4px; }
#contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-form .btn { justify-content: center; width: 100%; height: 50px; }
#contact-form .btn:disabled { opacity: .6; cursor: wait; }
.cmsg { margin: 0; min-height: 1em; font-size: 14px; color: #b91c1c; }
.cnotice { margin: 0; font-size: 13.5px; color: var(--muted); }
.cnotice a { color: var(--blue-strong); }
.cplan { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--blue-soft);
  border: 1px solid #cfe0f6; font-size: 14.5px; color: var(--ink); }
.cplan b { color: var(--blue-strong); }
.cdone { text-align: center; padding: 24px 8px; }
.cdone h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.cdone p { margin-top: 12px; font-size: 16.5px; }
.cside { display: grid; gap: 28px; }
.cside-item b { display: block; color: var(--ink); font-size: 16px; font-weight: 650; }
.cside-item p { margin-top: 6px; font-size: 15.5px; color: var(--body); }
@media (max-width: 900px) { .cgrid, .crow { grid-template-columns: 1fr; } .ccard { padding: 24px; } }
