/*
 * Naxdor concept template "Hantverk", design "Fastighet" (founder's choice 2026-10-26 for landlords). Built to the
 * founder's Framer reference Propertiva and measured against it at 1440 px: a light grey page, a 1190 px column,
 * Open Sauce One for headings (headline 54 px, section headings 46 px, the promise 32 px, card titles 22 to 24 px)
 * and Open Sauce Two for text (18 px leads in grey), 41 px pill buttons in navy and white, light cards inside
 * darker grey frames with 16 to 20 px corners, and about 120 px between sections.
 * Per page, <html> sets --brand, --on-brand, --brand-strong and --brand-wash (the company's colour, navy by default).
 * Fonts: Open Sauce One and Two, SIL Open Font License, self-hosted. No scripts.
 */
@font-face { font-family: "Open Sauce One"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/open-sauce-one-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce One"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/open-sauce-one-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Two"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/open-sauce-two-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Two"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/open-sauce-two-latin-700.woff2") format("woff2"); }

:root {
  --page: #f0f0f0;
  --frame: #e5e5e5;
  --card: #f5f5f5;
  --ink: #111111;
  --muted: #5f5f5f;
  --soft-ink: #6b6b6b;
  --line: rgb(0 0 0 / 0.08);
  --display: "Open Sauce One", "Inter", system-ui, sans-serif;
  --text: "Open Sauce Two", "Inter", system-ui, sans-serif;
  --gutter: clamp(20px, 8.7vw, 125px);
  --head-h: 81px;
  --bar-h: 56px;
  --brand: #1e365d;
  --on-brand: #ffffff;
  --brand-strong: #1e365d;
  --brand-wash: #e3e8ef;
  color-scheme: light;
}
.is-example { --bar-h: 37px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 500 16px/1.55 var(--text); letter-spacing: -0.02em; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; text-wrap: balance; }
/* The packs mark a phrase with *stars* for Nordisk's italic; here it reads as one line. */
h1 em, h2 em { font-style: normal; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.f-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.f-wrap { width: min(1190px, 100% - 2 * var(--gutter)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--head-h) + 8px); }

/* Concept or example notice (leadmart docs/legal/texter-sv.md § D2 and § I1) */
.concept-bar { background: #0e1726; color: rgb(255 255 255 / 0.85); font: 500 13px/1.45 var(--text); letter-spacing: 0; padding-block: 9px; }
.concept-bar .wrap { width: min(1190px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.concept-bar a { color: inherit; }

/* Shared parts */
.f-eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--ink); font: 700 14px/1.5 var(--text); letter-spacing: 0.01em; text-transform: uppercase; }
.f-eyebrow .ico { width: 16px; height: 16px; color: var(--brand); stroke-width: 2; }
.f-lead { font-size: 18px; line-height: 1.6; }
.f-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px; padding: 0 18px; border: 0; border-radius: 1000px; font: 500 16px/1 var(--text); letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.f-btn .ico { width: 16px; height: 16px; }
.f-btn-white { background: #ffffff; color: #000000; }
.f-btn-glass { background: rgb(255 255 255 / 0.12); color: #ffffff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.f-btn-navy { background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--brand) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / 0.18); }
.f-btn-light { background: var(--page); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.1); }
.f-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.f-actions-center { justify-content: center; }
.f-box { padding: 8px; border-radius: 20px; background: var(--frame); }
.f-sec { padding-block: 120px; }
.f-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 390px); grid-template-areas: "eyebrow eyebrow" "title intro"; align-items: end; gap: 0 40px; margin-bottom: 56px; }
.f-head .f-eyebrow { grid-area: eyebrow; }
.f-head h2 { grid-area: title; max-width: 10.5em; }
.f-head > p:not(.f-eyebrow) { grid-area: intro; color: var(--muted); font-size: 18px; line-height: 1.6; }
.f-head h2, .f-steps h2, .f-faq h2, .f-cta h2 { font-size: 46px; line-height: 1.29; letter-spacing: -0.04em; }

/* Header: the name, the menu to the right and a white pill, over the photo; light once you scroll */
.f-stage { position: relative; }
.f-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #ffffff; }
.f-top-in { display: flex; align-items: center; gap: 24px; width: min(1190px, 100% - 2 * var(--gutter)); min-height: var(--head-h); margin-inline: auto; }
.f-mark { display: inline-flex; align-items: center; gap: 9px; font: 600 24px/1.25 var(--display); letter-spacing: -0.045em; text-decoration: none; }
.f-mark-ico .ico { width: 24px; height: 24px; stroke-width: 2; }
.f-nav { display: flex; gap: 26px; margin-left: auto; font: 500 16px/1.55 var(--text); }
.f-nav a { text-decoration: none; white-space: nowrap; }
.f-menu { display: none; position: relative; margin-left: auto; }
.f-menu summary { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; list-style: none; }
.f-menu summary::-webkit-details-marker { display: none; }
.f-burger { display: grid; gap: 4px; width: 16px; }
.f-burger i { display: block; height: 1.5px; border-radius: 1px; background: currentColor; }
.f-menu nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; display: grid; min-width: 230px; padding: 6px; border-radius: 16px; background: #ffffff; color: var(--ink); box-shadow: 0 18px 40px -18px rgb(0 0 0 / 0.35), 0 0 0 1px var(--line); }
.f-menu nav a { padding: 12px 14px; border-radius: 10px; font: 500 16px/1.2 var(--text); text-decoration: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .f-top { position: sticky; margin-bottom: calc(-1 * var(--head-h)); animation: f-top-solid linear both; animation-timeline: scroll(root); animation-range: calc(100svh - var(--bar-h) - 160px) calc(100svh - var(--bar-h) - 80px); }
    .f-top .f-menu summary { animation: f-top-burger linear both; animation-timeline: scroll(root); animation-range: calc(100svh - var(--bar-h) - 160px) calc(100svh - var(--bar-h) - 80px); }
    .f-top .f-top-cta { animation: f-top-cta linear both; animation-timeline: scroll(root); animation-range: calc(100svh - var(--bar-h) - 160px) calc(100svh - var(--bar-h) - 80px); }
  }
}
@keyframes f-top-solid { to { background: rgb(240 240 240 / 0.92); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
@keyframes f-top-burger { to { background: rgb(0 0 0 / 0.06); } }
@keyframes f-top-cta { to { background: var(--brand); color: var(--on-brand); } }

/* First screen: one dark photo, the headline at the top left */
.f-hero { position: relative; isolation: isolate; display: flex; min-height: calc(100vh - var(--bar-h)); min-height: calc(100svh - var(--bar-h)); padding-block: calc(var(--head-h) + 44px) 120px; color: #ffffff; background: #1d3540; }
.f-hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.f-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.f-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 16 24 / 0.6) 0%, rgb(6 16 24 / 0.28) 46%, rgb(6 16 24 / 0) 72%), linear-gradient(180deg, rgb(6 16 24 / 0.35) 0%, rgb(6 16 24 / 0) 22%); }
.f-pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 1000px; background: rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 13px/1.3 var(--text); }
.f-pill-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffffff; color: #000000; }
.f-pill-ico .ico { width: 14px; height: 14px; stroke-width: 2; }
.f-hero h1 { max-width: 9.6em; margin-top: 26px; font-size: 54px; line-height: 1.275; letter-spacing: -0.045em; }
.f-hero .f-lead { max-width: 24em; margin-top: 18px; color: rgb(255 255 255 / 0.92); }

/* The promise between two small photos, the four benefits beneath */
.f-promise { padding-block: 112px 120px; }
.f-promise-in { position: relative; display: grid; justify-items: center; max-width: 620px; margin-inline: auto; text-align: center; }
.f-promise-in .f-eyebrow { justify-content: center; }
.f-promise h2 { font-size: 32px; line-height: 1.4; letter-spacing: -0.045em; }
.f-promise-in > p:not(.f-eyebrow) { max-width: 32em; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.f-float { position: absolute; top: 18px; width: 175px; aspect-ratio: 175 / 180; overflow: hidden; border-radius: 16px; background: var(--frame); box-shadow: 0 0 0 3px #ffffff, 0 24px 40px -24px rgb(0 0 0 / 0.45); }
.f-float img { width: 100%; height: 100%; object-fit: cover; }
.f-float-l { right: calc(100% + 120px); rotate: -4deg; }
.f-float-r { left: calc(100% + 120px); rotate: 4deg; }
.f-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 72px; }
.f-benefits li { display: grid; justify-items: center; gap: 10px; padding: 32px 24px 30px; border-radius: 16px; background: var(--card); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 1px 2px rgb(0 0 0 / 0.04); text-align: center; }
.f-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.f-ico .ico { width: 20px; height: 20px; }
.f-benefits h3 { margin-top: 8px; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -0.035em; }
.f-benefits p { color: var(--muted); font-size: 16px; line-height: 1.5; }

/* Services: a numbered list beside a photo that follows the open service */
.f-svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.f-svc-list { padding: 8px 26px; border-radius: 16px; background: var(--card); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9); }
.f-svc-list details { border-bottom: 1px solid var(--line); }
.f-svc-list details:last-child { border-bottom: 0; }
.f-svc-list summary { display: flex; align-items: center; gap: 14px; padding: 19px 0; cursor: pointer; list-style: none; color: var(--soft-ink); }
.f-svc-list summary::-webkit-details-marker { display: none; }
.f-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--frame); color: var(--ink); font: 500 12px/1 var(--text); }
.f-svc-title { flex: 1; font: 500 22px/1.35 var(--display); letter-spacing: -0.035em; }
.f-svc-list details[open] summary { color: var(--ink); }
.f-svc-list details[open] .f-num { background: var(--brand); color: var(--on-brand); }
.f-svc-list details p { padding: 0 0 22px 40px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.f-plus { position: relative; flex: none; width: 14px; height: 14px; color: var(--brand); }
.f-plus::before, .f-plus::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.25s ease; }
.f-plus::after { transform: rotate(90deg); }
details[open] > summary .f-plus::after { transform: rotate(0deg); }
.f-svc-photos { position: relative; min-height: 560px; overflow: hidden; border-radius: 16px; background: #c9cdd1; }
.f-svc-photos figure { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
.f-svc-photos img { width: 100%; height: 100%; object-fit: cover; }
.f-svc-photos figure:first-child { opacity: 1; }
.f-svc:has(.f-svc-list details:not(:first-child)[open]) .f-svc-photos figure:first-child { opacity: 0; }
.f-svc:has(.f-svc-list details:nth-child(2)[open]) .f-svc-photos figure:nth-child(2),
.f-svc:has(.f-svc-list details:nth-child(3)[open]) .f-svc-photos figure:nth-child(3),
.f-svc:has(.f-svc-list details:nth-child(4)[open]) .f-svc-photos figure:nth-child(4),
.f-svc:has(.f-svc-list details:nth-child(5)[open]) .f-svc-photos figure:nth-child(5),
.f-svc:has(.f-svc-list details:nth-child(6)[open]) .f-svc-photos figure:nth-child(6) { opacity: 1; }

/* The steps: the heading on the left, four steps on a line of round icons on the right */
.f-steps-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: 48px 80px; align-items: start; }
.f-steps-head h2 { max-width: 9em; }
.f-step-list { position: relative; display: grid; gap: 44px; }
.f-step-list::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 1px; background: rgb(0 0 0 / 0.12); }
.f-step-list li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; align-items: start; }
.f-step-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #ffffff; color: var(--ink); box-shadow: 0 10px 18px -10px rgb(0 0 0 / 0.35), 0 0 0 1px rgb(0 0 0 / 0.04); }
.f-step-ico .ico { width: 19px; height: 19px; stroke-width: 2; }
.f-step-list h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 500; line-height: 1.35; letter-spacing: -0.035em; }
.f-step-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ffffff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08); font: 500 12px/1 var(--text); letter-spacing: 0; }
.f-step-list p { margin-top: 8px; color: var(--muted); font-size: 18px; line-height: 1.6; }

/* One wide photo */
.f-band { aspect-ratio: 1190 / 500; overflow: hidden; border-radius: 20px; background: #c9cdd1; }
.f-band img { width: 100%; height: 100%; object-fit: cover; }

/* Tips: three cards in a frame */
.f-tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.f-tips li { padding: 26px 26px 30px; border-radius: 16px; background: var(--card); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9); }
.f-tip-ico .ico { width: 34px; height: 34px; color: var(--brand); stroke-width: 1.6; }
.f-tips h3 { margin-top: 48px; font-size: 24px; font-weight: 500; line-height: 1.3; letter-spacing: -0.035em; }
.f-tips p { margin-top: 10px; color: var(--muted); font-size: 17px; line-height: 1.55; }

/* Questions: the head on the left, the answers as cards on the right; one open at a time */
.f-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 48px 80px; align-items: start; }
.f-faq-head h2 { max-width: 9em; }
.f-faq-head p:not(.f-eyebrow) { max-width: 24em; margin-top: 18px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.f-faq-head .f-btn { margin-top: 30px; min-height: 46px; padding-inline: 26px; }
.f-faq-list { display: grid; gap: 8px; }
.f-faq-list details { border-radius: 14px; background: #fafafa; box-shadow: inset 0 1px 0 #ffffff, 0 1px 2px rgb(0 0 0 / 0.05); }
.f-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 20px; cursor: pointer; list-style: none; font: 500 17px/1.4 var(--text); }
.f-faq-list summary::-webkit-details-marker { display: none; }
.f-faq-list p { padding: 0 20px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.f-plus-dot { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); }
.f-plus-dot::before, .f-plus-dot::after { content: ""; position: absolute; left: 6px; top: 10.25px; width: 10px; height: 1.5px; background: var(--on-brand); transition: transform 0.25s ease; }
.f-plus-dot::after { transform: rotate(90deg); }
details[open] > summary .f-plus-dot::after { transform: rotate(0deg); }

/* Contact: a navy band with a photo to the right */
.f-cta { position: relative; isolation: isolate; overflow: hidden; padding-block: 120px; background: #0f2a4d; color: #ffffff; }
.f-cta-photo { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.f-cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.f-cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0f2a4d 0%, rgb(15 42 77 / 0.55) 34%, rgb(15 42 77 / 0.1) 70%); }
.f-cta .f-eyebrow { color: #ffffff; }
.f-cta .f-eyebrow .ico { color: #ffffff; }
.f-cta h2 { max-width: 9em; color: #ffffff; }
.f-cta .f-lead { max-width: 24em; margin-top: 18px; color: rgb(255 255 255 / 0.9); }
.f-rows { display: grid; gap: 12px; margin-top: 30px; font-size: 16px; }
.f-rows li, .f-rows a { display: flex; align-items: flex-start; gap: 10px; text-decoration: none; }
.f-rows .ico { width: 17px; height: 17px; margin-top: 3px; }

/* Footer */
.f-foot { padding-block: 72px 24px; }
.f-foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.f-foot-brand p:not(.f-mark) { max-width: 22em; margin-top: 14px; color: var(--muted); font-size: 16px; }
.f-foot .f-social { display: flex; gap: 8px; margin-top: 22px; }
.f-social li { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--frame); }
.f-social .ico { width: 16px; height: 16px; }
.f-foot h3 { font: 500 17px/1.3 var(--display); letter-spacing: -0.03em; }
.f-foot ul:not(.f-social) { display: grid; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 15px; }
.f-foot li a { text-decoration: none; }
.f-foot-contact li, .f-foot-contact a { display: flex; align-items: flex-start; gap: 10px; }
.f-foot-contact .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--brand); }
.f-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: 56px; padding: 18px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 1px 0 #ffffff, 0 0 0 4px var(--frame); color: var(--muted); }
.f-foot-base small { font-size: 14px; }

/* Back to top and the phone call bar */
.to-top { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 15; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: var(--on-brand); box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.6); transition: transform 0.25s ease; }
.to-top .ico { width: 19px; height: 19px; stroke-width: 2; }
@supports (animation-timeline: scroll()) {
  .to-top { animation: f-to-top linear both; animation-timeline: scroll(root); animation-range: 500px 760px; }
}
@keyframes f-to-top { from { opacity: 0; translate: 0 18px; visibility: hidden; } to { opacity: 1; translate: 0 0; visibility: visible; } }
.actionbar { display: none; }

/* Motion: one calm entrance and sections that ease in; nothing moves under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .f-hero-in > * { animation: f-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .f-hero-in > :nth-child(2) { animation-delay: 0.08s; }
  .f-hero-in > :nth-child(3) { animation-delay: 0.16s; }
  .f-hero-in > :nth-child(4) { animation-delay: 0.24s; }
  .f-hero-photo img { animation: f-settle 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @supports (animation-timeline: view()) {
    .f-promise-in, .f-benefits li, .f-head, .f-svc, .f-steps-head, .f-step-list li, .f-band, .f-tips li, .f-faq-head, .f-faq-list, .f-cta-in, .f-foot-grid > * {
      animation: f-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
  }
}
@keyframes f-rise { from { opacity: 0; translate: 0 20px; } }
@keyframes f-settle { from { scale: 1.06; } }

/* Hover, for mouse and trackpad only */
@media (hover: hover) {
  .f-nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
  .f-btn:hover { transform: translateY(-1px); }
  .f-btn-glass:hover { background: rgb(255 255 255 / 0.2); }
  .f-btn-light:hover { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.3); }
  .f-svc-list summary:hover { color: var(--ink); }
  .f-faq-list summary:hover { color: var(--brand); }
  .f-menu nav a:hover { background: var(--page); }
  .f-foot li a:hover, .f-rows a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .to-top:hover { transform: translateY(-3px); }
}

/* Narrower laptops: the menu folds behind a button; the small photos go */
@media (max-width: 1180px) {
  .f-nav { display: none; }
  .f-top-cta { margin-left: auto; }
  .f-menu { display: block; margin-left: 0; }
  .f-float { display: none; }
  .f-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablets */
@media (max-width: 960px) {
  .f-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "eyebrow" "title" "intro"; gap: 16px; }
  .f-svc { grid-template-columns: minmax(0, 1fr); }
  .f-svc-photos { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .f-steps-in, .f-faq-in { grid-template-columns: minmax(0, 1fr); }
  .f-tips { grid-template-columns: minmax(0, 1fr); }
  .f-tips h3 { margin-top: 24px; }
  .f-cta-photo { inset: 0; opacity: 0.45; }
  .f-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .f-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) { .is-example { --bar-h: 56px; } }

/* Phones */
@media (max-width: 720px) {
  :root { --bar-h: 86px; --head-h: 66px; }
  .is-example { --bar-h: 68px; }
  body { font-size: 15.5px; }
  .concept-bar { font-size: 12px; padding-block: 8px; }
  .f-mark { font-size: 21px; }
  .f-top-cta { display: none; }
  .f-menu { margin-left: auto; }
  .f-sec { padding-block: 80px; }
  .f-hero { padding-block: calc(var(--head-h) + 28px) 110px; }
  .f-hero h1 { margin-top: 20px; font-size: 40px; line-height: 1.2; letter-spacing: -0.04em; }
  .f-lead, .f-head > p:not(.f-eyebrow), .f-promise-in > p:not(.f-eyebrow), .f-step-list p, .f-faq-head p:not(.f-eyebrow) { font-size: 16.5px; }
  .f-promise { padding-block: 80px; }
  .f-promise h2 { font-size: 26px; }
  .f-head h2, .f-steps h2, .f-faq h2, .f-cta h2 { font-size: 34px; line-height: 1.2; }
  .f-benefits { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .f-svc-list { padding: 4px 18px; }
  .f-svc-title { font-size: 19px; }
  .f-svc-list details p { padding-left: 0; }
  .f-band { aspect-ratio: 4 / 3; }
  .f-cta { padding-block: 80px; }
  .f-foot-grid { grid-template-columns: minmax(0, 1fr); }
  .f-foot-base { margin-bottom: 76px; }
  .to-top { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: sticky; bottom: 0; z-index: 5;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--line); background: rgb(240 240 240 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .actionbar .f-btn { min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* The back-to-top button still waits until you have scrolled; it fades in place instead of sliding. */
  @supports (animation-timeline: scroll()) {
    .to-top { animation: f-to-top-fade linear both !important; animation-timeline: scroll(root) !important; animation-range: 500px 760px !important; }
  }
  .f-btn:hover, .to-top:hover { transform: none; }
}
@keyframes f-to-top-fade { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
