/* Solestima landing page */

:root {
  --ink: #0f1f33;
  --ink-2: #3d4b5c;
  --muted: #6b7686;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --navy: #0f2a47;
  --sun: #ed6f25;
  --sun-dark: #da6522;
  --sun-soft: #fdeee4;
  --accent: #1d6fd8;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 31, 51, .06), 0 12px 32px rgba(15, 31, 51, .10);
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Arvo", Georgia, "Times New Roman", serif;
  --font-logo: "Suez One", Georgia, serif;
  --logo-red: #e11d2a;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: 0; }
h3 {font-family: var(--font);}
p { margin: 0 0 1em; }
a { color: var(--accent); }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 760px; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: 12px; top: -48px;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px;
  font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--sun); color: #fff; }
.btn-primary:hover { background: var(--sun-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: 15px; }
.btn-block { display: flex; width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none;
}
.logo > span {
  font-family: var(--font-logo); font-weight: 400; font-size: 22px;
  color: var(--sun);
  background: linear-gradient(90deg, var(--sun), var(--logo-red));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-mark { width: 28px; height: 28px; color: var(--sun); }
.site-nav { display: flex; gap: 28px; margin-right: auto; }
.site-nav a, .link-quiet { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.site-nav a:hover, .link-quiet:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }

/* Hero */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(900px 480px at 85% 10%, var(--sun-soft), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--sun-dark);
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 14px; }
.hero-note { font-size: 14px; color: var(--muted); }

/* Result card mock */
.result-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 26px;
  max-width: 440px; margin-left: auto;
}
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.result-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.brand-dot { width: 22px; height: 22px; flex-shrink: 0; background: url("../img/brand-bolt.svg") center / contain no-repeat; }
.result-tag {
  font-size: 12px; font-weight: 600; color: #0f766e; background: #e6f6f3;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.result-address { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.result-values { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.result-values div { background: var(--bg-alt); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between;}
.result-values dt { font-size: 13px; color: var(--muted); }
.result-values dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.result-values small { font-size: .55em; font-weight: 600; color: var(--muted); }
.result-cta {
  display: block; text-align: center; padding: 12px; border-radius: 10px;
  background: #16a34a; color: #fff; font-weight: 500;
}
.result-cta--call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: #16a34a; border: 1.5px solid #16a34a; padding: 10.5px 12px;
}
.result-cta--call svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-foot { font-size: 12px; color: var(--muted); text-align: center; margin: 10px 0 0; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); text-align: center; }
.section-intro { text-align: center; color: var(--ink-2); font-size: 1.1rem; margin-bottom: 48px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--sun-soft); color: var(--sun-dark); font-weight: 700;
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--ink-2); margin: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature svg {
  width: 40px; height: 40px; padding: 8px; margin-bottom: 14px;
  border-radius: 10px; background: #ececec;
  fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .section-title { text-align: left; }
.split-copy p { color: var(--ink-2); }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sun-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23b44c14' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.result-card--full { margin: 0 auto; }
.mock-form { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.mock-form-title { font-weight: 700; margin: 0 0 2px; }
.mock-form-sub { margin: -6px 0 2px; font-size: 13px; color: var(--muted); }
.mock-input {
  display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--muted); font-size: 14px;
}
.mock-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.mock-box { width: 16px; height: 16px; border: 1.5px solid var(--muted); border-radius: 4px; flex: none; }

/* Pricing */
.price-card {
  max-width: 420px; margin: 0 auto; background: #fff;
  border: 2px solid var(--sun); border-radius: 18px; padding: 36px; box-shadow: var(--shadow);
}
.price-name { font-weight: 700; color: var(--sun-dark); margin-bottom: 4px; }
.price { margin-bottom: 24px; }
.price-amount { font-size: 3.2rem; font-weight: 800; letter-spacing: -.03em; }
.price-period { color: var(--muted); font-size: 1.1rem; }
.price-card .checklist { margin-bottom: 28px; }
.price-note { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* FAQ */
.faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-right: 36px; }

/* Final CTA */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.cta-inner h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* Footer */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.logo-footer { margin-bottom: 8px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.copyright { font-size: 14px; color: var(--muted); margin: 32px 0 0; }

/* Demo page */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.demo-hero {
  padding: 72px 0 56px; text-align: center;
  background: radial-gradient(900px 420px at 50% 0%, var(--sun-soft), transparent 70%), var(--bg);
}
.demo-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.demo-hero .lead { margin: 0 auto 24px; }

/* 404 */
.not-found {
  padding: 96px 0 112px; text-align: center;
  background: radial-gradient(900px 420px at 50% 0%, var(--sun-soft), transparent 70%), var(--bg);
}
.not-found h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.not-found .lead { margin: 0 auto; }
.not-found .hero-actions { justify-content: center; }
/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4.2vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.25em; }
.legal li + li { margin-top: .4em; }
.legal-updated { color: var(--muted); font-size: 15px; }

.demo-note {
  display: inline-block; margin: 0; padding: 10px 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px dashed var(--sun); font-size: 15px; color: var(--ink-2);
}

.browser {
  max-width: 900px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-url { flex: 1; max-width: 320px; padding: 3px 12px; border-radius: 999px; background: #fff; font-size: 13px; color: var(--muted); }
.sample-site-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 28px; border-bottom: 1px solid var(--line); }
.sample-site-nav { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.sample-site-body { padding: 40px 28px 44px; background: linear-gradient(180deg, #f0faf4, #fff); }
.sample-site-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-family: var(--font-heading); }
.sample-site-body > p { color: var(--ink-2); max-width: 34em; }
.widget-pair { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 28px; }
.widget-slot { display: grid; gap: 8px; }
.widget-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--sun-dark); }
.sw-button, .sw-address button {
  font: inherit; font-weight: 500; font-size: 16px; color: #fff; background: #16a34a;
  border: 0; border-radius: 10px; padding: 12px 20px; cursor: pointer;
}
.sw-button { display: inline-flex; align-items: center; gap: 8px; }
.sw-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sw-button:hover, .sw-address button:hover { background: #15803d; }
.sw-address { display: flex; max-width: 460px; }
.sw-address input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 11px 14px;
  border: 1px solid #b9c2cc; border-right: 0; border-radius: 10px 0 0 10px;
}
.sw-address button { border-radius: 0 10px 10px 0; white-space: nowrap; }
.sw-hint { margin: 0; font-size: 13px; color: #b42318; }

.calc {
  max-width: 520px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px;
  scroll-margin-top: 90px;
}
.calc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-back { font-size: 14px; color: var(--muted); text-decoration: none; }
.calc-back:hover { color: var(--ink); }
.calc-progress { height: 6px; margin: 18px 0 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.calc-progress span { display: block; height: 100%; width: 20%; background: #16a34a; transition: width .25s; }
.calc-count { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.calc-step h3 { font-family: var(--font); font-size: 1.25rem; outline: none; margin-bottom: 16px; }
.calc-optional { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.calc-input {
  display: block; width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border: 1px solid #b9c2cc; border-radius: var(--radius-sm);
}
.calc-input:focus, .sw-address input:focus { outline: 3px solid rgba(22, 163, 74, .35); outline-offset: 0; border-color: #16a34a; }
.calc-error { margin: 8px 0 0; font-size: 14px; color: #b42318; }
.calc-sample {
  margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px;
  color: var(--accent); text-decoration: underline; cursor: pointer; text-align: left;
}
.calc-money { position: relative; }
.calc-money > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 18px; }
.calc-money .calc-input { padding-left: 28px; font-size: 20px; font-weight: 600; }
.calc-range { width: 100%; margin-top: 16px; accent-color: #16a34a; }
.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.calc-options label { position: relative; cursor: pointer; }
.calc-options input { position: absolute; opacity: 0; }
.calc-options span {
  display: block; height: 100%; padding: 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-weight: 500; text-align: center; transition: border-color .15s, background-color .15s;
}
.calc-options label:hover span { border-color: #b9c2cc; }
.calc-options input:checked + span { border-color: #16a34a; background: #effaf3; }
.calc-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.calc-next, .calc-prev, .calc-skip {
  font: inherit; font-weight: 600; font-size: 15px; padding: 10px 20px; border-radius: 10px; cursor: pointer; white-space: nowrap;
}
.calc-next { background: #16a34a; color: #fff; border: 0; }
.calc-next:hover { background: #15803d; }
.calc-prev { margin-right: auto; background: none; border: 1.5px solid var(--line); color: var(--ink-2); }
.calc-skip { background: none; border: 0; color: var(--muted); }
.calc-prev:hover, .calc-skip:hover { color: var(--ink); }
.calc-step .result-head h3 { margin: 0; }
.quote-form, .quote-done { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; display: grid; gap: 10px; }
.quote-form[hidden], .quote-done[hidden] { display: none; }
.quote-form .result-cta { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.quote-form .result-cta--call { border: 1.5px solid #16a34a; text-decoration: none; }
.quote-done p { margin: 0; color: var(--ink-2); }
.quote-done .mock-form-title { color: var(--ink); outline: none; }
.calc-consent { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.calc-consent input { width: 16px; height: 16px; accent-color: #16a34a; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero { padding: 56px 0 72px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .result-card { margin: 0 auto; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .widget-pair { grid-template-columns: minmax(0, 1fr); max-width: 350px; margin-left: auto; margin-right: auto;}
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .steps, .features { grid-template-columns: 1fr; }
  .header-actions { gap: 14px; }
  .result-values dd { font-size: 1.35rem; }
  .price-card { padding: 28px 22px; }
  .demo-hero { padding: 48px 0 40px; }
  .not-found { padding: 56px 0 72px; }
  .sample-site-nav { display: none; }
  .sample-site-head, .sample-site-body { padding-left: 18px; padding-right: 18px; }
  .sw-button { justify-content: center; }
  .calc { padding: 20px 18px; }
  .calc-back { display: none; }
  .header-inner { gap: 12px; }
  .result-card { padding: 22px 18px; }
  .result-values { gap: 10px; }
  .result-values div { padding: 12px 14px; }
  .footer-nav { gap: 10px 24px; }
}

@media (max-width: 460px) {
  .sw-address { flex-direction: column; gap: 8px; }
  .sw-address input { border-right: 1px solid #b9c2cc; border-radius: 10px; }
  .sw-address button { border-radius: 10px; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .logo { gap: 7px; }
  .logo > span { font-size: 20px; }
  .logo-mark { width: 24px; height: 24px; }
  .header-actions { gap: 12px; }
  .hero-actions .btn { flex: 1; padding-left: 16px; padding-right: 16px; }
  .result-values dd { font-size: 1.2rem; }
  .price-card { padding: 24px 18px; }
  .price-amount { font-size: 2.8rem; }
  .sample-site-body { padding: 32px 16px 36px; }
  
  .calc { padding: 20px 16px; }
  .calc-actions { gap: 6px; }
  .calc-next, .calc-prev, .calc-skip { padding: 10px 14px; }
}
