/* IngatlanFriss.hu bemutatóoldal. Színek és betű az app tokenjeiből (src/app/globals.css). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/figtree-latin-400-normal.woff") format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/figtree-latin-500-normal.woff") format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/figtree-latin-700-normal.woff") format("woff"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/figtree-latin-ext-400-normal.woff") format("woff"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/figtree-latin-ext-500-normal.woff") format("woff"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/figtree-latin-ext-700-normal.woff") format("woff"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --sunken: #f3f4f4;
  --panel: #ffffff;
  --text: #1b1e20;
  --muted: #5d6368;
  --border: #e3e5e6;
  --border-strong: #8a9095;
  --brand: #1d8a4f;
  --accent: #1a7f49;
  --accent-hover: #146a3c;
  --on-accent: #ffffff;
  --tint: #edf6f0;
  --tint-border: #d2e7d9;
  --deep: #0f3b25;
  --on-deep: #ffffff;
  --on-deep-muted: #cfe3d6;
  --on-deep-line: rgb(255 255 255 / 0.18);
  --on-deep-accent: #8fe0b2;
  --danger: #b42318;
  --on-deep-danger: #ffc4bb;
  /* logo (the official profile picture colours) */
  --logo-ink: #1b1e20;
  --logo-brand: #1d8a4f;
  --logo-tld: #5b6670;
  --device: #17191b;
  --device-edge: #33383c;
  --shadow-device: 0 2px 4px rgb(15 30 22 / 0.08), 0 30px 70px -30px rgb(15 59 37 / 0.45);
  --shadow-shot: 0 1px 2px rgb(15 30 22 / 0.06), 0 18px 40px -24px rgb(15 59 37 / 0.35);
  --font: "Figtree", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.8vw, 44px); letter-spacing: -0.03em; }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 6px; z-index: 20; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.9vw, 21px); line-height: 1.55; max-width: 60ch; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Logo: the official stacked mark (roof line, "Ingatlan", "Friss.hu"), outlined Figtree 800 */
.lg-roof { stroke: var(--logo-brand); }
.lg-ink { fill: var(--logo-ink); }
.lg-brand { fill: var(--logo-brand); }
.lg-tld { fill: var(--logo-tld); }
.logo { display: inline-flex; flex: none; color: inherit; border-radius: 6px; }
.logo svg { display: block; height: 56px; width: 58.6px; }

/* The roof line as a small recurring motif */
.roof { display: inline-block; flex: none; width: 22px; height: 12px; }
.roof path { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--accent); border-bottom-color: var(--brand); }
.logo + .btn { margin-left: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 17px; letter-spacing: -0.005em; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-secondary { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--text); background: var(--sunken); color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.btn-light { background: var(--on-deep); color: var(--deep); }
.btn-light:hover { background: var(--tint); color: var(--deep); }
.btn-ghost-light { border-color: var(--on-deep-line); color: var(--on-deep); background: transparent; }
.btn-ghost-light:hover { border-color: var(--on-deep); color: var(--on-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Hero */
.hero { position: relative; padding: clamp(44px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.launch { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); font-size: 17px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--tint); border: 1px solid var(--tint-border); }
.hero h1 { font-size: clamp(40px, 5vw, 62px); margin: 22px 0 22px; letter-spacing: -0.04em; line-height: 1.0; }
.hero .lead { color: var(--text); }
.hero .actions { margin-top: 32px; }
.hero-facts { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; color: var(--muted); font-size: 16px; }
.hero-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.hero-facts .roof { width: 18px; height: 10px; transform: translateY(-1px); }
.hero-facts b { color: var(--text); font-weight: 700; }

.devices { margin: 0; position: relative; }
.stage { position: relative; padding: 0 10% 9% 0; }
/* a large, faint roof line behind the screens: the one decorative use of the motif */
.stage::before { content: ""; position: absolute; left: 6%; right: 16%; top: -20%; height: 64%; z-index: -1;
  background: linear-gradient(to bottom right, transparent calc(50% - 7px), var(--tint-border) calc(50% - 7px), var(--tint-border) calc(50% + 7px), transparent calc(50% + 7px)) left / 50% 100% no-repeat,
              linear-gradient(to bottom left, transparent calc(50% - 7px), var(--tint-border) calc(50% - 7px), var(--tint-border) calc(50% + 7px), transparent calc(50% + 7px)) right / 50% 100% no-repeat; opacity: 0.9; }
.laptop .screen { background: var(--device); padding: 1.6% 1.6% 2%; border-radius: 16px 16px 6px 6px; box-shadow: var(--shadow-device); border: 1px solid var(--device-edge); }
.laptop .screen img { border-radius: 4px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop .base { position: relative; height: 16px; margin: 0 -6%; background: linear-gradient(#4a5055, #22262a 60%, #15181a); border-radius: 2px 2px 14px 14px; box-shadow: 0 18px 30px -18px rgb(0 0 0 / 0.5); }
.laptop .base::after { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: rgb(0 0 0 / 0.35); border-radius: 0 0 6px 6px; }
.phone { position: absolute; right: 0; bottom: 0; width: 30%; background: var(--device); padding: 2.2%; border-radius: 30px; border: 1px solid var(--device-edge); box-shadow: var(--shadow-device); }
.phone::before { content: ""; position: absolute; top: 3.2%; left: 50%; width: 22%; height: 1.6%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 1; opacity: 0.85; }
.phone img { border-radius: 22px; width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.preview-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
/* A bemutató portál gombja (új lapon nyílik) és a megjegyzése */
.demo { margin-top: 12px; }
.deep .demo { margin-top: 28px; }
.demo .btn { white-space: normal; text-align: center; }
.ext { flex: none; width: 16px; height: 16px; }
.ext path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-note { margin-top: 8px; font-size: 14px; color: var(--muted); }
.deep .demo-note { color: var(--on-deep-muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head p { margin-top: 18px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.tinted { background: var(--tint); border-top: 1px solid var(--tint-border); border-bottom: 1px solid var(--tint-border); }
.section.tinted + .section, .section + .section.tinted, .section.deep + .section, .section + .section.deep { border-top: 0; }

/* Problem / comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.compare caption { text-align: left; font-weight: 700; font-size: 18px; padding-bottom: 16px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 22px; border-bottom: 1px solid var(--tint-border); }
.compare thead th { font-size: 15px; color: var(--muted); font-weight: 500; padding-top: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--text); vertical-align: bottom; }
.compare tbody th { font-weight: 700; width: 17%; }
.compare tr > :first-child { padding-left: 0; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .ours { background: var(--panel); padding-left: 22px; border-left: 1px solid var(--tint-border); border-right: 1px solid var(--tint-border); }
.compare thead .ours { color: var(--text); font-weight: 700; font-size: 16px; border-top: 4px solid var(--brand); border-radius: 12px 12px 0 0; border-bottom-color: var(--brand); }
.compare tbody tr:last-child .ours { border-bottom: 1px solid var(--tint-border); border-radius: 0 0 12px 12px; }
.compare td:not(.ours) { color: var(--muted); }
.compare .big { display: block; font-size: 23px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 4px; color: var(--text); }
.compare .ours .big { color: var(--accent); }
.source { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 92ch; }
.pillars { list-style: none; padding: 0; margin: clamp(48px, 6vw, 72px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.pillars li { border-top: 2px solid var(--text); padding-top: 20px; }
.pillars p { margin-top: 10px; color: var(--muted); }

/* Features */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.feature + .feature { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--border); }
.feature.flip .feature-text { order: 2; }
.feature-text { position: sticky; top: 112px; }
.feature h3 { font-size: clamp(26px, 2.8vw, 32px); letter-spacing: -0.025em; }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.ticks b { font-weight: 700; }
.shots { display: grid; gap: 28px; }
.shot { margin: 0; }
.shot a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-shot); background: var(--sunken); }
.shot img { width: 100%; }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot figcaption b { color: var(--text); font-weight: 700; }
.shot-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }

/* Pricing panels */
.panel { background: var(--panel); border: 1px solid var(--tint-border); border-radius: 16px; }
.free { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px; align-items: center; padding: clamp(26px, 3.4vw, 40px); }
.free .label { font-weight: 700; color: var(--accent); }
.free .price { font-size: clamp(52px, 6vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 6px; }
.free .price-note { color: var(--muted); margin-top: 8px; }
.free .ticks { margin-top: 0; gap: 10px; }
.subhead { margin: clamp(48px, 6vw, 64px) 0 24px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.subhead h3 { font-size: 26px; letter-spacing: -0.02em; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 28px 26px 26px; display: flex; flex-direction: column; }
.plan.rec { border: 2px solid var(--brand); padding: 27px 25px 25px; }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.chip { font-size: 13px; font-weight: 700; background: var(--accent); color: var(--on-accent); padding: 4px 10px; border-radius: 6px; letter-spacing: 0; }
.plan .amount { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 18px; }
.plan .when { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.plan .ticks { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); gap: 11px; font-size: 16px; }
.plan .ticks li::before { top: 7px; }
.addons { margin: 0; padding: 4px 26px; }
.addons div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.addons div:last-child { border-bottom: 0; }
.addons dt { font-weight: 700; }
.addons dd { margin: 0; text-align: right; font-weight: 700; font-size: 19px; }
.addons .note { grid-column: 1 / -1; font-weight: 400; color: var(--muted); text-align: left; font-size: 15px; }
.fine { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 92ch; }

/* Agencies: the one deep band */
.deep { background: var(--deep); color: var(--on-deep); }
.deep .muted, .deep .when, .deep .source { color: var(--on-deep-muted); }
.deep .kicker { color: var(--on-deep-accent); }
.deep .roof path { stroke: var(--on-deep-accent); }
.deep a:not(.btn) { color: var(--on-deep); }
.deep :focus-visible { outline-color: var(--on-deep-accent); }
.deep h2 { max-width: 18ch; }
.offer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: end; }
.offer .lead { color: var(--on-deep); }
.founder-steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; max-width: 62ch; }
.founder-steps li { padding-left: 16px; border-left: 3px solid var(--on-deep-accent); color: var(--on-deep-muted); }
.founder-steps b { color: var(--on-deep); font-weight: 700; }
.founder-note { margin-top: 18px; max-width: 62ch; font-size: 16px; color: var(--on-deep-muted); }
.offer-box { border: 1px solid var(--on-deep-line); border-radius: 16px; padding: 28px; background: rgb(255 255 255 / 0.04); }
.offer-box .roof { width: 64px; height: 26px; display: block; margin-bottom: 4px; }
.offer-box .roof path { stroke-width: 5; }
.offer-box .big { font-size: clamp(56px, 6.4vw, 80px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.offer-box p + p { margin-top: 10px; }
.tiers { list-style: none; margin: clamp(48px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tier { border-top: 2px solid var(--on-deep); padding-top: 20px; }
.tier-name { font-weight: 700; font-size: 20px; }
.tier .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; }
.tier .amount small { font-size: 16px; font-weight: 500; color: var(--on-deep-muted); letter-spacing: 0; margin-left: 4px; }
.tier .when { font-size: 15px; margin-top: 4px; }
.rows { margin: 18px 0 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--on-deep-line); font-size: 16px; }
.rows dt { color: var(--on-deep-muted); }
.rows dd { margin: 0; font-weight: 700; text-align: right; }
.rows .founder-row dt, .rows .founder-row dd { color: var(--on-deep-accent); }
.moving { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--on-deep-line); }
.moving h3 { font-size: 20px; }
.moving p { margin-top: 10px; color: var(--on-deep-muted); }
.deep .actions { margin-top: clamp(40px, 5vw, 56px); }

/* Partners */
.partner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.partner .ticks { margin-top: 22px; }
.partner .actions { margin-top: 32px; }
.example-box { padding: 26px 28px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; }
.example { width: 100%; border-collapse: collapse; font-size: 17px; }
.example caption { text-align: left; font-weight: 700; padding-bottom: 12px; font-size: 18px; }
.example th, .example td { padding: 13px 0; border-bottom: 1px solid var(--border); text-align: left; }
.example td { text-align: right; font-weight: 700; }
.example thead th { font-weight: 500; color: var(--muted); font-size: 15px; border-bottom: 2px solid var(--text); }
.example thead th:last-child { text-align: right; }
.example tbody tr:last-child > * { border-bottom: 0; }
.example-box .fine { margin-top: 14px; font-size: 14px; }

/* Goal */
.goal { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.goal .statement { font-size: clamp(23px, 2.5vw, 30px); line-height: 1.38; letter-spacing: -0.015em; }
.goal .campaign { display: flex; gap: 12px; align-items: baseline; margin-top: 22px; color: var(--muted); }

/* FAQ */
.faq { max-width: 840px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); font-size: 20px; line-height: 1; font-weight: 500; color: var(--muted); transition: transform 0.2s ease; }
.faq summary:hover::after { border-color: var(--border-strong); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); max-width: 70ch; }
.faq details p + p { margin-top: -8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.site-footer .logo svg { height: 48px; width: 50.3px; }
.site-footer .logo { margin-right: 12px; }
.site-footer a { color: var(--text); }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.footer-note { flex-basis: 100%; }

/* Measurement settings dialog */
dialog { border: 1px solid var(--border); border-radius: 14px; padding: 26px; max-width: min(520px, calc(100vw - 32px)); background: var(--bg); color: var(--text); }
dialog::backdrop { background: rgb(15 17 18 / 0.55); }
dialog h2 { font-size: 24px; }
dialog p { margin-top: 10px; color: var(--muted); font-size: 16px; }
dialog label { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 16px; }
dialog input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
dialog .actions { margin-top: 22px; }

/* Legal page */
.doc { max-width: 760px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: 72px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 16px; letter-spacing: -0.03em; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc .table-scroll { overflow-x: auto; margin: 0 0 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); }
.doc thead th { border-bottom: 2px solid var(--text); }
.notfound { min-height: 46vh; }
.notfound .lead { margin-top: 4px; color: var(--muted); }
.notfound .actions { margin-top: 28px; }

/* Forms (forms.js, functions/api/leads.js) */
.input { display: block; width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 17px; line-height: 1.4; }
textarea.input { min-height: 96px; resize: vertical; }
.input::placeholder { color: var(--muted); opacity: 1; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); border-radius: 10px; }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 0 0 0 1px var(--danger); }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field-error { margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--danger); }
.form-note { margin-top: 10px; font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 500; }
.form-status:not(:empty) { margin-top: 12px; }
.form-success { padding: 16px 18px; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-border); }
.form-success h3 + p { margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ts:not(:empty) { margin-top: 12px; }
.notify { margin-top: 28px; max-width: 540px; }
.notify-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.notify-row { display: flex; gap: 10px; }
.notify-row .input { flex: 1 1 auto; min-width: 0; }
.notify-row .btn { flex: none; }
.notify-panel { max-width: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.lead-form h3 { font-size: 24px; letter-spacing: -0.015em; }
.form-intro { margin-top: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 20px; }
.fields .span { grid-column: 1 / -1; }
.fields .form-note { margin-top: -6px; }
.lead-form .actions { margin-top: 20px; }
.partner .lead-form { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.deep .lead-form { max-width: 780px; margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(36px, 4vw, 48px); border-top: 1px solid var(--on-deep-line); }
.deep .lead-form .actions { margin-top: 20px; }
.on-deep .form-note, .on-deep .opt, .on-deep .form-intro { color: var(--on-deep-muted); }
.on-deep .field-error, .on-deep .form-status { color: var(--on-deep-danger); }
.on-deep .input { border-color: var(--bg); }
.on-deep .input:focus-visible { outline-color: var(--on-deep-accent); }
.on-deep .input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px var(--on-deep-danger); }
.on-deep .form-success { background: rgb(255 255 255 / 0.06); border-color: var(--on-deep-line); }
.compare .pkgs { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 2px; }
.compare .pkgs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--text); }
.compare .ours .pkgs li { color: var(--accent); }
.compare .pkgs .dur { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .notify-row { flex-direction: column; }
}

/* Responsive */
@media (min-width: 1021px) {
  .feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
/* a telefon csak itt lóghat ki a rácsból: 1021-1279 px között a .hero levágná a jobb szélét */
@media (min-width: 1280px) {
  .hero .stage { width: 108%; }
}
@media (max-width: 1020px) {
  /* a szakaszmenü a fejléc második sora, vízszintesen görgethető */
  html { scroll-padding-top: 132px; }
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; }
  .nav { order: 3; flex: 0 0 calc(100% + 12px); margin: 0 -6px; padding: 4px 6px 6px; gap: 22px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--border); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: none; font-size: 15px; padding: 6px 0; }
.nav[data-more-right] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); }
.nav[data-more-left] { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent); }
.nav[data-more-left][data-more-right] { -webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
  .site-header .btn { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; }
  .devices { max-width: 760px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-text { order: 0; }
  .feature-text { position: static; }
  .offer, .partner, .goal, .free { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}
/* az összevető táblázat 861 px alatt kártyás (négy oszlopban a nem törhető árak 821 px-et kérnek) */
@media (max-width: 860px) {
  .compare thead { display: none; }
  .compare caption { display: block; width: 100%; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 18px 0 8px; border-bottom: 2px solid var(--text); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { width: 100%; border: 0; padding: 0 0 12px; font-size: 19px; }
  .compare td { padding: 12px 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 2px; }
  .compare td:last-child { border-bottom: 0; }
  .compare .ours, .compare tbody tr:last-child .ours { padding: 14px 16px; border: 1px solid var(--tint-border); border-top: 4px solid var(--brand); border-radius: 12px; margin-bottom: 4px; }
  .compare .ours::before { color: var(--text); font-weight: 700; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header .wrap { min-height: 64px; gap: 12px; }
  .logo svg { height: 46px; width: 48.2px; }
  .pillars, .tiers, .moving { grid-template-columns: 1fr; gap: 30px; }
  .shot-pair { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
  .demo .btn { width: 100%; }
  .site-header .btn { flex: none; }
  .stage { padding: 0 8% 12% 0; }
  .phone { width: 32%; border-radius: 18px; padding: 2.4%; }
  .phone img { border-radius: 12px; }
  .laptop .screen { border-radius: 10px 10px 4px 4px; }
  .laptop .base { height: 10px; border-radius: 2px 2px 9px 9px; }
  .addons { padding: 2px 18px; }
  .plan { padding: 24px 20px 22px; }
  .plan.rec { padding: 23px 19px 21px; }
  .faq details p { padding-right: 0; }
  .example-box { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
@media (max-width: 760px) { .site-footer .logo { flex-basis: 100%; } }
