/* Infowyse (infowyse.homes) — light theme, indigo accents.
   Palette: indigo-600 #4F46E5 for text/buttons (6.3:1 on white), indigo-500 #6366F1 decorative,
   ink #0F172A, body #334155, muted #64748B, hairline #E2E8F0, tint #EEF2FF. */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --indigo: #4f46e5;
  --indigo-500: #6366f1;
  --indigo-700: #4338ca;
  --indigo-800: #3730a3;
  --tint: #eef2ff;
  --tint-2: #f5f7ff;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --panel: #f8fafc;
  --white: #ffffff;
  --ok: #047857;
  --err: #b91c1c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 400 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-800); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--indigo-500); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 1rem/1 "Inter", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--indigo); border-color: #c7d2fe; }
.btn-ghost:hover { background: var(--tint); color: var(--indigo-800); }
.btn-white { background: #fff; color: var(--indigo-800); }
.btn-white:hover { background: var(--tint); color: var(--indigo-800); }
.btn:active { transform: translateY(1px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: none; align-items: center; gap: 26px; }
.nav a { color: var(--body); text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }
.nav .btn { color: #fff; min-height: 42px; padding: 0 18px; font-size: .95rem; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 10px 0 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 2px; color: var(--ink); text-decoration: none; font-weight: 550; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { display: flex; margin-top: 16px; color: #fff; border-bottom: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.lead { font-size: 1.18rem; color: var(--body); max-width: 40em; }
.section-head { max-width: 46em; margin-bottom: 40px; }
.tint { background: var(--tint-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Hero */
.hero { padding: 64px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(99, 102, 241, .14), transparent 60%),
  radial-gradient(700px 360px at -10% 110%, rgba(99, 102, 241, .08), transparent 60%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 96px 0 104px; } .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero h1 .hl { color: var(--indigo); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .93rem; font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo-500); }

/* Hero visual: a "day handled" card */
.day-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; }
.day-card h3 { font-size: .95rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.day-card h3 .dot { width: 8px; height: 8px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line); font-size: .95rem; }
.timeline li:first-child { border-top: 0; }
.timeline time { font-variant-numeric: tabular-nums; font-weight: 650; color: var(--indigo); }
.timeline strong { color: var(--ink); font-weight: 600; display: block; }
.timeline span { color: var(--muted); font-size: .88rem; }

/* Cards */
.grid-3 { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: #c7d2fe; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--body); font-size: .98rem; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--indigo); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

/* Sector spotlight */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%234f46e5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { font-size: .88rem; font-weight: 550; color: var(--indigo-800); background: var(--tint); border: 1px solid #c7d2fe; padding: 6px 12px; border-radius: 999px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps p { margin: 0; }

/* Billing + why */
.billing { display: grid; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .billing { grid-template-columns: 1.4fr .6fr; padding: 44px; } .billing .cta-row { justify-content: flex-end; margin: 0; } }
.why { display: grid; gap: 18px; }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why { grid-template-columns: repeat(4, 1fr); } }
.why div { border-left: 3px solid var(--indigo-500); padding: 4px 0 4px 16px; }
.why strong { display: block; color: var(--ink); font-weight: 650; margin-bottom: 4px; }
.why span { color: var(--muted); font-size: .95rem; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--indigo-800), var(--indigo) 70%); color: #e0e7ff; padding: 72px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e0e7ff; }
.cta-band a:not(.btn) { color: #fff; }
.cta-band .cta-row { margin-bottom: 0; align-items: center; }

/* Page header (inner pages) */
.page-head { padding: 64px 0 40px; background: radial-gradient(800px 300px at 90% -20%, rgba(99, 102, 241, .12), transparent 60%); border-bottom: 1px solid var(--line); }
.page-head p { max-width: 42em; font-size: 1.12rem; margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; } }
.form-card, .side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.side-card { background: var(--panel); box-shadow: none; }
.side-card dl { margin: 0; }
.side-card dt { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.side-card dd { margin: 4px 0 0; color: var(--ink); }
form .row { display: grid; gap: 16px; }
@media (min-width: 640px) { form .row.two { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.req { color: var(--indigo); }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #cbd5e1; border-radius: 10px;
  font: 400 1rem/1.4 "Inter", system-ui, sans-serif; color: var(--ink); background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--indigo); outline: 3px solid rgba(99, 102, 241, .25); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); font-size: .93rem; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--indigo); flex: none; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-weight: 550; display: none; }
.form-status.ok { display: block; background: #ecfdf5; color: var(--ok); border: 1px solid #a7f3d0; }
.form-status.err { display: block; background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.cf-turnstile { margin: 6px 0 16px; min-height: 65px; }

/* About */
.founder { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .founder { grid-template-columns: 220px 1fr; gap: 40px; } }
.portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 6px solid var(--tint); box-shadow: var(--shadow); }
.facts { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.facts table { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; color: var(--muted); font-weight: 600; padding-right: 14px; }
.facts td { color: var(--ink); }

/* Prose (legal pages) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 24px; }
.toc ol { margin: 6px 0 0; padding-left: 1.2em; columns: 2 16em; }
.optout-steps { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 760px) { .optout-steps { grid-template-columns: repeat(3, 1fr); } }

/* Cookie table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 24px; }
.cookie-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .93rem; }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cookie-table thead th { background: var(--panel); color: var(--ink); font-weight: 650; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { font-size: .85em; background: var(--tint); padding: 1px 5px; border-radius: 4px; }

/* Cookie notice (informational, no consent needed: no non-essential cookies) */
.cookie-note {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px;
  background: #0b1020; color: #e2e8f0; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .25); display: flex; gap: 14px; align-items: center; font-size: .92rem;
}
.cookie-note[hidden] { display: none; }
.cookie-note p { margin: 0; flex: 1; }
.cookie-note a { color: #c7d2fe; }
.cookie-note button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: var(--indigo-800); font: 600 .9rem/1 "Inter", system-ui, sans-serif; cursor: pointer; }
@media (min-width: 640px) { .cookie-note { left: 24px; bottom: 24px; } }

/* Footer */
.site-footer { background: #0b1020; color: #cbd5e1; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.legal-line { border-top: 1px solid #1e293b; margin-top: 36px; padding-top: 20px; font-size: .86rem; color: #94a3b8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
