/* flooritnz.com. Navy and Floor It orange, Lexend headings over Work Sans; the editor
   (editor/src/styles.css) uses the same colours, type and buttons. */
:root {
  --navy: #12283a;          /* header, dark bands */
  --navy-2: #1a3a51;        /* the second dark band, a shade up */
  --navy-deep: #0d1d2a;     /* footer */
  --on-dark: #ffffff;
  --on-dark-muted: #b9c6d2;
  --ink: #12283a;           /* headings */
  --text: #2f3d4a;
  --muted: #5a6876;
  --page: #fcfbf9;
  --surface: #ffffff;
  --cool: #edf2f6;          /* tinted cards and bands */
  --warm: #fdf0e7;          /* the peach band */
  --line: #dde4ea;
  --brand: #e8541e;         /* the logo's orange */
  --accent: #c8440f;        /* orange text and outlines on light (4.9:1) */
  --accent-soft: rgba(232, 84, 30, 0.1);
  --cta: linear-gradient(100deg, #bf3f0b 0%, #e2581d 100%);
  --motif-light: rgba(232, 84, 30, 0.06);
  --motif-dark: rgba(255, 255, 255, 0.035);
  --danger: #b23a2a;
  --ok: #2f7a3e;
  --round: 24px;
  --head: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --navy: #0f2231; --navy-2: #15324a; --navy-deep: #0a1621;
    --ink: #eef3f7; --text: #d3dce4; --muted: #9eadbb;
    --page: #0f1820; --surface: #16222d; --cool: #182836; --warm: #1c2a38; --line: #2b3a48;
    --accent: #ff8a5c; --accent-soft: rgba(255, 138, 92, 0.14);
    --motif-light: rgba(255, 138, 92, 0.06);
    --danger: #ff7b69; --ok: #6fcf86;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--page); color: var(--text);
  font: 18px/1.65 "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: 0.005em;
  padding-left: env(safe-area-inset-left, 0); padding-right: env(safe-area-inset-right, 0);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
h1 { margin: 0 0 22px; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.08; font-weight: 700; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.14; font-weight: 700; }
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.3; font-weight: 600; }
p { margin-top: 0; }
.center { text-align: center; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.lead.center { margin-inline: auto; }
.fine { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.fine.center { text-align: center; margin-top: 28px; }

/* ---------- buttons: pills. Orange to do something, an outline for the other way. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 30px;
  border-radius: 999px; border: 2px solid transparent; background: none; color: inherit;
  font: 600 17px/1.2 var(--head); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn.primary { background: var(--cta); color: #fff; box-shadow: 0 8px 22px -10px rgba(200, 68, 15, 0.7); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(200, 68, 15, 0.8); }
.btn.outline { border-color: currentColor; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.08); }
.btn.outline.dark-text { color: var(--ink); }
.btn.outline.dark-text:hover { background: var(--cool); }
.btn.outline.accent { color: var(--accent); min-height: 48px; padding: 0 26px; font-size: 16px; }
.btn.outline.accent:hover { background: var(--accent-soft); }
.btn.outline.accent[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.link { font: inherit; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.cta.center { justify-content: center; }

/* ---------- header: a navy bar, like the hero under it */
.top { position: sticky; top: 0; z-index: 10; background: var(--navy); color: var(--on-dark); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex: none; }
.brand img { height: 30px; width: auto; display: block; }
.top nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.top nav a:not(.btn) { color: var(--on-dark); opacity: 0.86; text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: 0.04em; }
.top nav a:not(.btn):hover { opacity: 1; }
.top nav .btn { min-height: 46px; padding: 0 22px; font-size: 15.5px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: none; color: var(--on-dark); cursor: pointer; padding: 10px; }
.menu-btn svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }

/* ---------- bands */
.band { padding: 112px 0; position: relative; }
.dark { background: var(--navy); color: var(--on-dark-muted); }
.dark-2 { background: var(--navy-2); color: var(--on-dark-muted); }
.dark h1, .dark h2, .dark h3, .dark-2 h2, .dark-2 h3 { color: var(--on-dark); }
.dark .lead, .dark-2 .lead { color: var(--on-dark-muted); }
.dark .btn.outline { color: var(--on-dark); }
.warm { background: var(--warm); }
.cool { background: var(--cool); }
/* walls and doors from a plan, tiled faintly behind a band (like tracing paper over an old plan) */
.motif { isolation: isolate; }
.motif::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--motif-light);
  -webkit-mask: url(/assets/motif.svg) 0 0 / 300px 300px repeat; mask: url(/assets/motif.svg) 0 0 / 300px 300px repeat;
}
.dark.motif::before { background: var(--motif-dark); }

/* ---------- hero: centred, with the editor itself underneath, half over the next band */
.hero { padding: 96px 0 0; text-align: center; position: relative; }
.hero-in { max-width: 900px; }
.kicker { margin: 0 0 18px; font: 500 16px/1.4 var(--head); letter-spacing: 0.06em; color: #ffb48e; }
.hero .lead { margin: 0 auto 36px; font-size: 21px; max-width: 46ch; }
.hero .cta { justify-content: center; }
.hero-facts { margin: 22px 0 0; font-size: 15px; letter-spacing: 0.03em; }
.hero-facts span { margin: 0 8px; opacity: 0.6; }
.shot { margin-top: 64px; position: relative; z-index: 1; margin-bottom: -170px; }
.frame { margin: 0; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(5, 15, 25, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; background: #e9edf1; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c6ced6; }
.frame-bar span { margin: 0 auto; padding: 2px 16px; border-radius: 999px; background: #fff; font-size: 12.5px; color: #6b7785; letter-spacing: 0.02em; transform: translateX(-24px); }
.frame img { display: block; width: 100%; }
.hero + .band { padding-top: calc(170px + 96px); }

/* ---------- made here: big statements on white cards */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.facts article { background: var(--surface); border-radius: var(--round); padding: 40px 36px 36px; box-shadow: 0 18px 40px -28px rgba(18, 40, 58, 0.35); }
.figure { margin: 0 0 14px; font: 700 64px/1 var(--head); color: var(--ink); letter-spacing: -0.03em; }
.figure span { color: var(--brand); }
.facts p:not(.figure) { margin: 0; font-size: 19px; color: var(--text); }

/* ---------- how it works: picture cards on the second navy */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { border-radius: var(--round); overflow: hidden; background: var(--navy); display: flex; flex-direction: column; }
.step-img { aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.step-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.step-img.plan img { object-fit: contain; padding: 14px; }
.step-text { padding: 30px 30px 34px; text-align: center; }
.step-text h3 { font-size: 26px; margin-bottom: 12px; }
.step-text h3 span { color: #ffb48e; }
.step-text p { margin: 0; }

/* ---------- who it's for: big tinted cards, each a plan made for that job */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.use { background: var(--cool); border-radius: var(--round); padding: 36px 40px 40px; display: flex; flex-direction: column; align-items: flex-start; transition: box-shadow 0.2s; }
.use-img { align-self: stretch; position: relative; aspect-ratio: 16 / 10; margin-bottom: 30px; background: #fff; border-radius: 16px; }
.use-img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.use h3 { font-size: 28px; }
.use p { flex: 1; margin-bottom: 26px; }
.use.picked { box-shadow: 0 0 0 3px var(--brand); }
html:not(.js) .use .btn { display: none; }   /* they tailor the page, which takes JavaScript */
.also { margin: 40px 0 0; text-align: center; color: var(--muted); }

/* the page tailored to them: what matters most for the job they picked */
.for-you { margin-top: 48px; padding: 44px; border-radius: var(--round); background: var(--warm); scroll-margin-top: 100px; }
.for-you:focus { outline: none; }
.for-you-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.for-you-head h3 { font-size: 30px; margin: 0; }
.for-you-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 36px; }
.for-you-list article { padding: 20px 0 6px; border-top: 2px solid rgba(200, 68, 15, 0.25); }
.for-you-list h4 { margin: 0 0 6px; font: 600 19px/1.35 var(--head); color: var(--ink); display: flex; align-items: center; gap: 10px; }
.for-you-list p { margin: 0; color: var(--text); font-size: 17px; }
.for-you .fine { margin: 24px 0; }
.for-you .fine:empty { display: none; }
.for-you .btn { margin-top: 8px; }
.tag { flex: none; padding: 2px 10px; border-radius: 999px; font: 600 12px/1.5 var(--head); letter-spacing: 0.04em; }
.tag.pro { background: var(--navy); color: #fff; }
.tag.free { background: #fff; color: var(--ok); }

/* ---------- Pro: plans side by side with what they show */
.row-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; margin-top: 72px; }
.row-feature.flip > figure { order: 2; }
.row-feature h3 { font-size: 32px; margin-bottom: 16px; }
.row-feature p { font-size: 19px; margin: 0; }
.sheet { margin: 0; background: #fff; border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px -36px rgba(18, 40, 58, 0.5); }
.sheet img { display: block; width: 100%; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.ticks.three { columns: 3; column-gap: 40px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.ticks.three li { break-inside: avoid; }

/* ---------- pricing */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 920px; margin: 48px auto 0; align-items: stretch; }
.tier { border-radius: var(--round); padding: 44px 40px 40px; display: flex; flex-direction: column; background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
.tier h3 { font-size: 22px; margin: 0 0 18px; }
.price { margin: 0; font: 700 64px/1 var(--head); color: var(--ink); letter-spacing: -0.03em; }
.per { margin: 8px 0 0; color: var(--muted); }
.yearly { margin: 6px 0 0; font-weight: 600; color: var(--accent); }
.tier .ticks { margin: 28px 0 32px; flex: 1; }
.tier .btn { align-self: stretch; }
.tier.pro { background: var(--navy); box-shadow: none; color: var(--on-dark-muted); }
.tier.pro h3 { color: #ffb48e; }
.tier.pro .price { color: #fff; }
.tier.pro .per { color: var(--on-dark-muted); }
.tier.pro .yearly { color: #ffb48e; }
.tier.pro .ticks li { color: #fff; }
.pass { display: flex; align-items: center; gap: 32px; max-width: 920px; margin: 28px auto 0; padding: 32px 40px; border-radius: var(--round); background: var(--warm); }
.pass h3 { margin: 0 0 8px; }
.pass p { margin: 0; }
.pass .btn { flex: none; }

/* ---------- the last word before contact */
.closer { padding: 104px 0; }
.closer .lead { margin-bottom: 36px; }

/* ---------- contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact-mail { font: 600 20px var(--head); }
.contact-mail a { text-decoration: none; }
.form { background: var(--cool); border-radius: var(--round); padding: 40px; }
.row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
label { font: 500 16px var(--head); color: var(--ink); }
.opt { font-family: "Work Sans", sans-serif; font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--surface);
  border: 2px solid transparent; border-radius: 14px; padding: 13px 16px; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--brand); }
textarea { resize: vertical; min-height: 140px; }
.row.invalid input, .row.invalid textarea { border-color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.status { margin: 0; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.err { color: var(--danger); }
.cf-turnstile { margin-bottom: 12px; min-height: 65px; }
.form-note { margin: 0 0 22px; }

/* ---------- legal pages and the 404 */
.page-head { position: relative; background: var(--navy); color: var(--on-dark-muted); padding: 80px 0 72px; }
.page-head .wrap { max-width: 780px; }
.page-head h1 { color: #fff; margin: 0; font-size: clamp(34px, 4.6vw, 52px); }
.page-head .effective { margin: 14px 0 0; }
.legal { max-width: 780px; padding: 64px 0 96px; }
.legal h2 { font-size: 26px; margin: 44px 0 12px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.lost { position: relative; padding: 140px 0; text-align: center; min-height: 60vh; }
.lost .lead { margin: 0 auto 32px; }

/* ---------- footer */
.foot { background: var(--navy-deep); color: var(--on-dark-muted); padding: 64px 0 48px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1fr auto auto; gap: 28px 48px; align-items: center; }
.foot-brand img { height: 26px; width: auto; display: block; }
.foot-brand p { margin: 12px 0 0; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: #fff; text-decoration: none; letter-spacing: 0.03em; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.25); color: #fff; }
.foot-social a:hover { border-color: var(--brand); color: var(--brand); }
.foot-social svg { width: 18px; height: 18px; }
.foot-legal { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px; line-height: 1.6; }

/* ---------- smaller screens */
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .facts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .row-feature, .row-feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .row-feature.flip > figure { order: 0; }
  .ticks.three { columns: 2; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  .js .menu-btn { display: block; }
  .js .top nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px 20px 24px; background: var(--navy); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.5);
  }
  .js .top.open nav { display: flex; }
  .js .top nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-size: 18px; }
  .js .top nav .btn { margin-top: 22px; min-height: 54px; font-size: 17px; }
  .top nav { flex-wrap: wrap; gap: 6px 18px; }
  .uses { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .for-you-list { grid-template-columns: 1fr; }
  .pass { flex-direction: column; align-items: stretch; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .band { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .hero .lead { font-size: 18px; }
  .lead { font-size: 18px; }
  .cta .btn { flex: 1 1 100%; }
  .shot { margin-top: 44px; margin-bottom: -80px; }
  .frame { border-radius: 12px; }
  .frame-bar { height: 26px; padding: 0 10px; gap: 5px; }
  .frame-bar i { width: 8px; height: 8px; }
  .frame-bar span { display: none; }
  .hero + .band { padding-top: calc(80px + 64px); }
  .facts article, .use, .tier, .pass, .form, .for-you { padding: 28px 22px; }
  .use-img { margin-bottom: 22px; }
  .use-img img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
  .use h3 { font-size: 24px; }
  .figure, .price { font-size: 52px; }
  .ticks.three { columns: 1; margin-top: 48px; }
  .sheet { padding: 14px; border-radius: 14px; }
  .row-feature { margin-top: 48px; }
  .row-feature h3 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media (prefers-color-scheme: dark) { .tier.pro { box-shadow: inset 0 0 0 2px var(--brand); } }
