/* Polar Outreach public site. Colours are the brand tokens (brand/tokens.css). */
@font-face{font-family:"Sora";font-weight:500;font-display:swap;src:url("../fonts/sora-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Sora";font-weight:600;font-display:swap;src:url("../fonts/sora-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-display:swap;src:url("../fonts/inter-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-display:swap;src:url("../fonts/inter-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-display:swap;src:url("../fonts/inter-latin-600-normal.woff2") format("woff2")}

:root {
  --polar-night: #0B1838;
  --ice: #EAF4FF;
  --ice-shadow: #BFE0FF;
  --glacier: #8EC9F5;
  --deep-water: #2E6FB8;
  --surface: #FFFFFF;
  --surface-raised: #F3F7FC;
  --ink: #0B1838;
  --ink-muted: #44506B;
  --border: #D5E1EF;
  --success: #1F7A52;
  /* Polar Night (dark ground) roles */
  --night-raised: #12244D;
  --night-slab: #1C3366;
  --night-border: #22365F;
  --night-muted: #A9B8D3;
  --night-success: #4CD39A;
  --font-display: "Sora", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-sans); color: var(--ink); background: var(--surface); line-height: 1.5; }
a { color: var(--deep-water); }
a:hover { color: var(--polar-night); }
:focus-visible { outline: 2px solid var(--deep-water); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--glacier); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section.tint { background: var(--surface-raised); }
.section.ice { background: var(--ice); }
.dark { background: var(--polar-night); color: #FFFFFF; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--deep-water); }
.dark .eyebrow { color: var(--glacier); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.head h2 { font-size: 40px; line-height: 48px; letter-spacing: -1px; }
.head p { font-size: 18px; line-height: 28px; color: var(--ink-muted); }
.dark .head p { color: var(--night-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 var(--font-sans); padding: 15px 24px; border-radius: 14px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-glacier { background: var(--glacier); color: var(--polar-night); }
.btn-glacier:hover { background: var(--ice-shadow); color: var(--polar-night); }
.btn-ghost-dark { color: #FFFFFF; border-color: #3A5287; background: transparent; }
.btn-ghost-dark:hover { color: #FFFFFF; border-color: var(--glacier); }
.btn-primary { background: var(--deep-water); color: #FFFFFF; }
.btn-primary:hover { background: var(--polar-night); color: #FFFFFF; }
.btn-outline { color: var(--polar-night); border-color: var(--polar-night); background: transparent; }
.btn-outline:hover { background: var(--polar-night); color: #FFFFFF; }
.btn-sm { font-size: 15px; padding: 12px 18px; }

/* Header */
.site-header .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.5px; color: #FFFFFF; }
.brand span b { color: var(--glacier); font-weight: 600; }
.nav-links { display: flex; flex-wrap: wrap; gap: 28px; }
.nav-links a { color: #DCE6F5; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #FFFFFF; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .signin { color: #FFFFFF; text-decoration: none; font-size: 15px; font-weight: 600; padding: 12px 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--glacier); border: 1px solid var(--night-border); border-radius: 999px; padding: 6px 14px; }
.hero h1 { font-size: 60px; line-height: 64px; letter-spacing: -2px; color: #FFFFFF; }
.hero h1 em { font-style: normal; color: var(--glacier); }
.hero .lede { font-size: 19px; line-height: 30px; color: var(--night-muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 14px; color: var(--night-muted); }
.panel { background: var(--night-raised); border: 1px solid var(--night-border); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel-row { background: var(--polar-night); border-radius: 14px; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.panel-row .t { font-size: 15px; font-weight: 600; color: #FFFFFF; }
.panel-row .s { font-size: 13px; color: var(--night-muted); }
.status { font-size: 13px; font-weight: 600; color: var(--polar-night); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.status.good { background: var(--night-success); }
.status.warm { background: var(--glacier); }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.card { background: var(--surface); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card.lined { border: 1px solid var(--border); }
.card h3 { font-size: 20px; line-height: 28px; }
.card p { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.card .icon { width: 28px; height: 28px; }
.dark .card { background: var(--night-raised); border: 1px solid var(--night-border); }
.dark .card p { color: var(--night-muted); }
.soon { display: inline-block; vertical-align: middle; margin-left: 6px; font: 600 12px/1 var(--font-sans); letter-spacing: 0; color: var(--deep-water); background: var(--ice); border: 1px solid var(--ice-shadow); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.dark .soon { color: var(--glacier); background: transparent; border-color: var(--night-border); }
.step-num { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: #FFFFFF; background: var(--polar-night); width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
ol.steps { list-style: none; margin: 0; padding: 0; }

/* Split (developers) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.checks svg { flex: none; margin-top: 2px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 20px; background: var(--polar-night); color: #DCE6F5; border-radius: 14px; padding: 18px; overflow-x: auto; white-space: pre; }

/* Pricing */
.billing-switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-raised); border: 1px solid var(--border); margin: 0 auto 40px; }
.billing-switch button { font: 600 15px/1 var(--font-sans); border: 0; background: transparent; color: var(--ink-muted); padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.billing-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 24, 56, 0.12); }
.billing-switch .save { color: var(--deep-water); margin-left: 4px; }
.switch-row { display: flex; justify-content: center; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { border: 1px solid var(--border); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.plan.featured { background: var(--polar-night); color: #FFFFFF; border-color: var(--polar-night); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3 { font-size: 20px; }
.badge { font-size: 13px; font-weight: 600; color: var(--polar-night); background: var(--glacier); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 44px; line-height: 48px; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-sans); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--ink-muted); }
.plan.featured .price small, .plan.featured .muted { color: var(--night-muted); }
.muted { color: var(--ink-muted); font-size: 14px; }
.plan .who { font-size: 16px; color: var(--ink-muted); }
.plan.featured .who { color: var(--night-muted); }
.plan .plus { font-size: 14px; font-weight: 600; }
.plan .checks { flex: 1; }
.plan .btn { width: 100%; }
.plan.featured .soon { color: var(--glacier); background: transparent; border-color: var(--night-border); }
[data-interval="month"] .yearly, [data-interval="year"] .monthly { display: none; }

.includes { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 32px; margin-top: 32px; }
.includes h3 { font-size: 24px; letter-spacing: -0.5px; }
.includes .checks { gap: 12px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: 24px; background: var(--surface); }
table.compare { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.compare thead th small { display: block; font-family: var(--font-sans); font-weight: 400; font-size: 12px; color: var(--ink-muted); }
.compare tbody th { text-align: left; font-weight: 600; white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: var(--ink-muted); }
.compare .us { background: var(--ice); color: var(--ink); font-weight: 600; }
.compare thead .us { color: var(--deep-water); }
.compare .yes { color: var(--success); }
.note { font-size: 14px; color: var(--ink-muted); margin-top: 16px; }

/* FAQ */
.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--ink-muted); }

/* CTA + footer */
.cta { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta h2 { font-size: 44px; line-height: 52px; letter-spacing: -1px; max-width: 720px; }
.cta p { font-size: 18px; line-height: 28px; color: var(--night-muted); max-width: 560px; }
.site-footer { border-top: 1px solid var(--night-border); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.footer-grid h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: #FFFFFF; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--night-muted); text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: #FFFFFF; }
.footer-grid .blurb { color: var(--night-muted); font-size: 14px; line-height: 22px; margin-top: 14px; max-width: 300px; }
.footer-base { border-top: 1px solid var(--night-border); padding-top: 20px; padding-bottom: 32px; font-size: 14px; color: var(--night-muted); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .hero h1 { font-size: 40px; line-height: 46px; letter-spacing: -1px; }
  .head h2, .cta h2 { font-size: 30px; line-height: 38px; }
  .nav-links { display: none; }
  .panel-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
