/* Tellaris Intelligence website v6: route 09 Dot Field, direction A (emerging field) */
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --ocean: #1F4E79; --coral: #E2704A; --coral-light: #F0957A; --ink: #15243A; --steel: #3F6A94;
  --mist: #F4F6F9; --line: #E3E6EB; --graphite: #58657A; --body: #3A475A; --night: #0F1B2B; --deep: #0B1522;
  --pale: #B4CDE6; --sky: #9EC0E3; --soft: #C9D6E6;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.6; color: var(--ink); background: #FFFFFF; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ocean); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }
.skip { position: absolute; left: -999px; top: 8px; background: #FFFFFF; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--night); border-bottom: 1px solid #1E2F45; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF; }
.brand svg { width: 34px; height: 34px; flex: 0 0 34px; }
.brand-name { font-size: 24px; font-weight: 700; letter-spacing: -0.4px; line-height: 1; }
.brand-suffix { font-size: 15px; font-weight: 500; color: #A9C1DC; line-height: 1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.nav a { color: #E4ECF5; text-decoration: none; font-size: 16px; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.nav a.pill { padding: 0 18px; }
.nav a.pill:hover { color: var(--night); text-decoration: none; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--coral); color: var(--night); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--coral); cursor: pointer; font-family: var(--font); }
.pill:hover { background: var(--coral-light); border-color: var(--coral-light); color: var(--night); }
.pill-outline { background: transparent; color: #FFFFFF; border-color: var(--steel); }
.pill-outline:hover { background: rgba(255,255,255,0.08); border-color: #FFFFFF; color: #FFFFFF; }
.pill-ocean { background: var(--ocean); border-color: var(--ocean); color: #FFFFFF; }
.pill-ocean:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Heroes */
.hero { position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; }
.hero .field { position: absolute; right: -60px; top: 0; width: 900px; height: 100%; min-height: 680px; pointer-events: none; }
.hero .field svg { width: 900px; height: 680px; max-width: none; }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 140px; }
.hero.page .wrap { padding-top: 88px; padding-bottom: 96px; }
.hero.page .field { opacity: 0.7; }
.eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--steel); }
.hero .eyebrow, .ocean .eyebrow, .night .eyebrow { color: var(--coral-light); }
.hero h1 { margin: 0; font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -1.6px; font-weight: 700; max-width: 12ch; }
.hero.page h1 { font-size: clamp(36px, 4.8vw, 58px); max-width: 16ch; }
.dot { display: inline-block; width: 0.2em; height: 0.2em; border-radius: 50%; background: var(--coral); margin-left: 0.06em; }
.hero .lead { margin: 28px 0 0; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; color: var(--soft); max-width: 40ch; }
@media (max-width: 900px) {
  .hero .field { right: -520px; opacity: 0.45; }
  .hero .wrap { padding-top: 72px; padding-bottom: 88px; }
}

/* Sections */
section.block { padding: 104px 0; }
section.tight { padding: 72px 0; }
.mist { background: var(--mist); }
.ocean { position: relative; overflow: hidden; background: var(--ocean); color: #FFFFFF; }
.night { position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; }
@media (max-width: 600px) { section.block { padding: 64px 0; } }
h2 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.8px; max-width: 20ch; }
h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
p { margin: 0 0 16px; }
.intro { font-size: 19px; line-height: 1.6; color: var(--graphite); max-width: 46ch; margin: 0; }
.ocean .intro, .night .intro { color: #DCE6F2; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); margin-top: 56px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.card { background: var(--mist); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card p { margin: 0; color: var(--body); font-size: 17px; }
.card h3 { margin: 0; font-size: 24px; }
.card .num { font-size: 13px; font-weight: 600; letter-spacing: 1.4px; color: var(--steel); margin: 0; }
.card .glyph { width: 112px; height: 112px; }
.card-line { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.card-line .tag { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: #C2512A; }
.card-line h3 { font-size: 26px; max-width: 18ch; margin-bottom: 12px; }
.card-line p { color: var(--body); font-size: 17px; max-width: 42ch; }
.card-line a { font-weight: 600; }

.divider { display: flex; justify-content: space-between; align-items: center; }
.divider span { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--pale); }
.divider span.hl { width: 14px; height: 14px; background: var(--coral); }
@media (max-width: 700px) { .divider span:nth-child(n+24) { display: none; } }

.big-device { position: absolute; right: -180px; top: -60px; width: 760px; height: 760px; pointer-events: none; }
.big-device svg { width: 760px; height: 760px; max-width: none; }
@media (max-width: 900px) { .big-device { opacity: 0.35; right: -320px; } }
@media (max-width: 700px) { .big-device { display: none; } }
.inner { position: relative; }

.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 32px 40px; margin-top: 56px; max-width: 780px; }
.point { display: flex; gap: 14px; align-items: flex-start; }
.point::before { content: ""; flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); margin-top: 7px; }
.point h3 { font-size: 20px; margin: 0 0 6px; }
.point p { margin: 0; font-size: 16px; color: #DCE6F2; }

.qs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.qs li { position: relative; padding-left: 26px; color: var(--body); }
.qs li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }

.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); align-items: start; }
.sector-mark { width: 120px; height: 104px; margin-bottom: 20px; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--night); color: #FFFFFF; }
.cta .field { position: absolute; left: 0; right: 0; top: 0; height: 280px; pointer-events: none; }
.cta .field svg { width: 100%; height: 280px; }
.cta .wrap { position: relative; padding-top: 104px; padding-bottom: 104px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta h2 { max-width: 18ch; }
.cta p { margin: 0; font-size: 19px; color: var(--soft); max-width: 46ch; }

/* Preview */
.preview { margin: 48px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--night); }
.preview figcaption { background: #FFFFFF; color: var(--graphite); font-size: 14px; padding: 10px 16px; }
.preview-scroll { overflow-x: auto; }
.preview-scroll svg { min-width: 760px; width: 100%; height: auto; }

/* Form */
.form { display: grid; gap: 20px; }
.field-row { display: grid; gap: 6px; }
.field-row label { font-weight: 600; font-size: 16px; }
.field-row .hint { font-size: 14px; color: var(--graphite); }
.field-row input, .field-row select, .field-row textarea { font: inherit; font-size: 17px; color: var(--ink); background: #FFFFFF; border: 1.5px solid #9AA6B8; border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%; }
.field-row textarea { min-height: 160px; resize: vertical; }
.field-row input:focus, .field-row select:focus, .field-row textarea:focus { border-color: var(--ocean); outline: 3px solid var(--pale); outline-offset: 0; }
.req { color: var(--graphite); font-weight: 400; }
.hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 36px; }
.small { font-size: 15px; }
.muted { color: var(--graphite); }

.prose { max-width: 70ch; }
.prose h2 { font-size: 26px; margin-top: 40px; margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--deep); color: #9FB2C8; border-top: 1px solid #1E2F45; font-size: 15px; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.site-footer a { color: #E4ECF5; }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.site-footer .strap { font-size: 18px; color: #FFFFFF; margin: 16px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer .legal { border-top: 1px solid #1E2F45; margin-top: 40px; padding-top: 20px; }

/* v3: benefits */
.benefits { display: grid; gap: 32px 40px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin-top: 56px; }
.benefit { border-top: 3px solid var(--ocean); padding-top: 20px; }
.benefit::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); margin: -28px 0 18px; }
.benefit h3 { font-size: 22px; margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--body); font-size: 17px; }
.prose .qs { margin-bottom: 8px; }
