/* The Stockvel App — marketing website (matches "Website homepage" in the UI drafts) */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.cols4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green); }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--deep); letter-spacing: -1px; line-height: 1.1; margin: 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.num { width: 44px; height: 44px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.section { padding: 80px 0; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.bg-mint { background: var(--mint); }
.bg-soft { background: var(--soft); }
.bg-deep { background: var(--deep); color: #fff; }
.bg-green { background: var(--green); }
.body-text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.card-title { font-size: 20px; font-weight: 800; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--deep); }
.brand:hover { color: var(--deep); }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
.navlinks { display: flex; gap: 28px; flex-wrap: wrap; font-size: 16px; font-weight: 600; }
.navlinks a { color: var(--ink-2); }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--green); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .login { font-size: 16px; font-weight: 700; padding: 0 12px; }
.header-cta .btn { min-height: 48px; font-size: 16px; padding: 0 22px; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .navlinks { display: none; }
  .site-header .wrap { gap: 10px; flex-wrap: nowrap; }
  .site-header.open .wrap { flex-wrap: wrap; }
  .header-cta .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .brand { gap: 8px; min-width: 0; }
  .brand svg { width: 34px; height: 34px; }
  .site-header .wrap { min-height: 68px; }
  .brand-name { font-size: 17px; white-space: nowrap; }
  .header-cta .login { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--deep); }
  .site-header.open .navlinks { display: flex; flex-direction: column; gap: 0; width: 100%; order: 3; padding-bottom: 12px; }
  .site-header.open .navlinks a { padding: 14px 4px; border-top: 1px solid var(--line); font-size: 18px; }
  .site-header.open .header-cta .login { display: inline-flex; }
}

/* Hero */
.hero { padding: 72px 0 80px; }
.hero .cols2 { align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -2px; color: var(--deep); margin: 0; }
.hero .lead { font-size: 21px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 15px; color: var(--slate); }
.phone-mock { width: 320px; max-width: 100%; background: var(--deep); border-radius: 44px; padding: 14px; box-shadow: 0 30px 60px rgba(6, 78, 42, .25); margin: 0 auto; }
.phone-screen { background: #fff; border-radius: 32px; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; }
.phone-total { background: var(--deep); color: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.phone-total .lbl { font-size: 13px; color: var(--pale-text); font-weight: 600; }
.phone-total .amt { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.phone-total .streak { font-size: 13px; font-weight: 700; color: var(--gold); }
.phone-sv { border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mini-track { height: 10px; background: var(--mint); border-radius: 999px; overflow: hidden; }
.mini-track > div { height: 10px; background: var(--green); border-radius: 999px; animation: fill 1.4s ease-out both; }
@keyframes fill { from { width: 0 !important; } }
.phone-btn { background: var(--green); color: #fff; border-radius: 999px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }

.stat { font-size: 56px; font-weight: 800; color: var(--deep); letter-spacing: -2px; line-height: 1.05; }
.stat-text { font-size: 18px; font-weight: 600; }
.src { font-size: 14px; font-weight: 600; }

.safe-tile { background: rgba(255, 255, 255, .08); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.safe-tile .t { font-size: 21px; font-weight: 800; }
.safe-tile .d { font-size: 16px; line-height: 1.55; color: #D6EEDD; }
.bg-deep .eyebrow { color: var(--pale); }
.bg-deep .h2 { color: #fff; }

.features-grid { grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); }
.feature { display: grid; grid-template-columns: 1fr; gap: 16px; }
.feature-crop { background: var(--mint); border-radius: 20px; padding: 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }

.audience { padding: 36px; }
.audience .t { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.audience .d { font-size: 18px; line-height: 1.6; }
.audience.gogo { background: var(--mint); border-color: var(--mint-line); }
.audience.gogo .t { color: var(--deep); }
.audience.gogo .d { color: var(--ink-2); }
.audience.hustle { background: var(--ink); border-color: var(--ink); color: #fff; }
.audience.hustle .eyebrow { color: var(--gold); }
.audience.hustle .d { color: #D6E0D9; }

.calc { padding: 32px; gap: 20px; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-size: 16px; font-weight: 700; }
.calc input[type=range] { width: 100%; accent-color: var(--green); height: 32px; }
.calc-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.calc-out .lbl { font-size: 14px; color: var(--slate); font-weight: 600; }
.calc-out .v { font-size: 32px; font-weight: 800; color: var(--deep); }
.calc-out .v.green { color: var(--green); }

.form-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; width: 100%; max-width: 720px; }
.form-row label, .form-field { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 14px; font-weight: 700; }
.input, .form-row input, .form-field input, .form-field textarea, .form-field select {
  height: 54px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; font-size: 17px; background: #fff; width: 100%;
}
.form-field textarea { height: auto; min-height: 140px; padding: 14px 16px; line-height: 1.5; }
.input:focus, .form-row input:focus, .form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--mint); }
.form-row .btn { align-self: flex-end; height: 54px; }
.notice-ok { background: var(--mint); color: var(--deep); border: 1px solid var(--mint-line); border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.notice-err { background: var(--red-bg); color: var(--red); border-radius: 14px; padding: 14px 18px; font-weight: 700; }

details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-size: 19px; font-weight: 700; color: var(--ink); cursor: pointer; list-style-position: outside; }
details p, details .a { font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 12px 0 0 0; }
.faq-search { display: flex; align-items: center; gap: 10px; background: var(--soft); border-radius: 999px; padding: 0 18px; height: 56px; color: var(--slate); max-width: 560px; }
.faq-search input { border: 0; background: transparent; font-size: 17px; flex: 1; outline: none; color: var(--ink); height: 100%; }

.page-hero { padding: 64px 0 40px; background: var(--mint); }
.page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: var(--deep); letter-spacing: -1.5px; line-height: 1.05; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose h2 { font-size: 26px; color: var(--deep); font-weight: 800; letter-spacing: -.4px; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.draft-flag { display: inline-flex; align-self: flex-start; background: var(--gold-bg); color: var(--gold-ink); font-weight: 800; font-size: 14px; border-radius: 8px; padding: 6px 10px; letter-spacing: .5px; }
.callout { background: var(--mint); border: 1px solid var(--mint-line); border-radius: 20px; padding: 22px 24px; color: var(--deep); font-weight: 600; }

.type-card .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; }

.final-cta { padding: 72px 0; }
.final-cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }

/* Footer */
.foot { background: var(--deep); color: #D6EEDD; padding: 64px 0 36px; }
.foot a { color: var(--pale-text); }
.foot a:hover { color: #fff; }
.foot .wrap { display: flex; flex-direction: column; gap: 40px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.foot-col .h { font-weight: 800; color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.6; }
.foot-bottom .reg { color: var(--pale); }
.foot-bottom .designed { font-size: 15px; color: #fff; }
.foot-bottom .designed a { font-weight: 800; color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .wrap { padding: 0 16px; }
  .card { padding: 22px; }
  .audience { padding: 26px; }
  .calc { padding: 22px; }
  .calc-out .v { font-size: 26px; }
  .stat { font-size: 46px; }
}
@media (max-width: 600px) { .hide-sm { display: none !important; } }
