/* ImmoShorts site. Product-led and phone-first: white space, one warm "rec" accent, the reels themselves as imagery. */
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --ink: #101418;
  --muted: #5a6470;
  --line: #e4e7eb;
  --accent: #ef4423;
  --accent-deep: #c9341a;
  --accent-soft: #fff0eb;
  --dark: #13161a;
  --dark-line: #2a2f36;
  --ok: #1b7f4c;
  --err: #b3261e;
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-field: 14px;
  --r-card: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); }
.eyebrow.light { color: #ff9b84; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-decoration: none; }
.brand .mark { width: 22px; height: 30px; }
.brand.small { font-size: 1.05rem; }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-weight: 500; font-size: 0.97rem; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--ink); }
.nav nav .nav-cta { white-space: nowrap; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 7px 16px; }
.nav nav .nav-cta:hover { background: var(--ink); color: #fff; }
@media (max-width: 620px) { .nav nav a:not(.nav-cta) { display: none; } }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 800; line-height: 0.94; letter-spacing: -0.045em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 34em; }

.linkbox { display: grid; gap: 14px; margin-top: 6px; }
.linkbox-row { display: flex; gap: 8px; padding: 7px; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(16,20,24,.45); }
.linkbox-row input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--font); color: var(--ink); padding: 10px 14px; }
.linkbox-row input:focus { outline: none; }
.linkbox-row:focus-within { box-shadow: 0 0 0 4px var(--accent-soft), 0 10px 30px -18px rgba(16,20,24,.45); }
button { font: 700 1rem var(--font); cursor: pointer; border: 0; border-radius: 999px; background: var(--accent); color: #fff; padding: 13px 22px; white-space: nowrap; transition: background .15s ease; }
button:hover { background: var(--accent-deep); }
button:disabled { opacity: .6; cursor: progress; }
.facts { list-style: none; margin: 0; padding: 0 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.92rem; color: var(--muted); }
.facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 480px) {
  .linkbox-row { flex-direction: column; border-radius: var(--r-card); }
  .linkbox-row button { width: 100%; }
}

.hero-auto { font-size: 0.95rem; color: var(--muted); padding: 0 8px; }
.hero-auto a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
#listing { scroll-margin-top: 120px; }

.step2 { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-card); background: var(--soft); }
.step2-lead { font-weight: 700; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input { font: 400 1rem var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-field); padding: 11px 13px; width: 100%; }
.field input:focus { outline: none; border-color: var(--ink); }
.send { justify-self: start; }
.fine { font-size: 0.82rem; color: var(--muted); }
.msg { font-size: 0.95rem; font-weight: 600; min-height: 1.4em; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }

/* Phones */
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.phone { margin: 0; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; border: 7px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(16,20,24,.5); max-width: 100%; }
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone.main { width: min(290px, 52%); position: relative; z-index: 2; }
.phone.side { width: min(220px, 40%); opacity: .96; }
.phone.side:first-child { transform: translate(28px, 30px) rotate(-5deg); }
.phone.side:last-child { transform: translate(-28px, 30px) rotate(5deg); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .phones { min-height: 0; padding-top: 8px; }
}
@media (max-width: 520px) {
  .phone { border-width: 5px; border-radius: 24px; }
  .phone.side:first-child { transform: translate(18px, 18px) rotate(-5deg); }
  .phone.side:last-child { transform: translate(-18px, 18px) rotate(5deg); }
}

/* How */
.how { background: var(--soft); }
.how h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.steps li { background: var(--bg); border-radius: var(--r-card); padding: 26px; display: grid; gap: 12px; align-content: start; }
.steps .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; }
.steps p { color: var(--muted); }
.how-alt { margin-top: 22px; color: var(--muted); }
.how-alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Inside */
.inside-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.inside-copy { display: grid; gap: 20px; }
.inside-copy > p { color: var(--muted); max-width: 36em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23c9341a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.note { font-size: 0.92rem; padding: 14px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 10px 10px 0; color: var(--ink) !important; }
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 520px; justify-self: center; width: 100%; }
.frames figure { margin: 0; display: grid; gap: 10px; min-width: 0; }
.frames img { border-radius: 22px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; box-shadow: 0 24px 48px -30px rgba(16,20,24,.55); }
.frames figure:last-child { margin-top: 48px; }
.frames figcaption { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .inside-in { grid-template-columns: 1fr; } }

/* Compare */
.compare h2 { margin-bottom: 32px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: 0.98rem; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
tbody th { font-weight: 600; width: 22%; }
td.us, th.us { background: var(--accent-soft); font-weight: 700; color: var(--ink); }
thead th.us { border-radius: 14px 14px 0 0; color: var(--accent-deep); }
tbody tr:last-child td.us { border-radius: 0 0 14px 14px; }

/* Wall */
.wall { background: var(--soft); }
.wall-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.wall-head p { color: var(--muted); }
.wall-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { all: unset; cursor: pointer; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 9 / 16; background: var(--line); max-width: 100%; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%23101418'/%3E%3C/svg%3E") 55% 50% / 26px no-repeat; opacity: 0; transition: opacity .2s ease; }
.tile:hover img { transform: scale(1.03); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px; font-size: 0.82rem; font-weight: 600; line-height: 1.3; color: #fff; background: linear-gradient(transparent, rgba(10,12,14,.72)); overflow-wrap: anywhere; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
@media (max-width: 980px) { .wall-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile::after { opacity: 1; width: 44px; height: 44px; margin: -22px 0 0 -22px; } }

/* Logos */
.logos h2 { font-size: 1.4rem; margin-bottom: 24px; }
.logo-row { display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: center; }

/* Claim */
.claim { background: var(--dark); color: #f1f3f5; }
.claim-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.claim-copy { display: grid; gap: 18px; }
.claim h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; }
.claim-copy > p { color: #c3c9d0; max-width: 32em; }
.claim-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.claim-list li { padding-left: 26px; position: relative; }
.claim-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }
.claim .small { font-size: 0.88rem; color: #8f98a3 !important; }
.claim-form { background: var(--bg); color: var(--ink); border-radius: var(--r-card); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 0.9rem; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.claim-form button { justify-self: start; }
@media (max-width: 900px) { .claim-in { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-head { display: grid; gap: 10px; margin-bottom: 32px; }
.pricing-head p { color: var(--muted); }
.pricing-head b { color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.plan { border: 1.5px solid var(--line); border-radius: var(--r-card); padding: 22px; display: grid; gap: 8px; align-content: start; }
.plan.feat { border-color: var(--ink); }
.plan h3 { font-size: 1rem; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .credits { font-size: 0.88rem; font-weight: 600; color: var(--accent-deep); }
.plan p:last-child { font-size: 0.93rem; color: var(--muted); }
.pricing-foot { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--soft); }
.faq-in { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); }
.qs { display: grid; gap: 10px; }
details { background: var(--bg); border-radius: 16px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 500; font-size: 1.3rem; line-height: 1; color: var(--accent-deep); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); }
@media (max-width: 760px) { .faq-in { grid-template-columns: 1fr; } }

/* Footer */
.foot { padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot-in > div:first-child { display: grid; gap: 10px; }
.foot .brand { color: var(--ink); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 48px; }

/* Player */
.player { position: fixed; inset: 0; z-index: 50; background: rgba(10,12,14,.92); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.player video { max-height: 88vh; aspect-ratio: 9 / 16; border-radius: 20px; background: #000; }
.player .close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); background: #fff; color: var(--ink); padding: 9px 18px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding-block: 56px 88px; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 8px; }
.doc h2 { font-size: 1.35rem; margin: 36px 0 10px; letter-spacing: -0.015em; }
.doc h3 { margin: 22px 0 8px; }
.doc p, .doc li { color: #2b3138; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 6px; margin: 10px 0; }
.doc .version { color: var(--muted); font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img, button { transition: none; }
}
