/* Open Floor website. Brand tokens match the brand sheet of 18 October 2026. */
:root {
  --violet: #493077;
  --violet-dark: #382258;
  --ink: #30273b;
  --body: #4a4253;
  --slate: #655d6d;
  --lilac: #aa9cdb;
  --lilac-wash: #f1edf8;
  --lilac-tile: #e9e3f5;
  --paper: #fdfcfa;
  --stone: #f3f1ed;
  --mist: #f8f7fa;
  --tile: #f5f4f8;
  --line: #ded9e2;
  --on-violet: #e4def0;
  --radius: 20px;
  --max: 1200px;
  --shadow: 0 1px 2px #30273b14, 0 18px 48px #30273b18;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Onest, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: var(--violet); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
section[id], article[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -48px;
  background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none; z-index: 10;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 650; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--body); max-width: 540px; }
.intro { font-size: 18px; line-height: 1.6; color: var(--body); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--violet); }
.eyebrow-icon { width: 18px; height: 18px; }

/* Icons */
/* Phosphor duotone: violet lines over a lilac layer */
svg:has(> use) { --duo-fill: var(--lilac); --duo-op: 0.75; }
.icon-tile {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: var(--lilac-wash); color: var(--violet);
}
.icon-tile svg { width: 32px; height: 32px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-dark); color: #fff; }
.btn-outline { border: 1.5px solid var(--violet); color: var(--violet); }
.btn-outline:hover { background: var(--violet); color: #fff; }
.btn-light { background: #fff; color: var(--violet); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-name { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px;
  font-size: 15px; font-weight: 500;
}
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; display: inline-block; padding: 12px 0; }
.main-nav a:not(.btn):hover { color: var(--violet); }

/* Screens */
.browser {
  margin: 0; background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser img { width: 100%; }
.phone {
  position: relative; margin: 0; width: 220px; padding: 7px;
  border-radius: 36px; background: var(--ink); box-shadow: var(--shadow);
}
.phone::before {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 6px; border-radius: 999px; background: var(--ink); z-index: 1;
}
.phone img { width: 100%; border-radius: 29px; background: #fff; }

/* Hero */
.hero-band { background: linear-gradient(180deg, var(--paper) 0%, var(--lilac-wash) 100%); overflow: hidden; }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 96px; }
.hero-copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-visual { flex: 1.25 1 520px; min-width: 0; position: relative; padding-bottom: 48px; }
.hero-visual .phone { position: absolute; left: -36px; bottom: 0; width: 170px; }
.assurances { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; color: var(--slate); }
.assurances li { display: flex; align-items: center; gap: 8px; }
.assurances svg { width: 22px; height: 22px; color: var(--violet); }

/* Audience strip */
.strip { background: var(--stone); }
.strip ul {
  list-style: none; margin: 0 auto; padding: 24px; max-width: var(--max);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: 15px; font-weight: 500; color: var(--body);
}

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.tinted { background: var(--mist); }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-number { font-size: 13px; font-weight: 600; color: var(--slate); margin-top: 6px; }
.step p, .feature p, .ai-card p { font-size: 16px; color: var(--body); }

/* Product tour */
.tour-band { background: var(--mist); }
.tour-row { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.tour-row + .tour-row { margin-top: 40px; }
.tour-row.reverse { flex-direction: row-reverse; }
.tour-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.tour-copy h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.tour-copy p:not(.tour-label) { font-size: 17px; color: var(--body); }
.tour-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--violet); }
.tour-label svg { width: 24px; height: 24px; }
.tour-row .browser { flex: 1.6 1 520px; min-width: 0; }

/* AI */
.ai-band { background: var(--lilac-wash); }
.ai-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.ai-head .section-head { flex: 1 1 480px; }
.ai-illustration, .findings-illustration { width: 240px; border-radius: 24px; background: var(--tile); }
.ai-lead {
  background: #fff; border-radius: 24px; padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
  box-shadow: 0 1px 2px #30273b0f;
}
.ai-lead-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ai-lead-copy h3 { font-size: 26px; font-weight: 650; letter-spacing: -0.02em; }
.ai-lead-copy p { font-size: 17px; color: var(--body); }
.ai-lead .browser { flex: 1.4 1 440px; min-width: 0; box-shadow: 0 1px 2px #30273b14, 0 10px 28px #30273b14; }
.ai-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.ai-card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ai-note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); }
.ai-note svg { width: 18px; height: 18px; color: var(--violet); }

/* What we found */
.findings-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.findings-head .section-head { flex: 1 1 480px; }
.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.finding { background: var(--stone); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.finding p { font-size: 16px; color: var(--body); }
.finding-figure { font-size: clamp(44px, 5vw, 60px); font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--violet); font-variant-numeric: tabular-nums; }
.finding-accent { background: var(--violet); }
.finding-accent .finding-figure { color: var(--paper); }
.finding-accent p { color: var(--on-violet); }
.finding-source { font-size: 13px; color: var(--lilac); margin-top: auto; }
.footnote { font-size: 14px; color: var(--slate); max-width: 820px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }

/* Trust */
.trust { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.trust-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.phone-inline { margin-top: 16px; width: 188px; }
.trust-list { flex: 1.4 1 480px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; font-size: 16px; background: #fff; }

/* Call to action */
.cta { background: var(--violet); color: var(--paper); }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.cta-illustration { width: 200px; border-radius: 24px; background: var(--tile); }
.cta-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta h2 { color: var(--paper); }
.cta p { font-size: 18px; color: var(--on-violet); }

/* Footer */
.site-footer .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px;
  padding-top: 48px; padding-bottom: 56px; font-size: 14px; color: var(--slate);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-name { font-size: 17px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.site-footer a { color: var(--slate); }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-visual .phone { left: auto; right: -8px; width: 130px; }
  .tour-row.reverse { flex-direction: row; }
}
@media (max-width: 600px) {
  .hero { padding-top: 48px; padding-bottom: 56px; gap: 40px; }
  .section, .trust { padding-top: 64px; padding-bottom: 64px; }
  .main-nav ul { gap: 0 18px; }
  .ai-lead { padding: 20px; }
  .ai-illustration, .findings-illustration { width: 160px; }
  .phone-inline { width: 172px; }
  .cta-illustration { width: 140px; }
}

/* Research paper download */
.paper-card { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; background: var(--lilac-wash); border-radius: var(--radius); padding: 28px; }
.paper-card > div { flex: 1 1 360px; }
.paper-card .eyebrow { margin-bottom: 4px; }
.paper-card h3 { margin: 0 0 6px; }
.paper-card p { color: var(--body); }
.paper-card .icon-tile { background: #fff; }
.paper-card { align-items: flex-start; gap: 32px; padding: 32px; }
.paper-intro { flex: 1 1 340px; }
.paper-intro .icon-tile { margin-bottom: 16px; }
.paper-small { font-size: 14px; color: var(--slate); }
.paper-form, .paper-done { flex: 1 1 360px; background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.paper-form[hidden], .paper-done[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .optional { font-weight: 400; color: var(--slate); }
.field input { font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid #cfc8da; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus { outline: 3px solid var(--lilac); outline-offset: 1px; border-color: var(--violet); }
.field small { font-size: 13px; color: var(--slate); }
.field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); }
.form-error { color: #9b2c2c; background: #fdecec; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin: 0; }
.paper-form .btn { align-self: flex-start; }
.paper-done h3 { margin: 0; }

/* Cropped product shots (one task each) */
.shot { margin: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid #ebe6f2; }
.shot img { display: block; width: 100%; height: auto; }
.tour-row .shot { flex: 1.6 1 520px; min-width: 0; }
.tour-row .shot-narrow, .support .shot-narrow { flex: 0 1 340px; max-width: 340px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.caption { margin-top: 12px; font-size: 15px; color: var(--body); }
.reports-row { margin-top: 56px; }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* Support */
.support-band { background: linear-gradient(180deg, var(--paper), var(--lilac-wash)); }
.support { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.support-copy { flex: 1 1 460px; }
.support-copy > p { color: var(--body); font-size: 18px; }
.named { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 24px; }
.named h3 { margin: 0 0 6px; }
.named p { color: var(--body); margin: 0; }
.support .shot-narrow { margin: 0 auto; }

/* Changing provider */
.switch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.switch-card { background: var(--stone); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.switch-card h3 { margin: 0; }
.switch-card p { color: var(--body); margin: 0; }

/* Practical details */
.details { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px 40px; }
.details li { display: flex; gap: 14px; align-items: flex-start; color: var(--body); }
.details svg { flex: none; width: 28px; height: 28px; color: var(--violet); margin-top: 2px; }
.details strong { color: var(--ink); }
@media (max-width: 600px) { .details { grid-template-columns: minmax(0, 1fr); } }
.support .browser { flex: 1.3 1 520px; min-width: 0; }

/* Research report */
.research-band { background: linear-gradient(180deg, var(--paper), var(--lilac-wash)); }
.research { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.research-copy { flex: 1 1 480px; }
.research-copy > p { color: var(--body); }
.research-copy h3 { margin: 28px 0 12px; }
.inside { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.inside li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.inside svg { width: 24px; height: 24px; flex: none; color: var(--violet); }
.paper-cover { flex: 0 1 340px; padding: 0; border: 0; background: none; cursor: pointer; margin: 0 auto; transform: rotate(2.5deg); transition: transform .2s ease; }
.paper-cover img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 2px 4px #30273b22, 0 24px 60px #30273b40; }
.paper-cover:hover, .paper-cover:focus-visible { transform: rotate(0deg) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .paper-cover { transition: none; } }

/* Report request pop-up */
.paper-dialog { border: 0; border-radius: var(--radius); padding: 0; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px #30273b55; color: var(--ink); }
.paper-dialog::backdrop { background: #30273b99; }
.paper-dialog .paper-form, .paper-dialog .paper-done { padding: 32px; border-radius: 0; flex: none; }
.paper-dialog h2 { font-size: 26px; margin: 0 0 6px; }
.paper-dialog .eyebrow { margin: 0; }
.dialog-close { position: absolute; top: 12px; right: 14px; border: 0; background: var(--lilac-wash); color: var(--violet); width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.section.research { flex-direction: row; }
.research-copy > * + * { margin-top: 14px; }
.research-copy .btn-row { margin-top: 8px; }
.support.reverse { flex-direction: row-reverse; }
.support-copy h2 { margin-bottom: 20px; }
