/* Deconstruct Sun — site styles. Colors come from the app's theme.ts. */
:root {
  --bg: #fcfbf7; --card: #f2f0e6; --well: #e6e3d5; --border: #dedbc9;
  --text: #232323; --sub: #6f7462; --accent: #6c7a45; --accent-ink: #4f5c2c;
  --tint: #e9edcc; --brand: #c4d283; --brand-deep: #9fb15f; --ink: #2a2a2a;
  --amber: #f59e0b; --amber-dark: #b45309; --rust: #b7410e; --chart: #eef1db;
  --grid: #d5d9bb; --skyline: #5c6350; --muted-arc: #a5ab94;
  --shadow: 0 10px 28px rgba(92, 96, 73, .14), 0 2px 6px rgba(92, 96, 73, .08);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .7);
  --radius: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1b18; --card: #25251f; --well: #1f1f1a; --border: #383830;
    --text: #ecead9; --sub: #a9ac99; --accent: #b3c06d; --accent-ink: #d5df9c;
    --tint: #33361f; --ink: #121210; --chart: #23251b; --grid: #3a3d2c; --skyline: #6d745d;
    --muted-arc: #7d826c; --amber-dark: #f5b041; --rust: #e0703c;
    --shadow: 0 10px 28px rgba(0, 0, 0, .35); --rim: inset 0 1px 0 rgba(255, 255, 255, .04);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sub { color: var(--sub); }
.small { font-size: .88rem; }
.kicker { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6em; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--card); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.01em; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 6px rgba(92, 96, 73, .25); }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-size: .93rem; font-weight: 600; padding: 7px 11px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { background: var(--tint); color: var(--accent-ink); }
.nav .btn { margin-left: 6px; padding: 8px 16px; font-size: .9rem; }
.menu-btn { display: none; margin-left: auto; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font: inherit; font-weight: 700; color: var(--text); }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--border); padding: 10px 16px 16px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; border: 0; border-radius: 999px; padding: 13px 22px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(79, 92, 44, .28), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .15s, box-shadow .15s; }
@media (prefers-color-scheme: dark) { .btn { color: #1b1b18; } }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(79, 92, 44, .32); }
@media (prefers-color-scheme: dark) { .btn:hover { color: #1b1b18; } }
.btn.ghost { background: var(--card); color: var(--text); box-shadow: var(--shadow), var(--rim); }
.btn.ghost:hover { color: var(--accent-ink); }
.badge img { height: 54px; width: auto; display: block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.price-note { font-size: .9rem; color: var(--sub); }
.stars { color: var(--amber); letter-spacing: 1px; }

/* hero */
.hero { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #232323; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle at 38% 33%, #fde08a, #f59e0b 55%, #d97d06); opacity: .22; filter: blur(2px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero h1 { color: #1f2118; }
.hero .lede { font-size: 1.2rem; color: #2d3222; max-width: 34em; }
.hero .price-note { color: #3f4536; }
.hero .shot { justify-self: center; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 44px; } .hero .shot { max-width: 300px; } }
.phone { border-radius: 34px; box-shadow: 0 30px 60px rgba(40, 45, 28, .35), 0 0 0 7px #2a2a2a; display: block; width: 100%; max-width: 330px; height: auto; background: #a9b293; }
.page-hero { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #1f2118; padding: 46px 0 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); color: #1f2118; }
.page-hero p { color: #2d3222; font-size: 1.12rem; max-width: 46em; margin: 0; }
.page-hero .crumbs, .page-hero .crumbs a { color: #3f4536; }

/* sections */
section.band { padding: 72px 0; }
section.band.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow), var(--rim); border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.alt .card { background: var(--bg); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 46px; height: 46px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; box-shadow: var(--shadow); display: block; width: 100%; height: auto; }
.shots figcaption { font-size: .88rem; color: var(--sub); margin-top: 10px; text-align: center; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(5, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; } .shots figure { scroll-snap-align: center; } }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 28px; position: relative; margin: 8px 0; }
ul.check li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: inset 0 0 0 3px var(--accent); }
.pricing .card { display: flex; flex-direction: column; }
.pricing .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 2px; }
.pricing .pro { background: var(--ink); color: #ecead9; }
.pricing .pro h3, .pricing .pro .price { color: var(--brand); }
.pricing .pro .sub { color: #b8bba8; }
.pricing .pro ul.check li::before { background: var(--ink); box-shadow: inset 0 0 0 3px var(--brand); }
.quote { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; max-width: 36em; margin: 0 auto; }
.light-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.light-scale div { border-radius: 18px; padding: 18px 16px; background: var(--card); box-shadow: var(--shadow), var(--rim); }
.light-scale b { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.light-scale .full { background: linear-gradient(160deg, #fde08a, #f59e0b); color: #2a2a2a; }
.light-scale .psun { background: linear-gradient(160deg, #f8ecb6, #f2c25a); color: #2a2a2a; }
.light-scale .pshade { background: linear-gradient(160deg, #e7ead2, #c4d283); color: #2a2a2a; }
.light-scale .shade { background: linear-gradient(160deg, #8b927a, #5c6350); color: #fff; }
@media (max-width: 700px) { .light-scale { grid-template-columns: repeat(2, 1fr); } }

/* tools */
.tool { background: var(--card); border-radius: 28px; padding: 26px; box-shadow: var(--shadow), var(--rim); }
.loc { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.loc input { flex: 1 1 240px; min-width: 0; font: inherit; font-size: 1.05rem; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg); color: var(--text); box-shadow: inset 0 2px 4px rgba(92, 96, 73, .1); }
.loc input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 1px; }
.loc input[type=date] { flex: 0 1 190px; }
.suggest { position: absolute; z-index: 10; top: 58px; left: 0; right: 0; max-width: 560px; list-style: none; margin: 0; padding: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
.suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.suggest li[aria-selected=true], .suggest li:hover { background: var(--tint); }
.suggest .z { float: right; color: var(--sub); font-size: .88rem; }
.tool-msg { margin: 12px 2px 0; color: var(--sub); font-size: .95rem; min-height: 1.5em; }
.tool-msg.err { color: var(--rust); }
.results { margin-top: 22px; }
.results[hidden] { display: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--bg); border-radius: 18px; padding: 16px; border: 1px solid var(--border); }
.stat .l { font-size: .82rem; color: var(--sub); font-weight: 600; }
.stat .v { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.stat .v.sun { color: var(--amber-dark); }
.stat .d { font-size: .82rem; color: var(--sub); }
.zone-big { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.zone-chip { font-size: 3.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; padding: 18px 26px; border-radius: 24px; color: #232323; box-shadow: var(--shadow); }
.chart { background: var(--chart); border-radius: 20px; padding: 10px; border: 1px solid var(--border); }
.chart svg { display: block; width: 100%; height: auto; }
.chart text { fill: var(--sub); font-size: 11px; font-family: inherit; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--sub); margin: 10px 4px 0; }
.legend i { display: inline-block; width: 16px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.callout { background: var(--ink); color: #ecead9; border-radius: 24px; padding: 24px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.callout h3 { color: var(--brand); margin-bottom: .2em; }
.callout p { margin: 0; color: #cfd1c2; max-width: 40em; }
.callout .btn { background: var(--brand); color: #1f2118; }
.disclaimer { font-size: .82rem; color: var(--sub); border-left: 3px solid var(--brand); padding: 4px 0 4px 12px; margin-top: 14px; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--bg); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--sub); background: var(--card); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.num { font-variant-numeric: tabular-nums; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.bar { height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--amber), #fde08a); }

/* lists of places */
.places { columns: 4 190px; column-gap: 24px; padding: 0; list-style: none; margin: 0; }
.places li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 8px; }
.places a { text-decoration: none; font-weight: 600; }
.places .z { color: var(--sub); font-size: .88rem; white-space: nowrap; }
.map { position: relative; }
.map svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.map a:hover circle { fill: var(--accent); }
.map circle { fill: #232323; stroke: #fff; stroke-width: 1.5; }
.map text { font-size: 12px; font-weight: 700; fill: #232323; paint-order: stroke; stroke: rgba(255, 255, 255, .85); stroke-width: 3px; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.zone-legend span { font-size: .8rem; font-weight: 700; padding: 3px 9px; border-radius: 8px; color: #232323; }

/* faq + prose */
.faq details { background: var(--card); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--rim); border: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > *:not(summary) { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.crumbs { font-size: .88rem; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.crumbs span { opacity: .6; margin: 0 6px; }

/* footer */
footer.site { background: var(--ink); color: #cfd1c2; padding: 56px 0 34px; margin-top: 0; }
footer.site a { color: #ecead9; text-decoration: none; }
footer.site a:hover { color: var(--brand); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: var(--brand); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 7px 0; font-size: .95rem; }
footer.site .fine { border-top: 1px solid #3a3a37; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #9a9c8e; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.app-band { background: linear-gradient(135deg, var(--brand), var(--brand-deep)); color: #1f2118; padding: 56px 0; }
.app-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.app-band h2 { margin: 0 0 .2em; color: #1f2118; }
.app-band p { margin: 0; color: #2d3222; }
.app-band img.icon-lg { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 8px 20px rgba(40, 45, 28, .3); }

/* Let grid columns shrink below their content (wide tables scroll inside .table-wrap). */
.grid > *, .split > *, .hero .wrap > *, .stats > * { min-width: 0; }

/* Click-to-play YouTube video */
.video { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #2a2a2a; box-shadow: var(--shadow); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(20, 22, 15, .72); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform .15s, background .15s; }
.video .play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video:hover .play, .video:focus-visible .play { transform: scale(1.08); background: #f59e0b; }
.video-cap { font-size: .92rem; color: var(--sub); margin: 12px 2px 0; }
.video-cap strong { color: var(--text); font-weight: 600; }
