/* wattr.dk — landing page. Uses the same palette and chart idiom as the other site,
   so the two products read as one family. */
:root {
    --ink:#193b31; --muted:#64736a; --paper:#f8f9f3; --line:#dce2d6;
    --green:#224d3c; --lime:#d5eca9; --serif:Georgia,'Times New Roman',serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.65 'Local Sans',Arial,Helvetica,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
p { margin:0 0 1.3rem; color:var(--muted); }
h1,h2,h3 { line-height:1.1; font-weight:500; letter-spacing:-.045em; margin:0; }
h1 { font-size:clamp(2.6rem,5vw,4.4rem); letter-spacing:-.055em; }
h2 { font-size:clamp(1.8rem,3vw,2.6rem); }
h3 { font-size:1.2rem; letter-spacing:-.02em; }
.container { max-width:1180px; width:calc(100% - 80px); margin-inline:auto; }
.eyebrow { display:flex; align-items:center; gap:10px; font-size:.68rem; letter-spacing:.16em; font-weight:700; margin-bottom:22px; color:#5d7357; }
.live-dot { width:7px; height:7px; background:#7e9e54; border-radius:50%; box-shadow:0 0 0 4px #e6eddc; }
.serif-accent { font-family:var(--serif); font-style:italic; font-weight:400; color:#64804e; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; background:var(--green); color:#fff; border:1px solid var(--green); border-radius:6px; font-size:.85rem; font-weight:600; padding:14px 22px; transition:background .18s,transform .18s; }
@media (hover: hover) and (pointer: fine) { .button:hover { background:#163b2c; transform:translateY(-1px); } }
.button.light { background:var(--lime); color:var(--ink); border-color:var(--lime); }
.text-link { display:inline-flex; align-items:center; gap:10px; font-size:.85rem; font-weight:600; border-bottom:1px solid #bac8ad; padding-bottom:4px; }

/* Header */
header { border-bottom:1px solid var(--line); background:var(--paper); position:sticky; top:0; z-index:20; }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:24px; height:82px; }
.brand-logo { height:26px; width:auto; display:block; }
nav { display:flex; align-items:center; gap:26px; font-size:.83rem; color:#4d6152; }
@media (hover: hover) and (pointer: fine) { nav a:hover { color:#789553; } }
nav .button { color:#fff; padding:11px 18px; font-size:.8rem; }

/* Hero */
.hero { display:grid; grid-template-columns:1.02fr 1fr; gap:56px; align-items:center; padding-block:72px 78px; }
.hero p.lead { font-size:1.02rem; line-height:1.85; max-width:32rem; margin:26px 0 30px; }
.hero h1 { margin-bottom:0; }
.actions { display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.hero-visual { border-radius:13px; background:#e9eee1; border:1px solid #dce4d1; padding:22px 22px 16px; }

/* The one graph, in the same style as the other site: bars for the day's price,
   a strip for what the battery does, and a legend that says it plainly. */
.visual-top { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#687b5d; }
.mini-label { font-size:.6rem; letter-spacing:.11em; font-weight:700; line-height:1.5; }
.illustration-tag { font-size:.62rem; background:#f8faf2; border:1px solid #d6dfcc; border-radius:50px; padding:3px 10px; white-space:nowrap; }
.price-card { background:#fbfcf7; border-radius:9px; padding:18px 18px 14px; border:1px solid #e2e8d9; margin-top:14px; }
.price-card h3 { font-size:1rem; margin-bottom:4px; }
.price-bars { height:104px; display:flex; align-items:flex-end; justify-content:space-between; gap:4px; margin-top:18px; border-bottom:1px solid #dce4d3;
    background:repeating-linear-gradient(to top,transparent 0,transparent 26px,#ecf0e5 26px,#ecf0e5 27px); }
.bar { flex:1; background:#bed09e; border-radius:3px 3px 0 0; }
.bar.cheap { background:#dbe7c9; }
.bar.peak { background:#32583f; }
.chart-times { display:flex; justify-content:space-between; color:#829078; font-size:.6rem; margin-top:7px; }
.soc-strip { display:flex; gap:4px; margin-top:14px; }
.soc-strip span { flex:1; height:8px; border-radius:2px; background:#dde4d2; }
.soc-strip span.charge { background:#9dc06e; }
.soc-strip span.use { background:#32583f; }
.soc-label { display:flex; justify-content:space-between; font-size:.6rem; color:#718065; margin-top:7px; }
.chart-legend { display:flex; flex-wrap:wrap; gap:6px 16px; font-size:.62rem; margin-top:16px; color:#718065; }
.chart-legend > span { display:flex; align-items:center; gap:6px; }
.legend-dot { width:7px; height:7px; border-radius:2px; background:#32583f; display:inline-block; }
.legend-dot.pale { background:#d0dfb9; }

/* Sections */
.section { padding-block:72px; }
.section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:50px; margin-bottom:38px; }
.section-heading p { max-width:34rem; font-size:.92rem; margin-bottom:0; }
.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card { border:1px solid var(--line); border-radius:10px; padding:26px; background:#fbfcf7; }
.feature-icon { display:flex; width:42px; height:42px; align-items:center; justify-content:center; background:#e9efdf; border-radius:11px; font-size:1.3rem; color:#69824f; margin-bottom:24px; }
.card-number { display:block; font-size:.62rem; letter-spacing:.12em; color:#7d8b70; font-weight:600; margin-bottom:12px; }
.feature-card p { font-size:.87rem; margin:0; line-height:1.8; }
.split { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.check-list { list-style:none; margin:0; font-size:.9rem; }
.check-list li { margin:14px 0; color:var(--muted); }
.check-list li:before { content:'✓'; margin-right:10px; color:#6c8b47; }
.check-list b { color:var(--ink); font-weight:600; }
.steps { list-style:none; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.steps li { background:#eef2e6; border:1px solid #dfe6d4; border-radius:10px; padding:24px; }
.steps li > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--green); color:var(--paper); font-size:.85rem; margin-bottom:18px; }
.steps h3 { font-size:1.05rem; margin-bottom:10px; }
.steps p { font-size:.85rem; margin:0; }
.callout { background:var(--ink); color:#f8fbee; border-radius:12px; padding:var(--panel-padding-block) var(--panel-padding-inline); display:grid; grid-template-columns:1.1fr auto; gap:40px; align-items:center; }
.callout h2 { color:#f8fbee; margin-bottom:14px; }
.callout p { color:#b9cabb; font-size:.9rem; margin:0; max-width:38rem; }
.callout .button.light { white-space:nowrap; }

footer { border-top:1px solid var(--line); background:#eff2e9; padding-top:34px; margin-top:24px; }
.footer-main { display:flex; justify-content:space-between; gap:30px; padding-bottom:26px; }
.footer-main p { font-size:.78rem; margin:12px 0 0; max-width:30rem; }
.footer-links { display:flex; gap:22px; align-items:center; font-size:.8rem; color:#57694f; }
.footer-bottom { border-top:1px solid #dce3d5; padding-block:16px; font-size:.66rem; color:#7f8a74; display:flex; justify-content:space-between; gap:18px; }
code { background:#eef1e8; padding:.05rem .3rem; border-radius:4px; }

@media (max-width:900px) {
    .container { width:calc(100% - 44px); }
    .hero { grid-template-columns:1fr; gap:36px; padding-block:44px 56px; }
    .split { grid-template-columns:1fr; gap:32px; }
    .feature-grid, .steps { grid-template-columns:1fr; gap:14px; }
    .section { padding-block:52px; }
    .section-heading { flex-direction:column; align-items:flex-start; gap:18px; }
    .callout { grid-template-columns:1fr; padding:var(--panel-padding-block) var(--panel-padding-inline); }
    .footer-main { flex-direction:column; gap:18px; }
    .footer-bottom { flex-direction:column; gap:6px; }
    /* The logo gets its own row and the navigation wraps underneath it, rather than
       being squeezed into a column beside it. */
    .header-inner { flex-wrap:wrap; height:auto; padding-block:14px; gap:12px; }
    nav { width:100%; flex-wrap:wrap; gap:12px 18px; font-size:.8rem; }
    nav .button { padding:10px 15px; }
    /* Two rows of header are useful at the top of the page but not worth keeping in
       front of the content while scrolling on a phone. */
    header { position:static; }
}

/* The hero illustration: one bar an hour, exactly like "what the plan does" on the planning
   page. Height is the price, colour is the action — panels first, because a battery on its own is
   not what anyone has. */
.bar-row { display:flex; align-items:flex-end; gap:3px; width:100%; height:96px; }
.bar-row .bar { flex:1; min-width:3px; border-radius:2px 2px 0 0; background:#cfd9c2; }
.bar-row .bar.charge { background:#e8c25f; }
.bar-row .bar.grid-charge { background:#c1492e; }
.bar-row .bar.export { background:#4f8a4f; }
/* "Hviler" and "bruger af batteriet" are the same thing to a reader: the house is neither
   buying nor selling in that hour. One colour, one name — the one the plan calls it. */
.bar-row .bar.house { background:#cfd9c2; }
.legend-dot.solar { background:#e8c25f; }
.legend-dot.export { background:#4f8a4f; }
.legend-dot.house { background:#cfd9c2; }
.legend-dot.grid { background:#c1492e; }
/* The contact form, which exists so that no address is printed on a public page. */
.contact-form { display:grid; gap:.15rem; max-width:34rem; margin-top:1rem; }
.contact-form label { font-size:.8rem; color:#63705f; margin-top:.6rem; }
.contact-form input, .contact-form textarea, .contact-form select { width:100%; padding:.55rem .7rem; font:inherit;
  border:1px solid #b9c4ae; border-radius:6px; background:#fff; color:#1d2a1f; }
.contact-form button { margin-top:.9rem; padding:.6rem 1.2rem; font:inherit; font-weight:600;
  color:#fff; background:#2f5d3a; border:1px solid #2f5d3a; border-radius:6px; cursor:pointer; }
.contact-form .form-note { font-size:.75rem; color:#63705f; margin:.5rem 0 0; }
.contact-form .form-done { border-left:3px solid #2f5d3a; background:#eef4e8; padding:.6rem .8rem; border-radius:5px; }
.contact-form .form-error { border-left:3px solid #963b25; background:#fdf3ee; padding:.6rem .8rem; border-radius:5px; color:#7a3320; }
.contact-form .validation-summary-valid { display:none; }
.honeypot { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

body { padding-left:env(safe-area-inset-left, 0px); padding-right:env(safe-area-inset-right, 0px); }
footer { padding-bottom:env(safe-area-inset-bottom, 0px); }
@media (max-width:600px) {
  .contact-form input, .contact-form textarea, .contact-form select { font-size:16px; }
}

nav .login-link { color:var(--ink); font-weight:600; padding:.5rem .75rem; border:1px solid var(--line); border-radius:6px; white-space:nowrap; }

/* The screen is a capture of the fictional demo, inside a drawn phone frame. */
.demo-phone-link { display:flex; flex-direction:column; align-items:center; gap:20px; }
.demo-phone { position:relative; width:min(100%,306px); padding:10px; border-radius:42px; background:#1b2722; border:2px solid #53675c; box-shadow:0 26px 65px #193b3124, 0 5px 12px #193b3118; transform:rotate(3deg); }
.demo-phone::before { content:''; position:absolute; z-index:1; top:14px; left:50%; width:84px; height:19px; transform:translateX(-50%); border-radius:20px; background:#1b2722; }
.demo-phone::after { content:''; position:absolute; bottom:16px; left:50%; width:90px; height:4px; transform:translateX(-50%); border-radius:10px; background:#1b2722; }
.demo-phone img { display:block; width:100%; height:auto; border-radius:30px; background:#fbfcf8; }
.phone-caption { font-size:.85rem; font-weight:600; color:var(--ink); }
@media (max-width:600px) { .demo-phone { width:270px; transform:rotate(0deg); } }

.price-preview { padding-bottom:24px; }

.contact-page { max-width:46rem; }
.contact-page h1 { margin-bottom:1rem; }
.contact-form fieldset { margin:.8rem 0; border:1px solid var(--line); border-radius:8px; padding:1rem; min-width:0; }
.contact-form fieldset label { display:block; }
.contact-form legend { font-size:.9rem; padding-inline:.3rem; }
.contact-form [hidden] { display:none; }
.contact-info { background:#eef4e8; padding:1rem; border-radius:8px; margin-top:.8rem; }
.contact-info p { font-size:.9rem; margin-bottom:.6rem; }
.contact-info p:last-child, .form-error p:last-child { margin-bottom:0; }

.demo-phone-carousel { min-width:0; }
.phone-stage { position:relative; padding:0 30px; }
.phone-captions { margin-top:20px; text-align:center; }
.demo-phone-carousel [hidden] { display:none; }
.phone-arrow { position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; display:grid; place-items:center;
  border:0; border-radius:50%; background:var(--green); color:#fff; cursor:pointer; transition:background .18s; }
@media (hover: hover) and (pointer: fine) { .phone-arrow:hover { background:#64804e; } }
.phone-arrow:focus-visible { outline:3px solid #64804e; outline-offset:3px; }
.phone-previous { left:0; }
.phone-next { right:0; }
.phone-position { display:block; text-align:center; margin-top:8px; color:var(--muted); font-size:.75rem; }
@media (max-width:600px) {
  .phone-stage { padding-inline:20px; }
  .demo-phone-carousel .demo-phone { width:min(100%,270px); }
  .phone-arrow { width:36px; height:36px; }
}

/* Product and subscription choices use the existing quiet green palette. */
.sales-intro { max-width:960px; }
.sales-intro .lead { font-size:1.1rem; max-width:44rem; margin:28px 0; }
.sales-benefits { padding-top:0; }
.licence-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.licence-card { grid-row:span 7; grid-template-rows:subgrid; row-gap:0; border:1px solid var(--line); border-radius:14px; padding:var(--panel-padding-block) var(--panel-padding-inline); background:#fbfcf7; display:grid; align-items:start; }
.licence-card-loan { background:#eaf0e0; }
.licence-card h3 { font-size:1.5rem; margin:18px 0; }
.licence-price { color:var(--ink); font-size:3.8rem; letter-spacing:-.05em; margin:0; line-height:1.2; }
.licence-price span { font-size:1.1rem; letter-spacing:0; }
.licence-card ul { padding-left:20px; margin:4px 0 28px; color:var(--muted); }
.licence-card .button { margin-top:8px; justify-self:start; }
.licence-return { font-size:.85rem; margin:24px 0 0; }
.sales-note { font-size:.88rem; margin-top:24px; max-width:55rem; }
.sales-terms { max-width:850px; }
.sales-terms h2 { font-size:1.5rem; margin:30px 0 12px; }
.sales-home-link h2 { margin-bottom:18px; }
@media(max-width:700px) { .licence-grid { grid-template-columns:1fr; } .licence-card { padding:var(--panel-padding-block) var(--panel-padding-inline); } .sales-intro h1 { font-size:2.5rem; } }

.licence-card-share { background:#193b31; color:#fff; }
.licence-card-share p, .licence-card-share ul { color:#d9e4d6; }
.licence-card-share .licence-price { color:white; }
.licence-card-share .button { background:#d5eca9; color:#193b31; }
@media(max-width:950px) { .licence-grid { grid-template-columns:1fr; } }

.ev-only-offer { display:grid; grid-template-columns:2fr 1fr; gap:40px; align-items:center; border-top:1px solid var(--line); }
.ev-only-offer h2 { margin-bottom:18px; } .ev-only-offer .licence-price { font-size:3rem; margin-bottom:20px; }
@media(max-width:700px) { .ev-only-offer { grid-template-columns:1fr; gap:16px; } }

/* Every top-level content section gets inner gutters, including future pages.
   Its existing vertical rhythm is independent of the shared surface spacing. */
main > section.container {
    padding-inline:var(--panel-padding-inline);
}

.price-preview > .hero-visual { border:0; }

.install-intro { margin-top:20px; }
.install-steps { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; padding:0; margin:30px 0 0; }
.install-steps li { position:relative; min-width:0; padding:var(--panel-padding-block) var(--panel-padding-inline); border-radius:14px; background:var(--panel,#edf2e5); }
.install-number { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:var(--green); color:var(--paper); font-weight:700; }
.install-steps img { display:block; width:100%; max-width:280px; height:auto; margin:8px auto 18px; }
.install-steps h3 { font-weight:600; margin-bottom:12px; }
.install-steps p { margin:0; font-size:.9rem; }
.compatibility-columns { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:56px; margin-top:36px; }
.compatibility-columns h3 { font-weight:600; margin-bottom:18px; }
.compatibility-columns p { font-size:.9rem; }
.inverter-candidates { display:grid; gap:8px; }
.inverter-candidate { border-bottom:1px solid var(--line); padding:10px 0; }
.inverter-candidate summary { display:flex; align-items:center; gap:10px; cursor:pointer; font-size:.9rem; font-weight:600; list-style:none; }
.inverter-candidate summary::-webkit-details-marker { display:none; }
.inverter-candidate summary::before { content:'+'; color:var(--muted); width:12px; flex:none; }
.inverter-candidate[open] summary::before { content:'−'; }
.inverter-candidate summary:focus-visible { outline:3px solid var(--green); outline-offset:4px; border-radius:4px; }
.inverter-candidate summary > span:first-of-type { flex:1; }
.inverter-candidate p { margin:12px 0 4px 22px; overflow-wrap:anywhere; }
.compatibility-connection { display:block; margin-left:22px; font-size:.75rem; color:var(--muted); }
.compatibility-badge { display:inline-block; border:1px solid var(--line); border-radius:30px; padding:3px 9px; font-size:.65rem; font-weight:600; white-space:nowrap; }
.compatibility-badge.experimental { background:#f6edcf; color:#765600; border-color:#dfd0a4; }
.compatibility-badge.supported { background:#e8f0df; color:#224d3c; margin-bottom:14px; }
.car-brand-list { list-style:none; display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:20px 0; }
.car-brand-list li { padding:5px 12px; border:1px solid var(--line); border-radius:6px; font-size:.85rem; color:var(--ink); }
.compatibility-columns .compatibility-note { font-size:.8rem; }
.compatibility-contact { padding-top:28px; margin-top:28px; border-top:1px solid var(--line); }
html[data-theme="dark"] .compatibility-badge.experimental { background:#42371d; border-color:#796738; color:#f2d58f; }
html[data-theme="dark"] .compatibility-badge.supported { background:#263e30; color:#a9e2bb; }
@media(max-width:900px) { .compatibility-columns { grid-template-columns:1fr; gap:40px; } }
@media(max-width:700px) { .install-steps { grid-template-columns:1fr; gap:16px; } .install-steps img { max-width:250px; } }

.compatibility-chargers { margin-top: 36px; }
.more-chargers { margin-top: 16px; }
.more-chargers > summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.more-chargers > summary span { color: var(--muted); font-weight: 400; }
.more-chargers > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.ha-support { display:flex; align-items:center; justify-content:space-between; gap:28px; padding-block:24px; }
.ha-support-copy { max-width:660px; }
.ha-support-copy h3 { margin-bottom:12px; }
.ha-support-copy p { margin:0; }
.ha-support > .text-link { flex-shrink:0; }
@media(max-width:700px) { .ha-support { align-items:flex-start; flex-direction:column; gap:20px; } }

/* Complete installations lead the price page; existing-system subscriptions follow. */
.package-intro { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:36px; margin-bottom:38px; }
.package-intro h1 { font-size:clamp(2rem,4vw,3.3rem); }
.package-intro p { margin:22px 0 0; }
.package-intro img { display:block; width:100%; height:auto; border-radius:14px; }
.package-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.package-card { min-width:0; display:grid; grid-row:span 6; grid-template-rows:subgrid; align-items:start; gap:0; border:1px solid var(--line); border-radius:14px; background:var(--panel,#fbfcf7); padding:var(--panel-padding-block) var(--panel-padding-inline); }
.package-illustration { margin:0 0 18px; min-width:0; }
.package-illustration img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; border-radius:8px; }
.package-illustration figcaption { color:var(--muted); font-size:.65rem; line-height:1.4; margin-top:4px; }
.package-card-featured { border:2px solid var(--green); }
.package-card h2 { font-size:1.5rem; margin-bottom:16px; }
.package-size { font-size:1.1rem; font-weight:600; color:var(--ink); margin-bottom:12px; }
.package-card ul { margin:0 0 24px; padding-left:20px; color:var(--muted); }
.package-price { margin-bottom:20px; }
.package-amount { font-size:clamp(2rem,3.8vw,3.1rem); letter-spacing:-.04em; line-height:1.2; color:var(--ink); margin:0 0 8px; white-space:nowrap; }
.package-amount span { font-size:1.1rem; letter-spacing:0; }
.package-quote { font-size:2rem; }
.package-price-note { font-size:.8rem; margin:0; }
.package-card .button { align-self:end; justify-self:start; }
@media(max-width:950px) { .package-grid { grid-template-columns:1fr; } .package-card { grid-row:auto; grid-template-rows:auto; } }
@media(max-width:700px) { .package-intro { grid-template-columns:1fr; gap:24px; } }

.solar-packages .visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

.existing-system-offers { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:950px) { .existing-system-offers { grid-template-columns:1fr; } }
