/* tidvane.com — "Create once. Go further." Bright sky, navy type, a cobalt-to-turquoise gradient and one signal colour
   per network (owner reference docs/design/2026-09-26-reference-theme.png). Fonts are bundled; nothing loads from elsewhere. */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #0F2552; --ink: #33466B; --muted: #66779A; --line: #DCE7F4;
  --sky: #F5F9FE; --sky-2: #EAF3FC; --white: #FFFFFF;
  --blue: #1F6FEB; --blue-deep: #1E4FC4; --cyan: #22C3E8; --teal: #2EE6D0;
  --grad: linear-gradient(90deg, #2EE6D0 0%, #22C3E8 45%, #1F6FEB 100%);
  --shadow: 0 1px 2px rgba(15, 37, 82, .06), 0 10px 30px rgba(31, 79, 196, .10);
  --shadow-lift: 0 2px 4px rgba(15, 37, 82, .06), 0 18px 40px rgba(31, 79, 196, .16);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --edge: max(var(--gutter), calc((100% - 1280px) / 2 + var(--gutter)));
  --ease: cubic-bezier(.2, .7, .2, 1);
  --measure: 64ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--sky);
  background-image: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 38%, #F4F9FE 100%); }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
p { max-width: var(--measure); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--navy); letter-spacing: -.015em; line-height: 1.08; }
:focus-visible { outline: 3px solid rgba(31, 111, 235, .45); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--white); padding: 10px 14px; z-index: 10; border-radius: 10px; box-shadow: var(--shadow); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(64px, 9vw, 120px) 0; }
.kicker { font: 500 .78rem/1.5 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink); }

/* ---------- header ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--edge); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; }
.brand b { font: 700 1.3rem/1 var(--display); letter-spacing: .08em; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none;
  font: 500 .95rem/1 var(--sans); color: var(--navy); background: var(--white); box-shadow: var(--shadow); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pill:hover { color: var(--navy); box-shadow: var(--shadow-lift); transform: translateY(-1px); }
.pill.solid { color: var(--white); background: linear-gradient(90deg, #1FB5E3, #1F6FEB); }
.pill.solid:hover { color: var(--white); }

/* ---------- hero: the gateway diagram ---------- */
.hero { padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-head { text-align: center; max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.hero h1 { margin: 0; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.02; }
.hero h1 span { display: block; background: linear-gradient(90deg, #1E4FC4, #1F6FEB 55%, #22A9E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .kicker { margin: 22px auto 0; }
.hero-head p.lead { margin: 18px auto 0; max-width: 46em; }

.diagram { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 380px) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 110px); align-items: center; max-width: 1360px; margin: clamp(40px, 6vw, 72px) auto 0; padding: 0 var(--gutter); }
.diagram .wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
/* only the wires themselves: `.wires path` would also blank out the arrowheads inside the markers */
.wires > path { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.wires > path.flow { stroke-dasharray: .1 26; stroke-width: 3; stroke: rgba(255, 255, 255, .9); animation: flow 1.8s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -52.2; } }
.col { display: grid; gap: 14px; position: relative; z-index: 1; }
.col-label { font: 500 .74rem/1.3 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }

.pub { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 16px 12px 12px;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pub::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--blue)); }
.pub img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; margin-left: 4px; }
.pub h3 { margin: 0; font: 600 clamp(1.08rem, 1.5vw, 1.3rem)/1.15 var(--serif); letter-spacing: -.01em; color: var(--navy); }
.pub .sub { margin: 4px 0 0; font: 500 .68rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.pub .tags { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }

.net { display: grid; grid-template-columns: 44px minmax(0, 1fr) 16px; gap: 14px; align-items: center; padding: 12px 16px 12px 12px;
  border-radius: 16px; box-shadow: var(--shadow); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, #fff), #fff 70%); }
.net .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent); }
.net .ico svg { width: 22px; height: 22px; }
.net h3 { margin: 0; font: 700 1rem/1.2 var(--display); letter-spacing: 0; }
.net p { margin: 2px 0 0; font-size: .85rem; line-height: 1.35; color: var(--muted); }
.net .chev { color: var(--c); width: 16px; height: 16px; }

.hub { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; }
.hub::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 2px dotted rgba(31, 111, 235, .35); }
.hub::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 8px rgba(91, 212, 253, .16), 0 0 70px 10px rgba(34, 195, 232, .45), inset 0 0 40px rgba(34, 195, 232, .35); }
.hub .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 45%, #fff 0%, #F2FAFE 55%, #DDF2FC 100%); }
.hub .disc video, .hub .disc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hub .disc::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .45) 58%, rgba(255, 255, 255, 0) 80%); }
.hub .core { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 12%; }
.hub .core svg { width: clamp(56px, 7vw, 92px); height: auto; }
.hub .core b { margin-top: 8px; font: 700 clamp(1.8rem, 3.2vw, 2.7rem)/1 var(--display); letter-spacing: .06em; color: var(--navy); }
.hub .core span { margin-top: 10px; font: 500 clamp(.85rem, 1.2vw, 1rem)/1.3 var(--sans); color: var(--navy); }
.hub .core i { display: block; width: 42%; height: 2px; margin: 14px auto; background: var(--grad); border-radius: 2px; }
.hub .core em { font: 700 clamp(1rem, 1.5vw, 1.25rem)/1 var(--display); font-style: normal; color: var(--blue); letter-spacing: .01em; }
.inputs { position: absolute; z-index: 1; left: 50%; top: calc(100% + 34px); transform: translateX(-50%); width: max-content; max-width: 90vw;
  text-align: center; font-size: .88rem; color: var(--muted); }

/* ---------- three steps ---------- */
.steps { padding: 0 0 clamp(8px, 2vw, 24px); }
.steps ol { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { text-align: center; padding: 8px clamp(12px, 2.5vw, 32px); }
.steps li + li { border-left: 1px solid var(--line); }
.steps svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--blue); }
.steps h3 { margin: 0; font-size: 1.12rem; }
.steps p { margin: 8px auto 0; font-size: .95rem; color: var(--muted); max-width: 26em; }

/* ---------- values ---------- */
.values h2, .day h2, .private h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 0; }
.values .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.values .intro p { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 2.4vw, 32px); }
.card .dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; }
.card .dot svg { width: 20px; height: 20px; }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; font-size: .97rem; color: var(--ink); }

/* ---------- world band ---------- */
.world { position: relative; min-height: clamp(460px, 64vh, 720px); padding: 0; display: grid; place-items: end center; overflow: hidden; background: #EAF4FD; }
.world video, .world .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.world::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(245, 249, 254, 0) 45%, rgba(245, 249, 254, .92) 88%, #F5F9FE 100%); }
.world .say { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter) clamp(40px, 6vw, 72px); }
.world h2 { margin: 0; font-size: clamp(2.1rem, 5vw, 4rem); }
.world .kicker { margin: 16px auto 0; }

/* ---------- a day at the desk ---------- */
.day .lead { margin: 16px 0 0; }
.chart { margin-top: clamp(28px, 4vw, 48px); background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .wave { fill: none; stroke: var(--blue); stroke-width: 2; }
.chart .fill { fill: url(#tidefill); }
.chart .hour { font: 400 13px var(--sans); fill: var(--muted); }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .story { fill: var(--teal); }
.chart .slot line { stroke: var(--cyan); stroke-width: 1.4; stroke-dasharray: 3 4; }
.chart .slot circle { fill: var(--white); stroke: var(--blue); stroke-width: 2.4; }
.chart .slot text { font: 700 15px var(--display); fill: var(--navy); }
.chart-note { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.chart-note span { display: inline-flex; align-items: center; gap: 8px; }
.key-wave { width: 18px; height: 0; border-top: 2px solid var(--blue); }
.key-story { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.key-slot { width: 12px; height: 12px; border-radius: 50%; border: 2.4px solid var(--blue); }
.js .chart .wave { stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); }
.js .chart .fill, .js .chart .slot, .js .chart .story { opacity: 0; }
.js .chart.on .wave { transition: stroke-dashoffset 2.4s var(--ease); stroke-dashoffset: 0; }
.js .chart.on .fill { transition: opacity 1.2s ease 1.4s; opacity: 1; }
.js .chart.on .story { transition: opacity .6s ease; opacity: 1; transition-delay: calc(.3s + var(--i) * 60ms); }
.js .chart.on .slot { transition: opacity .7s ease; opacity: 1; transition-delay: calc(1.6s + var(--i) * 220ms); }

/* ---------- private gateway ---------- */
.private .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.private .frame { position: relative; aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lift); background: #DDEFFC; }
.private .frame video, .private .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.private .lead { margin: 18px 0 0; }
.private p + p { margin-top: 12px; }
.private .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- plain pages (legal) ---------- */
.page { padding: clamp(24px, 5vw, 64px) 0 clamp(64px, 9vw, 120px); }
.page .sheet { max-width: 920px; margin: 0 auto; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 64px); }
.page h1 { margin: 0 0 .5em; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin: 1.8em 0 .5em; }
.page ul { padding-left: 1.2em; max-width: var(--measure); }
.page address { font-style: normal; }
.page .updated { color: var(--muted); font-size: .9rem; margin-top: 2.6em; }
.page .alt-title { color: var(--muted); margin-top: -.6em; }
.page p a { display: inline-block; padding: 8px 0; margin: -8px 0; }

/* ---------- footer ---------- */
footer { padding: clamp(48px, 6vw, 72px) 0 32px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .6); }
footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px var(--gutter); align-items: start; }
footer .about p { margin: 14px 0 0; max-width: 32em; font-size: .95rem; color: var(--muted); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: flex-end; max-width: 540px; }
footer ul a { display: inline-block; padding: 10px 0; font-size: .95rem; color: var(--ink); text-decoration: none; }
footer ul a:hover { color: var(--blue); }
.closing { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.closing .motto { font: 500 .74rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.closing .motto::before { content: ""; display: inline-block; width: 48px; height: 1px; background: var(--blue); vertical-align: middle; margin-right: 14px; }
.powered { display: inline-block; padding: 10px 0; margin: -10px 0; color: var(--navy); text-decoration-color: var(--cyan); }
.powered b { font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .diagram { gap: 44px; grid-template-columns: minmax(0, 1fr) 270px minmax(0, 1fr); }
  .pub .sub { display: none; }
  .net p { display: none; }
}
@media (max-width: 900px) {
  .diagram { grid-template-columns: minmax(0, 1fr); gap: 64px; max-width: 640px; }
  .diagram .wires { display: none; }
  .hub { width: min(320px, 78vw); justify-self: center; }
  .col.nets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col.nets .col-label { grid-column: 1 / -1; }
  .pub .sub, .net p { display: block; }
  .hub { margin-bottom: 30px; }
  .values .intro { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private .wrap { grid-template-columns: minmax(0, 1fr); }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  footer ul { justify-content: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .col.nets { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps ol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .chart .hour { font-size: 22px; }
  .chart .slot text { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==== HORIZON warm accent (owner 04.11.2026, extended to existing sites 05.11.; Design_System
   docs/plans/2026-11-04-horizon-warm-accent.md). Blue carries the page; exactly ONE warm element per view: on the home
   page the hero's second line "Go further." (warm text #C2410C, 5.2:1, plus a warm marker bar — the gradient itself is too
   light for text). Legal pages carry none. Only under html[data-horizon="2026-11"]. ==== */
:root { --warm-1: #FFC15A; --warm-2: #FF8A4C; --warm-3: #F0533F; --warm-text: #C2410C;
  --grad-warm: linear-gradient(90deg, var(--warm-1) 0%, var(--warm-2) 55%, var(--warm-3) 100%); }
[data-horizon="2026-11"] .hero h1 span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--warm-text); }
[data-horizon="2026-11"] .hero h1 span::after { content: ""; display: block; width: min(220px, 42%); height: 6px; margin: 16px auto 0; border-radius: 3px; background: var(--grad-warm); }
