/* Sunmere Solar (a sample business for the Askmark demo). Fonts: Fraunces and Figtree, SIL Open Font License. */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-opsz.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --bg: #fbf7f0;
  --sand: #f3e8d6;
  --ink: #2a2119;
  --ink-2: #6a5c4e;
  --sun: #e08a1e;
  --sun-deep: #9a5508;
  --pine: #23402f;
  --pine-ink: #f4eee3;
  --line: #e7dac6;
  --white: #fff;
  --head: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1280px;
  --r-card: 20px;
  --r-ctl: 10px;
}
* { box-sizing: border-box; }
html { overflow-y: scroll; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a[href], button, summary, label[for] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sun-deep); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Demo strip, top bar, header */
.demo-strip { background: var(--ink); color: var(--pine-ink); font-size: 13px; }
.demo-strip .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; text-align: center; }
.demo-strip b { color: #f7d9a8; font-weight: 700; }
.demo-strip a { color: #f7d9a8; font-weight: 600; text-underline-offset: 3px; }
.topbar { background: var(--pine); color: var(--pine-ink); font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar a { text-decoration: none; }
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 79px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand .name { display: block; font-family: var(--head); font-weight: 600; font-size: 21px; line-height: 1; }
.brand .sub { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-2); margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.header-phone { font-weight: 700; text-decoration: none; margin-left: 24px; white-space: nowrap; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: var(--sand); }
.menu nav { position: absolute; right: 0; top: 52px; width: min(300px, calc(100vw - 40px)); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(42, 33, 25, 0.14); display: grid; }
.menu nav a { padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.menu nav a:hover { background: var(--sand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-ctl); border: 1.5px solid var(--sun); background: var(--sun); color: var(--ink); font: 700 16px/1 var(--body); text-decoration: none; white-space: nowrap; }
.btn:hover { background: #cf7a10; border-color: #cf7a10; }
.btn.outline { background: transparent; border-color: var(--ink); }
.btn.outline:hover { background: #fcefd9; border-color: var(--sun); color: var(--sun-deep); }
.btn.light { background: transparent; color: var(--pine-ink); border-color: var(--pine-ink); }
.btn.light:hover { background: rgba(244, 238, 227, 0.12); }
.link { display: inline-flex; gap: 6px; align-items: center; color: var(--sun-deep); font-weight: 700; text-decoration: none; font-size: 15px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Home: hero */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sun-deep); margin-bottom: 14px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 56px); }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 600px; }
.note { display: flex; gap: 14px; align-items: flex-start; background: var(--sand); border-radius: 14px; padding: 16px 18px; margin-top: 24px; font-weight: 500; max-width: 600px; }
.note .i { color: var(--sun-deep); flex: none; margin-top: 3px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.photo { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 616 / 500; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; left: 24px; bottom: 36px; display: flex; gap: 12px; align-items: center; background: var(--white); border-radius: 14px; padding: 12px 18px 12px 12px; box-shadow: 0 10px 30px rgba(42, 33, 25, 0.18); }
.float .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; color: var(--ink); flex: none; }
.float b { display: block; font-size: 15px; }
.float small { display: block; font-size: 13px; color: var(--ink-2); }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding: 22px 32px; display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; max-width: var(--wrap); }
.trust li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 500; }
.trust .i { color: var(--sun-deep); }

/* Home: sections */
.section { padding: 72px 0; }
.section.sand { background: var(--sand); }
.section.white { background: var(--white); }
.section.flush { padding-top: 0; }
.more { margin-top: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head h2, h2.big { font-size: clamp(30px, 3.2vw, 40px); }
.section-head p { color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.card .pic { aspect-ratio: 350 / 205; overflow: hidden; background: var(--sand); }
.card .pic img, .card .pic svg { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 26px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .price { color: var(--ink); font-weight: 700; font-size: 15px; }
.card .link { margin-top: auto; padding-top: 6px; }
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.how .drawing { border-radius: var(--r-card); overflow: hidden; }
.how .lead { color: var(--ink-2); margin-top: 16px; font-size: 17px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps .n { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: var(--pine); color: var(--pine-ink); display: grid; place-items: center; font: 600 18px/1 var(--head); }
.steps b { font-size: 18px; }
.steps .when { color: var(--sun-deep); font-weight: 700; font-size: 14px; text-align: right; }
.steps p { grid-column: 2 / span 2; color: var(--ink-2); font-size: 15px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 36px; }
.why .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--sand); color: var(--sun-deep); display: grid; place-items: center; margin-bottom: 18px; }
.why h3 { font-family: var(--body); font-size: 18px; font-weight: 700; }
.why p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.costs { display: grid; grid-template-columns: 0.8fr 1.1fr; gap: 56px; align-items: start; }
.costs .lead { color: var(--ink-2); margin-top: 16px; }
.table-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { background: var(--sand); text-align: left; font-weight: 700; font-size: 14px; padding: 14px 20px; }
td { padding: 16px 20px; border-top: 1px solid var(--line); }
td:first-child { font-weight: 700; }
td:last-child, th:last-child { text-align: right; }
td:last-child { font-weight: 700; }
td:nth-child(2) { color: var(--ink-2); }
.table-note { border-top: 1px solid var(--line); padding: 14px 20px; color: var(--ink-2); font-size: 14px; }
.faq { display: grid; grid-template-columns: 0.75fr 1.6fr; gap: 64px; }
.faq .aside p { color: var(--ink-2); margin-top: 16px; }
details.q { border-bottom: 1px solid var(--line); }
details.q summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 17px; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary .i { flex: none; transition: transform 0.15s; }
details.q[open] summary .i { transform: rotate(45deg); }
details.q p { color: var(--ink-2); padding: 0 0 20px; }
.cta { background: var(--pine); color: var(--pine-ink); padding: 64px 0; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 3.2vw, 40px); }
.cta p { margin-top: 12px; max-width: 620px; font-size: 17px; opacity: 0.92; }
.cta .actions { margin: 0; align-items: center; }
.cta .call { font-weight: 700; text-decoration: none; }

/* Inner pages */
.crumbs { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; padding-top: 40px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; padding-bottom: 80px; }
.page h1 { font-size: clamp(36px, 4.4vw, 56px); margin: 14px 0 18px; }
.prose { max-width: 760px; font-size: 17px; }
.prose > p:first-of-type { font-size: 19px; color: var(--ink-2); }
.prose p, .prose ul, .prose ol, .prose .table-card { margin: 0 0 18px; }
.prose h2 { font-size: 28px; margin: 36px 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--sun-deep); }
.prose a { color: var(--sun-deep); font-weight: 600; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.tile { background: var(--sand); border-radius: 16px; padding: 18px 20px; font-size: 15px; }
.tile b { display: block; margin-bottom: 6px; font-size: 16px; }
.side { position: sticky; top: 104px; align-self: start; display: grid; gap: 16px; margin-top: 86px; }
.side .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 12px; }
.side .box h2 { font-size: 22px; }
.side .box p { color: var(--ink-2); font-size: 15px; }
.side .box.sand { background: var(--sand); border-color: var(--sand); }
.side .ask { display: flex; gap: 10px; align-items: flex-start; }
.side .ask .i { color: var(--sun-deep); flex: none; margin-top: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--pine-ink); padding: 56px 0 28px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand .name { color: var(--pine-ink); }
.site-footer .brand .sub { color: #cbbfae; }
.site-footer address { font-style: normal; margin-top: 16px; color: #e4dccf; max-width: 300px; }
.site-footer h2 { font: 700 15px/1.4 var(--body); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #e4dccf; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .big { font-size: 19px; font-weight: 700; color: var(--white); }
.foot-bottom { border-top: 1px solid rgba(244, 238, 227, 0.2); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: #cbbfae; }

@media (max-width: 1100px) {
  .nav, .header-phone, .site-header .btn { display: none; }
  .menu { display: block; }
  .why { grid-template-columns: 1fr 1fr; }
  .page { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; margin-top: 8px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .topbar { display: none; }
  .site-header .wrap { min-height: 68px; }
  .hero .wrap, .how, .costs, .faq { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { padding-top: 32px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .trust ul { flex-direction: column; padding: 22px 20px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .actions .btn { width: 100%; }
  .why { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 40px 1fr; }
  .steps .when { grid-column: 2; text-align: left; }
  .steps p { grid-column: 2; }
  th, td { padding: 12px 14px; }
  .float { left: 12px; bottom: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
