/* DTwin website. Colours are the brand's (navy #13294B, orange #F7931E, blue #2D6CDF; #5B9BFF on dark). No scripts,
   no inline styles: the Content Security Policy in vercel.json allows only this file. */
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin.woff2') format('woff2-variations'), url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/fonts/inter-latin-ext.woff2') format('woff2-variations'), url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff; --bg-alt: #f4f6fa; --panel: #ffffff; --line: #dfe4ec; --ink: #13294b; --text: #2a3446; --muted: #5d6a80;
  --blue: #2d6cdf; --blue-ink: #ffffff; --orange: #f7931e; --brand-band: #13294b; --brand-text: #e8eef8;
  --m-left: #13294b; --m-px: #2d6cdf; --shadow: 0 1px 2px rgba(19, 41, 75, .06), 0 8px 24px rgba(19, 41, 75, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1424; --bg-alt: #0f1b30; --panel: #12203a; --line: #22324f; --ink: #f2f6fc; --text: #d3dbe8; --muted: #93a1b8;
    --blue: #5b9bff; --blue-ink: #08111f; --brand-band: #0f1b30; --brand-text: #d3dbe8;
    --m-left: #ffffff; --m-px: #5b9bff; --shadow: none;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; overflow-wrap: normal; }
h1 { font-size: clamp(32px, 6vw, 52px); font-weight: 750; margin: 0 0 16px; }
h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; margin: 0 0 20px; }
h3 { font-size: 19px; font-weight: 650; margin: 0 0 8px; }
p { margin: 0 0 14px; }
a { color: var(--blue); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 650; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--panel); padding: 8px 12px; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* the mark */
.mark { flex: none; }
.mark .m-top { fill: #f7931e; } .mark .m-left { fill: var(--m-left); } .mark .m-px { fill: var(--m-px); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 21px; letter-spacing: -0.02em; margin-right: auto; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 6px; font-size: 15px; font-weight: 500; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); background: var(--bg-alt); }
@media (max-width: 560px) { .top-in { padding-top: 8px; padding-bottom: 8px; } .top nav { order: 3; width: 100%; justify-content: space-between; } .top nav a { padding: 4px 6px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: var(--blue-ink); text-decoration: none; font-weight: 600; border-radius: 8px; padding: 10px 18px; border: 1px solid var(--blue); line-height: 1.2; }
.btn:hover { filter: brightness(1.08); }
.btn-sm { padding: 7px 12px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-alt); filter: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 10px; }
.note { color: var(--muted); font-size: 14px; }

/* home */
.hero { position: relative; overflow: hidden; background: #0b1424 url('/video/hero.jpg') center / cover no-repeat; color: #e8eef8; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 26, .9) 0%, rgba(8, 14, 26, .72) 45%, rgba(8, 14, 26, .2) 100%); }
@media (max-width: 760px) { .hero-shade { background: rgba(8, 14, 26, .8); } }
.wrap.hero-in { position: relative; padding-top: 64px; padding-bottom: 72px; min-height: min(78vh, 680px); display: flex; align-items: center; }
.hero-text { max-width: 640px; }
.hero h1 { color: #ffffff; }
.hero .lead { color: #d6deea; }
.hero .note { color: #aab6c8; }
.hero .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.kicker { color: var(--orange); font-weight: 650; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--text); }
.gallery img { border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); }
figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.band { padding: 56px 0; }
.band-alt { background: var(--bg-alt); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.card p { margin: 0; font-size: 16px; }
.gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); }
.gallery figure { margin: 0; }
.band-brand { background: var(--brand-band); color: var(--brand-text); }
.band-brand h2, .band-brand strong { color: #ffffff; }
.band-brand a:not(.btn) { color: #9cc1ff; }
.band-brand .btn-ghost { color: #ffffff; border-color: #3a527a; }
.band-brand .btn-ghost:hover { background: #1c3560; }
.start { max-width: 760px; }

/* text pages */
.page { padding: 48px 16px 64px; }
.page h2 { margin-top: 36px; font-size: 24px; }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--panel); box-shadow: var(--shadow); margin: 24px 0; }
.plan h2 { margin: 0 0 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { color: var(--orange); }
.plan ul { padding-left: 20px; margin: 0 0 8px; }
.plan li { margin: 4px 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 28px; background: var(--bg-alt); font-size: 15px; }
.foot-in { display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand div { display: flex; flex-direction: column; line-height: 1.25; }
.foot-brand span { color: var(--muted); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot nav a { color: var(--text); text-decoration: none; }
.foot nav a:hover { color: var(--blue); }
.foot-contact, .foot-small { margin: 0; color: var(--muted); font-size: 14px; }
