/* The landing page of «آبان» (abanrayan.com). Phone first: every rule is written for a 390px screen, and the
   media queries at the end widen it. Plain CSS, no build. Colours follow the app's own (its blue and teal),
   with a navy ground and an amber accent of the page's own. */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-wght.woff2") format("woff2-variations"), url("fonts/Vazirmatn-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #061827;
  --navy-900: #0a2238;
  --navy-800: #0f2f4c;
  --navy-700: #174269;
  --blue: #0d6e9f;
  --blue-700: #08486b;
  --blue-400: #4a9ccd;
  --blue-200: #9fd3f0;
  --blue-50: #eaf4fa;
  --teal: #10806c;
  --teal-50: #e5f3f0;
  --amber: #f2a83b;
  --amber-600: #e0921f;
  --amber-800: #8f540a;
  --amber-50: #fdf3e2;
  --ink: #17212b;
  --ink-2: #33414f;
  --ink-soft: #566474;
  --line: #e2e7ee;
  --bg: #f4f7fa;
  --paper: #ffffff;
  --r: 18px;
  --r-sm: 12px;
  --shadow: 0 1px 2px rgba(10, 34, 56, .05), 0 10px 30px rgba(10, 34, 56, .07);
  --font: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.jump { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--amber); color: var(--navy-950); padding: 8px 14px; border-radius: 10px; z-index: 50; font-weight: 700; }
.jump:focus { top: 10px; }

.inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ── Buttons ─────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 14px; border: 0;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.button:active { transform: translateY(1px); }
.amber { background: var(--amber); color: var(--navy-950); box-shadow: 0 8px 24px rgba(242, 168, 59, .28); }
.amber:hover { background: #f6b555; }
.outline { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.outline:hover { background: rgba(255, 255, 255, .14); }
.small { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ── Header ──────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 34, 56, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.masthead .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo .logo-mark { width: 38px; height: 38px; }
.logo b { font-size: 21px; font-weight: 800; line-height: 1; display: block; }
.logo small { display: block; font-size: 12px; color: var(--blue-200); line-height: 1.7; }
.menu { display: none; }

/* ── Hero ────────────────────────────────────────────── */
.opening {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 420px at 85% -5%, rgba(74, 156, 205, .32), transparent 65%),
    radial-gradient(520px 380px at 0% 92%, rgba(242, 168, 59, .16), transparent 65%),
    linear-gradient(180deg, var(--navy-900), #0b2843 70%, var(--navy-900));
  padding: 30px 0 46px;
}
.opening::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.opening .inner { position: relative; z-index: 1; }
.soon {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #dbeaf5;
}
.soon b { background: var(--amber); color: var(--navy-950); border-radius: 999px; padding: 1px 10px; font-size: 12px; }
.opening h1 { font-size: 32px; line-height: 1.45; font-weight: 800; margin-top: 18px; letter-spacing: -.01em; }
.opening h1 .hl { color: var(--amber); white-space: nowrap; }
.opening .intro { margin-top: 14px; font-size: 16.5px; line-height: 1.95; color: rgba(255, 255, 255, .8); }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }

/* The network: Aban in the middle, the parts of a company around it. */
.net-fig { margin: 0; padding-bottom: 34px; }
.net { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin: 34px auto 0; }
.net svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net .ring { fill: none; stroke: rgba(159, 211, 240, .12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.net .ln { stroke: rgba(159, 211, 240, .28); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.net .pulse { stroke: var(--amber); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 3 97; animation: flow 3.2s linear infinite; opacity: .95; }
.net .pulse.b { stroke: var(--blue-200); animation-duration: 4.1s; animation-direction: reverse; }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 31%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #fff; color: var(--navy-900);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 0 0 18px rgba(255, 255, 255, .03), 0 18px 50px rgba(0, 0, 0, .35);
}
.hub .logo-mark { width: 42%; height: auto; }
.hub b { font-size: 15px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.hub::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(242, 168, 59, .55); animation: halo 2.8s ease-out infinite; }
@keyframes halo { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
.node {
  position: absolute; transform: translate(-50%, -22px); width: 25.5%;
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
}
.node .dot {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  border: 1px solid rgba(255, 255, 255, .2); color: var(--blue-200);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.node.hot .dot { color: var(--amber); border-color: rgba(242, 168, 59, .55); }
.node span { font-size: 12.5px; font-weight: 600; line-height: 1.55; color: #e9f3fa; white-space: nowrap; background: rgba(9, 30, 50, .9); border-radius: 8px; padding: 1px 7px; }
.node small { display: block; font-size: 11px; font-weight: 400; color: #9fbfd6; }
.n1 { left: 50%; top: 12%; }
.n2 { left: 76.5%; top: 23.5%; }
.n3 { left: 87%; top: 50%; }
.n4 { left: 76.5%; top: 76.5%; }
.n5 { left: 50%; top: 88%; }
.n6 { left: 23.5%; top: 76.5%; }
.n7 { left: 13%; top: 50%; }
.n8 { left: 23.5%; top: 23.5%; }

/* ── Numbers band ───────────────────────────────────── */
.band { background: var(--paper); border-bottom: 1px solid var(--line); }
.band ul { display: grid; grid-template-columns: repeat(2, 1fr); }
.band li { padding: 18px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.band li:nth-child(odd) { border-inline-end: 1px solid var(--line); }
.band li:nth-last-child(-n+2) { border-bottom: 0; }
.band b { display: block; font-size: 30px; font-weight: 800; color: var(--navy-900); line-height: 1.3; }
.band span { font-size: 13.5px; color: var(--ink-soft); }

/* ── Sections ───────────────────────────────────────── */
section { padding: 50px 0; }
.sec-intro { max-width: 760px; margin-bottom: 28px; }
.overline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--blue); background: var(--blue-50); padding: 3px 12px; border-radius: 999px; }
.sec-intro h2 { font-size: 26px; line-height: 1.55; font-weight: 800; margin-top: 12px; color: var(--navy-900); letter-spacing: -.005em; }
.sec-intro p { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; }
.dark .overline { background: rgba(242, 168, 59, .14); color: var(--amber); }
.dark .sec-intro h2 { color: #fff; }
.dark .sec-intro p { color: #b9cfdf; }
.alt { background: var(--paper); }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); }
.panel h3 { font-size: 17.5px; font-weight: 800; line-height: 1.6; color: var(--navy-900); }
.panel p { margin-top: 6px; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
.glyph { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 12px; }
.glyph.am { background: var(--amber-50); color: var(--amber-800); }
.glyph.tl { background: var(--teal-50); color: var(--teal); }
.cols { display: grid; gap: 12px; }
/* A card of a list: its sign beside its title, its words under both (shorter on a phone than a sign on top). */
.cols > .panel:not(.ind) { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; }
.cols > .panel:not(.ind) > .glyph { margin: 0; width: 40px; height: 40px; border-radius: 12px; }
.cols > .panel:not(.ind) > p { grid-column: 1 / -1; margin-top: 8px; }

/* ── The flow: one load from purchase to the head office ── */
.flow { position: relative; display: grid; gap: 12px; padding-inline-start: 30px; }
.flow .panel { padding: 16px 18px; }
.flow .panel p { font-size: 14.5px; }
.flow::before { content: ""; position: absolute; inset-inline-start: 10px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, var(--blue-400), var(--amber)); border-radius: 2px; }
.stage { position: relative; }
.stage::before {
  content: attr(data-n); position: absolute; inset-inline-start: -30px; top: 18px;
  width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); color: var(--blue);
  font-size: 12px; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.stage:last-child::before { border-color: var(--amber-600); color: var(--amber-800); }
.dept { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue-700); background: var(--blue-50); border-radius: 9px; padding: 3px 10px 3px 8px; }
.dept .i { width: 17px; height: 17px; }
.stage h3 { margin-top: 10px; }
.auto { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); align-items: center; }
.auto em { font-style: normal; font-size: 12.5px; color: var(--ink-soft); margin-inline-end: 2px; }
.auto span { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--teal); background: var(--teal-50); border-radius: 999px; padding: 2px 10px; }
.auto span .i { width: 13px; height: 13px; stroke-width: 2.6; }
.flow-note { margin-top: 18px; font-size: 15px; color: var(--ink-soft); }

/* ── Branches: the head office over three branches ── */
.org { margin-bottom: 26px; }
.ho {
  position: relative; margin: 0 auto; max-width: 560px; border-radius: var(--r); padding: 16px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; box-shadow: var(--shadow);
}
.ho-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ho h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ho h3 .i { color: var(--amber); }
.ho p { font-size: 13.5px; color: #b9cfdf; margin-top: 6px; line-height: 1.8; }
.picker { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy-900); border-radius: 10px; padding: 5px 10px; font-size: 13px; font-weight: 700; }
.picker em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.picker .i { width: 14px; height: 14px; stroke-width: 2.4; }
.wires { display: block; width: 100%; max-width: 560px; height: 34px; margin: 0 auto; }
.wires path { fill: none; stroke: var(--blue-400); stroke-width: 1.6; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 560px; margin: 0 auto; }
.br { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 8px; box-shadow: var(--shadow); text-align: center; }
.br b { display: block; font-size: 14px; font-weight: 800; color: var(--navy-900); }
.br ul { margin-top: 8px; display: grid; gap: 5px; }
.br li { display: flex; align-items: center; gap: 5px; justify-content: center; font-size: 11.5px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 3px 4px; line-height: 1.6; }
.br li .i { width: 13px; height: 13px; color: var(--blue); }
.br .who { margin-top: 8px; font-size: 11px; color: var(--teal); font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 4px; }
.br .who .i { width: 13px; height: 13px; }

/* ── Industries ─────────────────────────────────────── */
.ind { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ind-top { padding: 18px 20px 16px; color: #fff; display: flex; align-items: center; gap: 12px; }
.ind-top .glyph { margin: 0; background: rgba(255, 255, 255, .14); color: #fff; }
.ind-top h3 { color: #fff; font-size: 18px; }
.ind-top small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.ind.c1 .ind-top { background: linear-gradient(135deg, #0d6e9f, #0a4f78); }
.ind.c2 .ind-top { background: linear-gradient(135deg, #10806c, #0a5c4e); }
.ind.c3 .ind-top { background: linear-gradient(135deg, #c27a12, #8f540a); }
.ind.c4 .ind-top { background: linear-gradient(135deg, #2b4a6b, #17304a); }
.ind-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ind-body > p { margin: 0; }
.ticks { display: grid; gap: 7px; }
.ticks li { display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.75; }
.ticks .i { width: 17px; height: 17px; color: var(--teal); stroke-width: 2.6; margin-top: 4px; }
.apps-row { display: flex; flex-wrap: wrap; gap: 6px; }
.apps-row span { font-size: 12.5px; font-weight: 600; color: var(--navy-800); background: var(--blue-50); border-radius: 8px; padding: 2px 9px; }
.apps-row.more span { background: var(--bg); color: var(--ink-soft); font-weight: 500; }
.lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
/* On a phone the industries are examples: what each may add waits for a wider screen. */
@media (max-width: 599px) { .more-lbl, .apps-row.more { display: none; } }
/* Groups and holdings: the first and widest card of the section. */
.group { display: grid; gap: 18px; padding: 20px 18px; margin-bottom: 18px; border-color: #f1dfbf; background: linear-gradient(160deg, #fff 40%, var(--amber-50)); }
.group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.group-head .glyph { margin: 0; }
.group-head h3 { font-size: 20px; }
.group-head small { display: block; font-size: 13px; color: var(--amber-800); font-weight: 700; }
.group-map { display: grid; }
.gm-top { justify-self: center; display: inline-flex; align-items: center; gap: 7px; background: var(--navy-900); color: #fff; font-weight: 800; font-size: 14px; border-radius: 11px; padding: 6px 14px; }
.gm-top .i { width: 17px; height: 17px; color: var(--amber); }
.group-map .wires { height: 26px; }
.gm-cos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.gm-co { display: grid; gap: 4px; align-content: start; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: 12px; padding: 9px 6px; text-align: center; }
.gm-co:nth-child(2) { border-top-color: var(--teal); }
.gm-co:nth-child(3) { border-top-color: var(--amber-600); }
.gm-co b { font-size: 12.5px; font-weight: 800; color: var(--navy-900); line-height: 1.6; }
.gm-co span { font-size: 11.5px; color: var(--ink-2); background: var(--bg); border-radius: 7px; line-height: 1.8; }
.gm-co em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--teal); display: flex; align-items: center; justify-content: center; gap: 3px; margin-top: 2px; }
.gm-co em .i { width: 13px; height: 13px; }
.examples { margin: 6px 0 14px; color: var(--ink-soft); font-size: 15px; }
/* Any other big business: the last card, open-ended. */
.any { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; border-style: dashed; border-width: 1.5px; border-color: #b9cddc; box-shadow: none; }
.any .glyph { margin: 0; }
.any a { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ── Apps ───────────────────────────────────────────── */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.app { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 14px 13px; }
.app .glyph { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 8px; }
.app .glyph .i { width: 20px; height: 20px; }
.app h3 { font-size: 14.5px; font-weight: 800; color: var(--navy-900); line-height: 1.55; }
.app p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; margin-top: 4px; }
.sols { display: grid; gap: 12px; margin-top: 14px; }
.sol { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(160deg, #fff, var(--amber-50)); border-color: #f1dfbf; }
.sol .glyph { margin: 0; }
.sol .tag { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--amber-800); background: #fbe6c3; border-radius: 6px; padding: 0 8px; margin-inline-start: 6px; vertical-align: middle; }
.sol .on { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); }

/* ── Trust (dark) ───────────────────────────────────── */
.safety-list { display: grid; gap: 12px; }
.safety-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.safety-item .glyph { margin: 0; background: rgba(242, 168, 59, .14); color: var(--amber); }
.safety-item h3 { font-size: 16.5px; font-weight: 800; line-height: 1.6; }
.safety-item p { font-size: 14.5px; color: #b9cfdf; margin-top: 4px; line-height: 1.85; }

/* ── Made for Iran ──────────────────────────────────── */
.iran { display: grid; gap: 10px; }
.ir { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ir:last-child { border-bottom: 0; }
.ir .glyph { margin: 0; width: 40px; height: 40px; }
.ir h3 { font-size: 16px; font-weight: 800; color: var(--navy-900); line-height: 1.6; }
.ir p { font-size: 14.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.85; }

/* ── How a company comes onto Aban: a numbered list with a rule between rows ── */
.begin { display: grid; border-top: 2px solid var(--navy-900); }
.begin-item { display: grid; grid-template-columns: 54px 1fr; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.begin-n { font-size: 34px; font-weight: 800; line-height: 1.1; color: var(--amber-600); }
.begin-item h3 { font-size: 17.5px; font-weight: 800; color: var(--navy-900); line-height: 1.6; }
.begin-item p { margin-top: 4px; color: var(--ink-2); font-size: 15px; }

/* ── Questions: open one, read its answer ──────────── */
.questions { display: grid; gap: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.questions details { border-bottom: 1px solid var(--line); padding: 0 18px; }
.questions details:last-child { border-bottom: 0; }
.questions summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 15.5px; color: var(--navy-900); display: flex; justify-content: space-between; gap: 14px; align-items: center; line-height: 1.7; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; margin-top: -5px; }
.questions details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.questions details[open] { background: var(--blue-50); }
.questions details p { padding: 0 0 16px; color: var(--ink-2); font-size: 15px; }

/* ── Talk to us: the request form ───────────────────── */
.talk-sec { padding-top: 10px; }
.talk {
  position: relative; overflow: hidden; border-radius: 24px; padding: 26px 16px 18px; color: #fff;
  display: grid; gap: 22px;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(74, 156, 205, .35), transparent 70%),
    radial-gradient(380px 240px at 0% 100%, rgba(242, 168, 59, .22), transparent 70%),
    var(--navy-900);
}
.talk-copy { padding: 0 4px; }
.talk h2 { font-size: 26px; line-height: 1.55; font-weight: 800; margin-top: 14px; }
.talk-copy > p { color: #c4d8e7; margin-top: 10px; }
.talk-points { margin-top: 14px; display: grid; gap: 6px; }
.talk-points li { display: flex; gap: 8px; font-size: 14.5px; color: #dcebf5; }
.talk-points .i { width: 17px; height: 17px; color: var(--amber); stroke-width: 2.6; margin-top: 5px; }
.ask, .ask-done { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 20px 16px; display: grid; gap: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.ask h3, .ask-done h3 { font-size: 18px; font-weight: 800; color: var(--navy-900); }
.field { display: grid; gap: 5px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding: 0; }
.field i { font-style: normal; color: #c62828; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 12px; min-height: 48px; width: 100%; transition: border-color .15s, background .15s;
}
.field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; min-height: 84px; line-height: 1.8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(13, 110, 159, .15); }
.field input[aria-invalid="true"] { border-color: #c62828; background: #fff6f6; }
.field input::placeholder { color: #9aa6b2; }
.pick { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-block; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 13px; }
.pick input:checked + span { background: var(--blue-50); border-color: var(--blue); color: var(--blue-700); }
.pick input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.three .field > span { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.field legend em { font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: 12.5px; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.send { width: 100%; margin-top: 4px; }
.send[disabled] { opacity: .65; }
.ask-fields { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.ask-fields[disabled] { opacity: .55; }
.ask-soon { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--amber-800); background: var(--amber-50); border: 1px solid #f1dfbf; border-radius: 12px; padding: 10px 12px; line-height: 1.8; }
.ask-soon .i { width: 18px; height: 18px; margin-top: 4px; }
.send[disabled] { cursor: not-allowed; }
.ask-msg { font-size: 14px; min-height: 1.5em; color: #c62828; }
.ask-done { text-align: center; justify-items: center; padding: 34px 20px; }
.done-sign { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.done-sign .i { width: 30px; height: 30px; stroke-width: 2.6; }
.ask-done h3:focus { outline: none; }
.done-text { color: var(--ink-2); }

/* ── Footer ─────────────────────────────────────────── */
footer { padding: 34px 0 40px; color: var(--ink-soft); font-size: 14px; }
.base { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 24px; }
.base .logo { color: var(--navy-900); }
.base .logo small { color: var(--ink-soft); }
.base nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.base nav a { text-decoration: none; color: var(--ink-2); }
.base nav a:hover { color: var(--blue); }



@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .net .pulse, .hub::before { animation: none; }
  .net .pulse { display: none; }
}

/* ── Wider screens ──────────────────────────────────── */
@media (min-width: 600px) {
  .inner { padding: 0 24px; }
  .actions { flex-direction: row; flex-wrap: wrap; }
  .band ul { grid-template-columns: repeat(4, 1fr); }
  .band li { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .band li:last-child { border-inline-end: 0; }
  .cols.c2, .cols.c3 { grid-template-columns: repeat(2, 1fr); }
  .apps { grid-template-columns: repeat(3, 1fr); }
  .sols { grid-template-columns: repeat(2, 1fr); }
  .safety-list { grid-template-columns: repeat(2, 1fr); }
  .iran { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .ir:nth-last-child(2) { border-bottom: 0; }
  .begin { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .br { padding: 14px 12px; }
  .br li { font-size: 12.5px; }
  .node span { font-size: 14px; }
  .node { transform: translate(-50%, -27px); }
  .node .dot { width: 54px; height: 54px; border-radius: 16px; }
  .node .dot .i { width: 26px; height: 26px; }
  .hub b { font-size: 20px; }
  .talk { padding: 36px 28px; }
  .ask, .ask-done { padding: 26px 24px; }
}

@media (min-width: 960px) {
  body { font-size: 17px; }
  .menu { display: flex; align-items: center; gap: 4px; }
  .menu a { color: #d5e5f1; text-decoration: none; font-size: 14.5px; padding: 6px 11px; border-radius: 9px; }
  .menu a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .menu .button { margin-inline-start: 8px; color: var(--navy-950); }
  .masthead .menu-cta { display: none; }
  .opening { padding: 64px 0 80px; }
  .opening .inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
  .opening h1 { font-size: 50px; line-height: 1.4; }
  .opening .intro { font-size: 18.5px; max-width: 620px; }
  .net { margin: 0 auto; }
  section { padding: 92px 0; }
  .sec-intro { margin-bottom: 40px; }
  .sec-intro h2 { font-size: 36px; }
  .sec-intro p { font-size: 17.5px; }
  .cols.c3 { grid-template-columns: repeat(3, 1fr); }
  .cols.c2 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .apps { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .group { grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding: 28px 30px; }
  .gm-co { padding: 12px 10px; }
  .gm-co b { font-size: 14px; }
  .gm-co span { font-size: 12.5px; }
  .app { padding: 18px; }
  .app h3 { font-size: 16px; }
  .app p { font-size: 13.5px; }
  .safety-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .begin { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .begin-item { grid-template-columns: 1fr; border-bottom: 0; }
  .begin-n { font-size: 44px; }
  /* The flow becomes a spine with the steps on either side. */
  .flow { padding: 0; gap: 0; }
  .flow::before { inset-inline-start: 50%; transform: translateX(50%); }
  .stage { width: calc(50% - 34px); margin-bottom: -30px; }
  .stage:nth-child(even) { margin-inline-start: calc(50% + 34px); }
  .stage:last-child { margin-bottom: 0; }
  .stage::before { inset-inline-start: auto; inset-inline-end: -46px; top: 22px; width: 26px; height: 26px; }
  .stage:nth-child(even)::before { inset-inline-end: auto; inset-inline-start: -46px; }
  .org { margin-bottom: 40px; }
  .ho, .wires, .branches { max-width: 780px; }
  .ho { padding: 20px 24px; }
  .branches { gap: 16px; }
  .br { padding: 16px; }
  .br b { font-size: 16px; }
  .br li { font-size: 13.5px; padding: 5px; }
  .flow-note { text-align: center; margin-top: 30px; }
  .talk { grid-template-columns: 1fr 470px; gap: 44px; padding: 52px 48px; align-items: start; }
  .talk h2 { font-size: 36px; }
  .talk-copy { padding-top: 10px; }
  .base { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ── The 404 page ───────────────────────────────────── */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.nf .inner { display: block; }
.nf img { margin: 0 auto; }
.nf .actions { justify-content: center; }
