/* OneInsure marketing website. No framework; two self-hosted variable fonts (70 KB, latin only). */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/space-grotesk-latin-wght-normal.woff2) format('woff2'); }
:root {
  --ink: #0b2545;
  --ink-2: #13325b;
  --teal: #0e7c73;
  --mint: #13b5a6;
  --mint-soft: #e6f4f2;
  --sand: #f7f3ec;
  --bg: #ffffff;
  --text: #17202b;
  --muted: #5b6676;
  --line: #e2e5ea;
  --radius: 14px;
  --amber: #f2a541;
  --cloud: #f5f7fa;
  --font-heading: 'Space Grotesk', Inter, 'Segoe UI', system-ui, sans-serif;
  --font: Inter, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.2; margin: 0; font-family: var(--font-heading); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }
.center { text-align: center; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; font-weight: 650; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; min-height: 44px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15, 110, 106, .28); }
.btn.primary:hover { background: #0c5d59; }
.btn.ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn.light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.light:hover { background: rgba(255, 255, 255, .18); }
.btn.big { padding: 14px 24px; font-size: 16px; min-height: 52px; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
/* Reversed logo on dark backgrounds: white shield, navy "1". */
.foot .lm-shield, .hero .lm-shield { fill: #fff; }
.foot .lm-one, .hero .lm-one { stroke: var(--ink); }
.logo b { color: var(--teal); font-weight: 750; }
.menu { display: flex; gap: 22px; margin-left: 12px; }
.menu a { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 15px; }
.menu a:hover { color: var(--ink); }
.top-cta { margin-left: auto; display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { display: grid; gap: 4px; padding: 8px 20px 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 8px; }

/* hero */
.hero { background: radial-gradient(1200px 600px at 85% -10%, rgba(19, 181, 166, .22) 0%, rgba(19, 181, 166, 0) 60%), linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 72px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; color: var(--teal); margin: 0 0 12px; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 780; letter-spacing: -.02em; }
.hero h1 span { color: var(--mint); }
.hero-lead { font-size: 19px; color: #cfe0e3; margin: 20px 0 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { color: #a9c3c8; font-size: 14px; margin-top: 14px; }
.hero-shot { position: relative; }
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f4; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d8de; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); background: #fff; border-radius: 6px; padding: 2px 10px; }
.hero .browser { transform: perspective(1600px) rotateY(-8deg) rotateX(2deg); transform-origin: left center; }
.phone { position: absolute; width: 27%; right: -2%; bottom: -12%; border-radius: 26px; overflow: hidden; border: 7px solid #0a1d23; box-shadow: 0 25px 60px rgba(0, 0, 0, .5); background: #fff; aspect-ratio: 390 / 760; }
.phone img { width: 100%; }
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.proof strong { display: block; color: #fff; font-size: 16px; }
.proof span { color: #a9c3c8; font-size: 14px; line-height: 1.45; display: block; }

/* sections */
section { padding: 88px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); font-weight: 760; letter-spacing: -.015em; color: var(--ink); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 720px; }
.section-sub.center { margin: 0 auto 40px; }
.pain { background: var(--sand); }
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.pain-card { background: #fff; border-radius: var(--radius); padding: 20px; border: 1px solid #ece4d6; }
.pain-card p { margin: 8px 0 0; color: var(--text); }
.x { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fdecea; color: #b42318; font-weight: 700; font-size: 14px; }
.pain-turn { font-size: 20px; font-weight: 650; color: var(--teal); margin: 28px 0 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature:hover { border-color: #bfe3df; box-shadow: 0 12px 32px rgba(14, 42, 51, .08); transform: translateY(-2px); }
.feature h3 { font-size: 18px; margin: 14px 0 8px; color: var(--ink); }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: var(--teal); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.showcase { background: linear-gradient(180deg, #f4f8f8, #fff); padding-top: 64px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.tabs button { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; min-height: 40px; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shot { margin: 0 auto; max-width: 1040px; }
.shot img { transition: opacity .2s; }
.shot figcaption { text-align: center; color: var(--muted); margin-top: 16px; font-size: 15px; min-height: 48px; }

.roles { background: var(--ink); color: #fff; }
.roles .section-title { color: #fff; }
.roles .section-sub { color: #b8cfd3; }
.roles .eyebrow { color: var(--mint); }
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.role:hover { background: rgba(111, 211, 201, .12); border-color: var(--mint); transform: translateY(-2px); }
.role-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--mint); border-radius: 999px; padding: 2px 10px; }
.role strong { font-size: 16px; }
.role span:not(.role-tag) { color: #b8cfd3; font-size: 14px; line-height: 1.5; flex: 1; }
.role em { font-style: normal; color: var(--mint); font-weight: 650; font-size: 14px; }
.roles .muted, .roles .small { color: #b8cfd3; margin-top: 28px; }
.roles a[data-trial] { color: var(--mint); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--sand); }
.steps li > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 750; }
.steps h3 { margin: 14px 0 8px; font-size: 19px; color: var(--ink); }
.steps p { margin: 0; color: var(--muted); }

.security { background: linear-gradient(135deg, #f0f7f6, #fff); }
.sec-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 14px 16px 14px 48px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.checks li b { color: var(--ink); }
.checks li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5L20 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }

.fit { padding-top: 0; }
.fit-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.fit-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.fit-card p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { background: var(--sand); }
.faq details { background: #fff; border-radius: 12px; border: 1px solid #ece4d6; margin-top: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; color: var(--ink); list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 12px; font-size: 22px; color: var(--teal); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.contact { background: var(--ink); color: #fff; }
.contact-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact .section-title { color: #fff; }
.contact .eyebrow { color: var(--mint); }
.contact-copy p { color: #cfe0e3; }
.contact-points { padding: 0; list-style: none; display: grid; gap: 8px; margin: 20px 0; }
.contact-points li { padding-left: 28px; position: relative; color: #e6f0f1; }
.contact-points li::before { content: '✓'; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.contact-alt a { color: var(--mint); }
.lead, .lead-done { background: #fff; color: var(--text); border-radius: 16px; padding: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.lead { display: grid; gap: 14px; }
.lead label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink); }
.lead input:not([type=checkbox]), .lead select, .lead textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 11px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--text); width: 100%; min-height: 46px; }
.lead input:focus, .lead select:focus, .lead textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--mint-soft); }
.lead [aria-invalid="true"] { border-color: #b42318 !important; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt { color: var(--muted); font-weight: 400; }
.lead fieldset { border: 0; padding: 0; margin: 0; }
.lead legend { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; font-weight: 500; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; cursor: pointer; user-select: none; }
.chips input:checked + span { background: var(--mint-soft); border-color: var(--teal); color: var(--teal); }
.chips input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { width: 20px; height: 20px; margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #8c1d13; font-size: 14px; }
.form-msg.ok { background: var(--mint-soft); color: var(--teal); }
.lead-done h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.lead-done p { color: var(--muted); }

.foot { background: #071a33; color: #9db6bb; padding: 40px 0 28px; }
.foot .logo { color: #fff; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a { color: #cfe0e3; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-legal { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu { display: none; }
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-in, .sec-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 48px; }
  .hero .browser { transform: none; }
  .hero-shot { margin-right: 12%; }
  .phone { right: -14%; }
  .proof { grid-template-columns: repeat(2, 1fr); margin-top: 64px; }
  .feature-grid, .fit-in { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .top-cta { display: none; }
  .burger { display: block; }
  section { padding: 64px 0; }
  .feature-grid, .fit-in, .pain-grid, .role-grid, .row2 { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lead, .lead-done { padding: 20px; }
  .hero-cta .btn { width: 100%; }
  .lead .btn { width: 100%; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -20px 20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
  .tabs button { flex: none; }
}
@media print { .top, .hero-shot, .showcase, .lead { display: none; } }

/* ---------------------------------------------------------------- guides and landing pages (tools/pages.js) */
.article { padding: 40px 0 72px; }
.article h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; margin: 10px 0 14px; letter-spacing: -0.02em; }
.article h2 { font-size: 22px; margin: 36px 0 10px; }
.article p, .article li { line-height: 1.65; }
.article ul { padding-left: 20px; }
.article li { margin: 6px 0; }
.article-lead { font-size: 19px; color: var(--muted, #4a5d66); }
.article-cta, .article-next p:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { color: inherit; }
.article-next { margin-top: 44px; padding: 22px 24px; border-radius: 14px; background: #e6f4f2; }
.article-next h2 { margin-top: 0; }
.article .related ul, .article .guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0 0 12px; }
.guide-list a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #dfe7ea; border-radius: 12px; text-decoration: none; color: inherit; }
.guide-list a:hover { border-color: #0e7c73; }
.guide-list span { color: #4a5d66; font-size: 15px; }
.faq-list details { border-bottom: 1px solid #dfe7ea; padding: 12px 0; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.sources { padding-left: 18px; }
.guides-strip { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin-top: 18px; }
.cf-turnstile { margin: 4px 0 12px; min-height: 65px; }

/* hero hub: the lines of cover around one hub (brand identity, page 3) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.hero-chips li { border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 5px 14px; font-size: 14px; color: #dbe6f0; }
.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hub-tile { position: relative; display: flex; align-items: flex-end; min-height: 118px; padding: 16px; border-radius: 16px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); color: #fff; font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; transition: border-color .15s, transform .15s; }
.hub-tile:hover { border-color: var(--mint); transform: translateY(-2px); }
.hub-tile i { position: absolute; top: 16px; left: 16px; width: 10px; height: 10px; border-radius: 50%; background: var(--mint); }
.hub-tile.cap i { background: var(--amber); }
.hub-centre { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 16px; background: var(--mint); color: var(--ink); font-family: var(--font-heading); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; }
.hub-centre .lm-shield { fill: var(--ink); }
.hub-centre .lm-one { stroke: #fff; }
.hub-centre svg path:first-child, .hub-centre svg circle { display: none; }
/* solutions */
.lines { padding: 80px 0 40px; background: var(--cloud); }
.line-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.line { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.line h3 { font-size: 19px; color: var(--ink); margin: 10px 0 8px; }
.line p { margin: 0; color: var(--muted); font-size: 15px; }
.line.cap { background: var(--ink); border-color: var(--ink); }
.line.cap h3 { color: #fff; }
.line.cap p { color: #c3d0dc; }
.line-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: var(--mint-soft); border-radius: 999px; padding: 2px 10px; }
.line-tag.soon { color: #8a5300; background: #fdf0dc; }
.line-tag.cap { color: var(--ink); background: var(--amber); }
@media (max-width: 1000px) { .line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .line-grid { grid-template-columns: minmax(0, 1fr); } .hub { gap: 8px; } .hub-tile { min-height: 92px; font-size: 14px; padding: 12px; } .hub-tile i { top: 12px; left: 12px; } }
