/* Fénysík Energia – demo landing page (AVANT Marketing minta) */

@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/fraunces-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/fraunces-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, 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: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/fraunces-latin-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 300 800;
  src: url(fonts/fraunces-latin-ext-wght-italic.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, 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: "Instrument Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url(fonts/instrument-sans-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #f5f1e8;
  --paper-2: #ece6d8;
  --card: #fffdf8;
  --ink: #10251e;
  --ink-2: #1d3b31;
  --ink-soft: #3f574d;
  --muted: #5d7066;
  --sage: #cfdccf;
  --sage-2: #e3eae1;
  --sun: #f3c64b;
  --sun-2: #f7d878;
  --sun-deep: #8a6508;
  --line: rgba(16, 37, 30, 0.12);
  --line-2: rgba(16, 37, 30, 0.2);
  --error: #a3261b;
  --ok: #2d7a4f;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 37, 30, 0.06), 0 12px 32px -12px rgba(16, 37, 30, 0.22);
  --shadow-lg: 0 2px 4px rgba(16, 37, 30, 0.05), 0 30px 60px -24px rgba(16, 37, 30, 0.35);
  --display: "Fraunces Variable", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; font-optical-sizing: auto; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn#btn-prev:hover svg { transform: translateX(-3px); }
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(16, 37, 30, 0.12); }
.btn-sun:hover { background: var(--sun-2); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: rgba(16, 37, 30, 0.04); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost-dark { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 241, 232, 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; color: var(--ink); flex: none; }
.brand-text { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 6px; }
.brand-text span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: background-color 0.2s, color 0.2s; }
.main-nav a:hover { background: rgba(16, 37, 30, 0.06); color: var(--ink); }
.header-cta { flex: none; }
.show-sm { display: none; }
.nav-toggle { display: none; }

@media (max-width: 959px) {
  .header-inner { height: 62px; }
  .header-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: 12px; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.25s var(--ease), background-color 0.2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 18px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: 12px 8px; font-size: 17px; border-radius: 10px; }
}
@media (max-width: 559px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .brand-text span { display: none; }
  .header-cta { padding: 0 16px; }
}
@media (max-width: 340px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { padding: 28px 0 40px; position: relative; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); padding: 7px 14px 7px 11px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243, 198, 75, 0.28); flex: none; }
.hero h1 { margin-top: 20px; font-size: clamp(38px, 9.4vw, 72px); font-weight: 480; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--ink-2); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.16em; background: var(--sun); opacity: 0.75; z-index: -1; border-radius: 2px; }
.lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 19px); color: var(--ink-soft); max-width: 36em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.hero-facts li { padding: 16px 12px 0 0; display: flex; flex-direction: column; gap: 2px; }
.hero-facts li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.hero-facts strong { white-space: nowrap; font-family: var(--display); font-size: clamp(21px, 5vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.hero-facts span { font-size: 12.5px; hyphens: auto; color: var(--muted); line-height: 1.35; }

.hero-visual { position: relative; }
.scene { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 12px 16px;
}
.fc-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.fc-value { display: block; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.fc-value small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 600; }
.fc-spark { width: 120px; height: 30px; margin-top: 4px; }
.fc-prod { left: -6px; bottom: -22px; background: var(--ink); color: var(--paper); border-color: transparent; }
.fc-prod .fc-label, .fc-prod .fc-value small { color: rgba(245, 241, 232, 0.66); }
.fc-self { right: 10px; top: 14px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.fc-sub { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.fc-self .fc-label { color: var(--ink); font-size: 14px; }
.ring {
  --p: 68; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--ink) calc(var(--p) * 1%), var(--sage) 0);
  display: grid; place-items: center;
}
.ring span { width: 34px; height: 34px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

@keyframes flow { to { stroke-dashoffset: -24; } }
@keyframes bob { 50% { transform: translateY(-6px); } }
@keyframes glint { 0%, 70% { transform: translateX(-40px); opacity: 0; } 80% { opacity: 1; } 100% { transform: translateX(200px); opacity: 0; } }
.flow { animation: flow 1.2s linear infinite; }
.glint { animation: glint 6s ease-in-out infinite; }
.fc-prod { animation: bob 6s ease-in-out infinite; }
.fc-self { animation: bob 7s ease-in-out 1s infinite; }

@media (min-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero-actions .btn { flex: 0 0 auto; }
  .fc-prod { left: -36px; bottom: 40px; }
  .fc-self { right: -18px; top: 28px; }
}

/* ---------- strip ---------- */
.strip { background: var(--ink); color: var(--paper); }
.strip-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding-top: 22px; padding-bottom: 22px; }
.strip p { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.35; color: rgba(245, 241, 232, 0.88); }
.strip svg { width: 22px; height: 22px; flex: none; color: var(--sun); }
@media (min-width: 960px) { .strip-inner { grid-template-columns: repeat(4, auto); justify-content: space-between; } .strip p { font-size: 15px; } }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head-left { text-align: left; margin: 0 0 32px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: 14px; }
.kicker-light { color: var(--sun); }
.section-head h2, .quote-intro h2, .area-section h2 { font-size: clamp(32px, 6.4vw, 52px); text-wrap: balance; }
.section-head p:not(.kicker) { margin-top: 16px; color: var(--ink-soft); font-size: 17px; text-wrap: pretty; }
@media (min-width: 960px) { .section { padding: 112px 0; } .section-head { margin-bottom: 56px; } }

/* ---------- calculator ---------- */
.calc-section { background: linear-gradient(180deg, var(--paper) 0%, var(--sage-2) 100%); }
.calc { display: grid; gap: 20px; }
.calc-inputs { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 30px; box-shadow: var(--shadow); align-content: start; }
.field legend, .field label[for="bill"] { font-weight: 700; font-size: 16px; margin-bottom: 12px; display: block; }
.field-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.field-row label { margin-bottom: 0 !important; }
.bill-out { display: inline-flex; align-items: baseline; gap: 6px; }
.bill-out input {
  width: 8ch; text-align: right; font-family: var(--display); font-size: 30px; font-weight: 500; letter-spacing: -0.02em;
  border: 0; border-bottom: 2px solid var(--line-2); background: transparent; padding: 0 2px; border-radius: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.bill-out input::-webkit-outer-spin-button, .bill-out input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bill-out input:focus { outline: none; border-bottom-color: var(--ink); }
.bill-out input:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }
.bill-out span { font-size: 14px; color: var(--muted); font-weight: 600; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; --fill: 20%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--fill), var(--sage) var(--fill)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--sage); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--sun); border: 4px solid var(--ink); box-shadow: 0 2px 8px rgba(16, 37, 30, 0.3); transition: transform 0.15s; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(243, 198, 75, 0.55); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(243, 198, 75, 0.55); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.hint { font-size: 13px; color: var(--muted); margin-top: 10px; }

.choice-grid { display: grid; gap: 10px; }
.choice-4 { grid-template-columns: repeat(2, 1fr); }
.choice-3 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-4 { grid-template-columns: repeat(4, 1fr); } .choice-3 { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; cursor: pointer; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.choice-box svg { width: 30px; height: 30px; color: var(--ink); margin-bottom: 4px; }
.choice-title { font-weight: 600; font-size: 15px; line-height: 1.25; }
.choice-sub { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.choice:hover .choice-box { border-color: var(--ink-soft); }
.choice input:checked + .choice-box { border-color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }
.choice input:checked + .choice-box .choice-sub { color: var(--ink); font-weight: 600; }
.choice input:focus-visible + .choice-box { outline: 3px solid var(--sun); outline-offset: 2px; }
.choice-compact .choice-box { justify-content: center; min-height: 50px; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper-2); border-radius: 999px; padding: 4px; gap: 4px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 15px; text-align: center; line-height: 1.2; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; color: var(--ink-soft); }
.segmented label:hover span { color: var(--ink); }
.segmented input:checked + span { background: var(--ink); color: var(--paper); box-shadow: 0 2px 6px rgba(16, 37, 30, 0.25); }
.segmented input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 1px; }
.segmented-wrap { border-radius: 18px; grid-template-columns: 1fr; }
.segmented-wrap span { border-radius: 14px; }
@media (min-width: 560px) { .segmented-wrap { grid-template-columns: repeat(3, 1fr); border-radius: 999px; } .segmented-wrap span { border-radius: 999px; } }

.calc-result { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.calc-result::before { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 198, 75, 0.28), transparent 65%); pointer-events: none; }
.result-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); border: 1px solid rgba(243, 198, 75, 0.4); padding: 5px 12px 5px 10px; border-radius: 999px; }
.result-main { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin: 20px 0 8px; }
.result-main > div:first-child { grid-column: 1 / -1; }
.result-main dt { font-size: 13px; color: rgba(245, 241, 232, 0.66); font-weight: 600; }
.result-main dd { margin: 2px 0 0; font-family: var(--display); font-size: clamp(30px, 7vw, 40px); font-weight: 450; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-main .r-kwp dd { font-size: clamp(52px, 13vw, 76px); color: var(--sun); line-height: 1; }
.result-main dd small { font-family: var(--sans); font-size: 15px; font-weight: 600; color: rgba(245, 241, 232, 0.66); letter-spacing: 0; }
.result-main .r-kwp dd small { color: rgba(243, 198, 75, 0.8); font-size: 18px; }

.chart { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(245, 241, 232, 0.14); }
.chart figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: rgba(245, 241, 232, 0.8); margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: rgba(245, 241, 232, 0.66); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.lg-prod { background: var(--sun); }
.lg-cons { height: 3px !important; border-radius: 2px !important; background: #9fd3b6; margin-left: 6px; }
#chart { width: 100%; height: auto; overflow: visible; }
#chart .bar { fill: var(--sun); transition: height 0.45s var(--ease), y 0.45s var(--ease); }
#chart .axis-text { fill: rgba(245, 241, 232, 0.55); font: 600 11px var(--sans); }
#chart .grid { stroke: rgba(245, 241, 232, 0.1); }
#chart .cons { fill: none; stroke: #9fd3b6; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
#chart .cons-dot { fill: var(--ink); stroke: #9fd3b6; stroke-width: 2; }

.result-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 20px; padding: 14px 0; border-top: 1px solid rgba(245, 241, 232, 0.14); border-bottom: 1px solid rgba(245, 241, 232, 0.14); }
.result-sub dt { font-size: 12px; color: rgba(245, 241, 232, 0.6); line-height: 1.3; }
.result-sub dd { margin: 4px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.calc-result .btn-sun:focus-visible { outline-color: var(--paper); }

.method { margin-top: 16px; font-size: 14px; color: rgba(245, 241, 232, 0.8); }
.method summary { cursor: pointer; font-weight: 600; color: var(--paper); list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.method summary::-webkit-details-marker { display: none; }
.method summary::before { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(245, 241, 232, 0.4); font-size: 15px; line-height: 1; transition: transform 0.2s; }
.method[open] summary::before { content: "–"; }
.method ol { list-style: decimal; padding-left: 20px; margin: 10px 0; display: grid; gap: 8px; }
.method strong { color: var(--paper); }
.method p { font-size: 13px; color: rgba(245, 241, 232, 0.6); border-left: 2px solid var(--sun); padding-left: 12px; }

@media (min-width: 960px) {
  .calc { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .calc-inputs { padding: 36px; position: sticky; top: 92px; }
  .calc-result { padding: 36px; }
}

/* ---------- steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: s; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--muted); }
.step-icon { width: 48px; height: 48px; color: var(--ink); margin: 4px 0 6px; }
.step-card h3 { font-size: 24px; }
.step-card p { color: var(--ink-soft); font-size: 15.5px; }
.step-time { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.step-time::before { content: ""; width: 18px; height: 2px; background: var(--sun); border-radius: 2px; }
@media (min-width: 640px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .step-card:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -21px; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 8px); opacity: 0.35; }
}

/* ---------- packages ---------- */
.packages-section { background: var(--paper-2); }
.packages { display: grid; gap: 16px; align-items: stretch; }
.pkg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.pkg h3 { font-size: 28px; }
.pkg-for { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.pkg-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 6px; }
.pkg-amount { font-family: var(--display); font-size: 44px; font-weight: 450; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg-unit { font-weight: 600; color: var(--muted); }
.pkg-spec { font-size: 14px; font-weight: 600; padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.pkg-list { display: grid; gap: 10px; margin: 4px 0 10px; flex: 1; align-content: start; }
.pkg-list li { position: relative; padding-left: 28px; font-size: 15px; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5 9.2 2.6 2.6L13 6.6' fill='none' stroke='%2310251e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.pkg-featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.pkg-featured .pkg-for, .pkg-featured .pkg-unit { color: rgba(245, 241, 232, 0.66); }
.pkg-featured .pkg-spec { background: rgba(245, 241, 232, 0.08); }
.pkg-featured .pkg-list li::before { background-color: var(--sun); }
.pkg-featured .pkg-amount { color: var(--sun); }
.pkg-featured .btn-sun:focus-visible { outline-color: var(--paper); }
.pkg-flag { position: absolute; top: -13px; left: 24px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pkg-note { text-align: center; margin-top: 28px; color: var(--ink-soft); }
.pkg-note a { font-weight: 600; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 959px) { .pkg-featured { margin-top: 10px; } }
@media (min-width: 960px) {
  .packages { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .pkg { padding: 32px; }
  .pkg-featured { transform: translateY(-12px); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 2px; font-family: var(--display); font-size: clamp(19px, 2.4vw, 22px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%2310251e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.2s, border-color 0.2s;
}
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sun); border-color: var(--sun); }
.faq-body { padding: 0 48px 22px 2px; color: var(--ink-soft); }
.faq details[open] .faq-body { animation: faqIn 0.35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; } .section-head-left { position: sticky; top: 100px; } }

/* ---------- quote form ---------- */
.quote-section { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.quote-section::before { content: ""; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(243, 198, 75, 0.16), transparent 65%); pointer-events: none; }
.quote-grid { display: grid; gap: 36px; position: relative; }
.quote-intro > p:not(.kicker) { margin-top: 16px; color: rgba(245, 241, 232, 0.78); font-size: 17px; max-width: 30em; }
.quote-points { display: grid; gap: 10px; margin-top: 24px; }
.quote-points li { position: relative; padding-left: 28px; color: rgba(245, 241, 232, 0.9); font-size: 15.5px; }
.quote-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-4.7' fill='none' stroke='%2310251e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.contact-card { margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(245, 241, 232, 0.16); border-radius: var(--radius-sm); display: inline-block; }
.contact-label { font-size: 13px; color: rgba(245, 241, 232, 0.6); font-weight: 600; }
.contact-line { font-family: var(--display); font-size: 26px; letter-spacing: -0.01em; margin-top: 2px; }
.contact-meta { font-size: 13px; color: rgba(245, 241, 232, 0.6); }

.quote-card { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 24px 20px; box-shadow: var(--shadow-lg); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: none; }
.progress li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.p-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-size: 13px; flex: none; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.progress li.is-current { color: var(--ink); }
.progress li.is-current .p-num { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.progress li.is-done .p-num { background: var(--sun); border-color: var(--sun); color: var(--ink); font-size: 0; }
.progress li.is-done .p-num::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2310251e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.progress-bar { height: 4px; background: var(--paper-2); border-radius: 4px; margin: 14px 0 24px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33.33%; background: var(--ink); border-radius: 4px; transition: width 0.4s var(--ease); }
@media (max-width: 420px) { .p-label { font-size: 12px; } .progress li { gap: 6px; } }

.form-step { display: grid; gap: 18px; }
.form-step.is-entering { animation: stepIn 0.35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } }
.step-title { font-family: var(--display); font-size: clamp(24px, 4vw, 30px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }
.step-title:focus { outline: none; }
.f-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .f-row { grid-template-columns: 1fr 1fr; } }
.f-group { display: grid; gap: 8px; align-content: start; }
.f-label { font-weight: 600; font-size: 15px; display: block; }
.f-sub legend { margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.quote-card input[type="text"], .quote-card input[type="tel"], .quote-card input[type="email"], .quote-card select, .quote-card textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper);
  font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.quote-card textarea { resize: vertical; min-height: 88px; }
.quote-card select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2310251e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.quote-card input:hover, .quote-card select:hover, .quote-card textarea:hover { border-color: var(--ink-soft); }
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { outline: none; border-color: var(--ink); background-color: var(--card); box-shadow: 0 0 0 4px rgba(243, 198, 75, 0.45); }
.quote-card [aria-invalid="true"] { border-color: var(--error) !important; }
.quote-card .choice-grid[aria-invalid="true"] .choice-box, .quote-card .segmented[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--error); }
.f-error { color: var(--error); font-size: 13.5px; font-weight: 600; display: flex; gap: 6px; align-items: flex-start; }
.f-error:empty { display: none; }
.f-error::before { content: "!"; flex: none; width: 17px; height: 17px; border-radius: 50%; background: var(--error); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 2px; }
.f-hint { font-size: 13px; color: var(--sun-deep); }
.f-hint:empty { display: none; }
.checks { display: grid; gap: 8px; }
@media (min-width: 560px) { .checks { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 15px; line-height: 1.4; position: relative; }
.checks .check { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px; background: var(--paper); align-items: center; transition: border-color 0.2s; }
.checks .check:has(input:checked) { border-color: var(--ink); background: var(--card); }
.check input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--ink-soft); border-radius: 6px; background: var(--card); cursor: pointer; display: grid; place-items: center; transition: background-color 0.15s, border-color 0.15s; }
.check input::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23f5f1e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.check-consent { font-size: 14px; color: var(--ink-soft); }
.check-consent input { margin-top: 1px; }

.form-nav { display: flex; gap: 12px; margin-top: 28px; }
.form-nav #btn-next { margin-left: auto; flex: 1 1 auto; }
@media (min-width: 560px) { .form-nav #btn-next { max-width: 280px; } }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; text-align: center; }

.success { text-align: center; padding: 16px 0 4px; }
.success:focus { outline: none; }
.success-icon { width: 72px; height: 72px; margin: 0 auto 18px; animation: pop 0.5s var(--ease); }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } }
.success h3 { font-size: 32px; }
.success > p:not(.form-note) { margin: 10px auto 0; color: var(--ink-soft); max-width: 28em; }
.summary { text-align: left; margin: 24px 0 8px; background: var(--paper); border-radius: var(--radius-sm); padding: 6px 18px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary div:last-child { border-bottom: 0; }
.summary dt { color: var(--muted); flex: none; }
.summary dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.success .btn { margin-top: 12px; }

@media (min-width: 960px) {
  .quote-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
  .quote-intro { position: sticky; top: 110px; }
  .quote-card { padding: 40px; }
}

/* ---------- area ---------- */
.area-grid { display: grid; gap: 36px; align-items: center; }
.area-grid > div > p:not(.kicker) { margin-top: 16px; color: var(--ink-soft); font-size: 17px; }
.area-list { margin-top: 24px; display: grid; gap: 12px; }
.area-list li { padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; color: var(--ink-soft); }
.area-list strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.area-map { margin: 0; }
.area-map svg { width: 100%; height: auto; border-radius: 24px; }
.area-map figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: right; }
@media (min-width: 960px) { .area-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- final CTA ---------- */
.final-cta { padding: 0 0 72px; }
.final-inner { background: radial-gradient(120% 140% at 50% 120%, #fbe59f 0%, var(--sun) 55%); border-radius: 28px; padding: 40px 24px; text-align: center; position: relative; overflow: hidden; }
.final-inner h2 { font-size: clamp(32px, 6vw, 54px); position: relative; }
.final-inner p { margin: 10px 0 24px; font-size: 17px; position: relative; color: var(--ink-2); }
.final-inner .btn { background: var(--ink); color: var(--paper); position: relative; }
.final-inner .btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.final-inner .btn:focus-visible { outline-color: var(--ink); }
@media (min-width: 960px) { .final-cta { padding-bottom: 112px; } .final-inner { padding: 72px 40px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(245, 241, 232, 0.8); padding: 56px 0 96px; font-size: 15px; }
.footer-grid { display: grid; gap: 32px; }
.brand-light { color: var(--paper); }
.brand-light .brand-text span { color: rgba(245, 241, 232, 0.55); }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.footer-h { font-family: var(--sans); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sun); font-weight: 700; margin-bottom: 12px; }
.footer-list { display: grid; gap: 6px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--sun); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(245, 241, 232, 0.14); display: grid; gap: 12px; font-size: 13.5px; color: rgba(245, 241, 232, 0.6); }
.footer-bottom a { color: var(--paper); text-decoration-color: var(--sun); text-underline-offset: 3px; }
.fiction-note strong { color: var(--paper); }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } .footer-bottom { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- demo badge ---------- */
.demo-badge {
  position: fixed; left: 12px; bottom: 12px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border-radius: 999px;
  background: rgba(255, 253, 248, 0.94); color: var(--ink);
  border: 1px solid var(--line-2); box-shadow: 0 6px 20px -8px rgba(16, 37, 30, 0.35);
  font-size: 12.5px; font-weight: 500; text-decoration: none; line-height: 1.2;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.demo-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(16, 37, 30, 0.45); }
.demo-badge strong { font-weight: 700; }
.demo-badge.is-hidden { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s; }
.demo-badge:focus-visible { opacity: 1; visibility: visible; transform: none; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--sun); flex: none; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .pkg-featured[data-reveal].is-in { transform: none; }
@media (min-width: 960px) { .js .pkg-featured[data-reveal].is-in { transform: translateY(-12px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .flow, .glint, .fc-prod, .fc-self { animation: none !important; }
  .glint { opacity: 0; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
