/* Surecast marketing site. Tokens follow the brand kit (03 Colours/Surecast-Colours.css). */
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/Figtree-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ink: #111827;
  --tangerine: #FF7A1A;
  --paper: #FAF8F5;
  --ember: #B84A00;
  --peach: #FFE9D8;
  --graphite: #4B5563;
  --stone: #E7E2DA;
  --night: #0B0F19;
  --night-surface: #151B2B;
  --night-line: #273042;
  --night-muted: #A3AAB8;
  --success: #1E7A4C;
  --error: #C62828;
  --warning: #975A16;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--body); padding: 14px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--tangerine); color: var(--ink); }
.btn-primary:hover { background: #FF8D3A; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #1F2937; color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { color: inherit; }
.btn-sm { padding: 10px 16px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--stone); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--graphite); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .login { color: var(--ink); font-weight: 600; text-decoration: none; font-size: 15px; padding: 0 6px; }
@media (max-width: 900px) { .nav { display: none; } .header-cta { margin-left: auto; } }
@media (max-width: 420px) { .header-cta .login { display: none; } .logo img { height: 26px; } }

/* Hero */
.hero { background: var(--night); color: #fff; padding: 88px 0 96px; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; border: 60px solid rgba(255, 122, 26, .08); box-shadow: 0 0 0 60px rgba(255, 122, 26, .04); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--tangerine); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tangerine); }
.hero h1 .accent { color: var(--tangerine); }
.hero .lede { font-size: 1.2rem; color: #D1D5DB; max-width: 34em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero .fine { font-size: 14px; color: var(--night-muted); margin: 0; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding: 64px 0 72px; } }

/* Dashboard mock */
.mock { background: var(--night-surface); border: 1px solid var(--night-line); border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); font-size: 14px; }
.mock-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-title { font: 700 15px/1 var(--display); letter-spacing: -0.01em; }
.mock-date { color: var(--night-muted); font-size: 13px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--night); border: 1px solid var(--night-line); border-radius: 12px; padding: 12px; }
.stat b { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -0.02em; }
.stat span { color: var(--night-muted); font-size: 12.5px; }
.stat.warn b { color: var(--tangerine); }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mock-list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; background: var(--night); border: 1px solid var(--night-line); border-radius: 12px; padding: 10px 12px; }
.chan { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font: 700 13px/1 var(--display); color: #fff; }
.mock-list .who { line-height: 1.3; min-width: 0; }
.mock-list .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-list .who small { color: var(--night-muted); font-size: 12.5px; }
.pill { font: 600 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pill.ok { background: rgba(30, 122, 76, .2); color: #6EE7A8; }
.pill.retry { background: #3A2210; color: #FFB27A; }
.pill.warn { background: rgba(151, 90, 22, .28); color: #FCD38D; }
.pill.fail { background: rgba(198, 40, 40, .22); color: #FCA5A5; }
@media (max-width: 480px) { .mock { padding: 14px; } .stat b { font-size: 21px; } .mock-list li { grid-template-columns: 28px 1fr; } .mock-list .pill { grid-column: 2; justify-self: start; } .chan { width: 28px; height: 28px; } }

/* Platforms strip */
.platforms { padding: 28px 0; border-bottom: 1px solid var(--stone); background: #fff; }
.platforms .wrap { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; }
.platforms .label { font-size: 14px; color: var(--graphite); margin-right: 6px; }
.platforms .tag { font: 600 14px/1 var(--body); padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--stone); }
.platforms .tag.soon { color: var(--graphite); border-style: dashed; }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; display: block; }
.section-head p { font-size: 1.1rem; color: var(--graphite); }
.alt { background: #fff; border-top: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
@media (max-width: 700px) { .section { padding: 68px 0; } }

/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--stone); }
.problem .num { font: 800 15px/1 var(--display); color: var(--ember); margin-bottom: 14px; display: block; }
.problem p { color: var(--graphite); margin: 0; }
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--stone); }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--peach); color: var(--ember); margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature p { color: var(--graphite); margin: 0; font-size: 16px; }
.feature.core { background: var(--ink); color: #fff; border-color: var(--ink); }
.feature.core p { color: #D1D5DB; }
.feature.core .ico { background: rgba(255, 122, 26, .16); color: var(--tangerine); }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--tangerine); display: grid; place-items: center; font: 800 18px/1 var(--display); }
.step p { color: var(--graphite); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Compare */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--stone); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--stone); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 700 15px/1.2 var(--display); background: var(--paper); }
.compare thead th.us { background: var(--ink); color: #fff; }
.compare td.us { background: #FFF7F0; font-weight: 600; }
.compare td { font-size: 15.5px; }
.compare .muted { color: var(--graphite); }
.yes { color: var(--success); font-weight: 700; }
.note { font-size: 14px; color: var(--graphite); margin-top: 14px; }

/* Pricing */
.billing-note { text-align: center; color: var(--graphite); font-size: 15px; margin: -24px 0 36px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--stone); border-radius: 18px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); position: relative; box-shadow: 0 18px 48px rgba(17, 24, 39, .1); }
.plan .badge { position: absolute; top: -13px; left: 30px; background: var(--tangerine); color: var(--ink); font: 700 12px/1 var(--body); padding: 7px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan .for { color: var(--graphite); font-size: 15px; margin-bottom: 20px; }
.price { font: 800 44px/1 var(--display); letter-spacing: -0.03em; margin-bottom: 4px; }
.price small { font: 500 15px/1 var(--body); color: var(--graphite); letter-spacing: 0; }
.price-sub { font-size: 14px; color: var(--graphite); margin-bottom: 24px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--tangerine); border-bottom: 3px solid var(--tangerine); transform: rotate(-45deg); border-radius: 1px; }
.plan .btn { margin-top: auto; width: 100%; }
.all-plans { margin-top: 28px; text-align: center; color: var(--graphite); font-size: 15px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 800 24px/1 var(--display); color: var(--ember); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--graphite); padding-bottom: 6px; }

/* CTA band */
.cta-band { background: var(--tangerine); color: var(--ink); padding: 80px 0; text-align: center; }
.cta-band h2 { max-width: 16em; margin-left: auto; margin-right: auto; }
.cta-band p { font-size: 1.15rem; margin-bottom: 28px; }
.cta-band .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #D1D5DB; padding: 64px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 44px; }
.site-footer img { height: 28px; width: auto; margin-bottom: 16px; }
.site-footer h4 { font: 700 14px/1 var(--display); color: #fff; margin: 4px 0 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #D1D5DB; text-decoration: none; }
.site-footer a:hover { color: var(--tangerine); }
.foot-bottom { border-top: 1px solid #273042; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #9CA3AF; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Legal / content pages */
.page-head { background: var(--night); color: #fff; padding: 64px 0 56px; }
.page-head p { color: var(--night-muted); margin: 0; }
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px 88px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--stone); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #fff; }
.callout { background: var(--peach); border-left: 4px solid var(--tangerine); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 1.5em; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 2em; }
.contact-card { background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); padding: 22px; }
.contact-card h3 { margin-top: 0; }
.contact-card p { margin: 0; color: var(--graphite); }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
