

:root {
    --sun: #F5A623;
    --sun-light: #FFF3D6;
    --sun-dark: #C47D0A;
    --green: #1D9E75;
    --green-light: #E1F5EE;
    --green-dark: #0F6E56;
    --dark: #0D1117;
    --dark2: #161B22;
    --dark3: #21262D;
    --border: rgba(255,255,255,0.08);
    --text: #E6EDF3;
    --muted: #8B949E;
    --accent: #F5A623;
    --card-bg: rgba(22,27,34,0.85);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
 
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  html { scroll-behavior: smooth; }
 
  body {
    font-family: 'DM Sans', sans-serif;
    background: #0f172a;
    color: var(--text);
  }
 
  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 4rem;
    background: rgba(13,17,23,0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }
  .logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.4rem;
    color: var(--sun);
    display: flex; align-items: center; gap: 10px;
  }
  .logo-icon {
    width: 32px; height: 32px;
    background: var(--sun);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    box-shadow: 0 0 0 6px rgba(245,166,35,0.15);
  }
  .logo-icon::before {
    content: '';
    width: 14px; height: 14px;
    background: var(--dark);
    border-radius: 50%;
    position: absolute;
  }
  nav ul {
    list-style: none;
    display: flex; gap: 2.5rem;
  }
  nav ul a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s;
    letter-spacing: 0.02em;
  }
  nav ul a:hover { color: var(--text); }
  .nav-cta {
    background: var(--sun);
    color: var(--dark) !important;
    font-weight: 500 !important;
    padding: 0.45rem 1.2rem;
    border-radius: 100px;
    transition: background 0.2s, opacity 0.2s !important;
  }
  .nav-cta:hover { opacity: 0.88; }
 
  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 900px 600px at 50% 30%, rgba(245,166,35,0.07) 0%, transparent 70%),
      radial-gradient(ellipse 400px 400px at 80% 80%, rgba(29,158,117,0.06) 0%, transparent 60%);
  }
  .grid-lines {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .hero > * { position: relative; z-index: 1; }
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(245,166,35,0.1);
    border: 1px solid rgba(245,166,35,0.25);
    color: var(--sun);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: fadeDown 0.8s ease both;
  }
  .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sun); animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
  @keyframes fadeDown { from{opacity:0;transform:translateY(-16px)} to{opacity:1;transform:none} }
  @keyframes fadeUp   { from{opacity:0;transform:translateY(20px)}  to{opacity:1;transform:none} }
 
  h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 200;
    line-height: 1.06;
    letter-spacing: -0.02em;
    max-width: 900px;
    animation: fadeUp 0.9s 0.15s ease both;
  }
  h1 span { color: var(--sun); }
  .hero-sub {
    max-width: 560px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 1.8rem auto 2.6rem;
    animation: fadeUp 0.9s 0.3s ease both;
  }
  .hero-btns {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    animation: fadeUp 0.9s 0.45s ease both;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.75rem 1.8rem;
    border-radius: 100px;
    font-size: 0.95rem; font-weight: 500;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s;
    border: none;
  }
  .btn-primary { background: var(--sun); color: var(--dark); }
  .btn-primary:hover { background: #e8961a; transform: translateY(-1px); }
  .btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
 
  /* floating stats */
  .hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
    margin-top: 4rem;
    animation: fadeUp 0.9s 0.6s ease both;
  }
  .stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    text-align: center;
    backdrop-filter: blur(10px);
  }
  .stat-card .num {
    font-family: 'Syne', sans-serif;
    font-size: 2rem; font-weight: 700;
    color: var(--sun);
  }
  .stat-card .label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
 
  /* ── SECTION BASE ── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1160px; margin: 0 auto; }
  .section-label {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--sun); margin-bottom: 1rem;
  }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700; line-height: 1.15;
    max-width: 600px;
  }
  .section-title span { color: var(--sun); }
  .section-sub { color: var(--muted); line-height: 1.7; max-width: 520px; margin-top: 1rem; font-size: 0.97rem; }
 
  /* ── LIVE DASHBOARD ── */
  #dashboard { background: var(--dark2); }
  .dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
  }
  .metric-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
    position: relative; overflow: hidden;
    transition: border-color 0.3s;
  }
  .metric-card:hover { border-color: rgba(245,166,35,0.3); }
  .metric-card .icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; margin-bottom: 1rem;
  }
  .ic-sun { background: rgba(245,166,35,0.12); }
  .ic-green { background: rgba(29,158,117,0.12); }
  .ic-blue { background: rgba(56,139,253,0.12); }
  .ic-red { background: rgba(248,81,73,0.12); }
  .metric-card .val {
    font-family: 'Syne', sans-serif;
    font-size: 1.9rem; font-weight: 700;
  }
  .metric-card .mlabel { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }
  .metric-card .trend {
    position: absolute; top: 1.4rem; right: 1.4rem;
    font-size: 0.75rem; padding: 3px 8px; border-radius: 100px;
  }
  .up { background: rgba(29,158,117,0.15); color: #3DD68C; }
  .down { background: rgba(248,81,73,0.12); color: #F85149; }
 
  .chart-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem; margin-top: 1rem;
  }
  .chart-box {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
  }
  .chart-box h3 { font-size: 0.9rem; font-weight: 500; color: var(--muted); margin-bottom: 1.2rem; }
  .bar-chart {
    display: flex; align-items: flex-end; gap: 8px; height: 120px;
  }
  .bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .bar {
    width: 100%; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--sun) 0%, var(--sun-dark) 100%);
    transition: height 1s cubic-bezier(.22,1,.36,1);
  }
  .bar.alt { background: linear-gradient(180deg, var(--green) 0%, var(--green-dark) 100%); }
  .bar-lbl { font-size: 0.65rem; color: var(--muted); }
 
  .donut-wrap {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%;
  }
  .donut-svg { width: 120px; height: 120px; }
  .donut-center { font-family: 'Syne'; font-size: 1.4rem; font-weight: 700; }
  .donut-label { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
  .legend { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; justify-content: center; }
  .leg-item { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--muted); }
  .leg-dot { width: 8px; height: 8px; border-radius: 50%; }
 
  /* animated number */
  .live-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: var(--green);
    background: rgba(29,158,117,0.1);
    border: 1px solid rgba(29,158,117,0.2);
    padding: 3px 10px; border-radius: 100px; margin-bottom: 2rem;
  }
 
  /* ── FEATURES ── */
  .feat-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem; margin-top: 3rem;
  }
  .feat-card {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative; overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
  }
  .feat-card:hover { transform: translateY(-4px); border-color: rgba(245,166,35,0.25); }
  .feat-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sun), transparent);
    opacity: 0; transition: opacity 0.3s;
  }
  .feat-card:hover::before { opacity: 1; }
  .feat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 1.4rem;
  }
  .feat-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem; font-weight: 600;
    margin-bottom: 0.7rem;
  }
  .feat-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
 
  /* ── PREDICTION ── */
  #prediction { background: var(--dark2); }
  .pred-layout {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 4rem; align-items: center; margin-top: 3rem;
  }
  .pred-visual {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
  }
  .pred-visual h4 { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.2rem; }
  .weather-row {
    display: flex; gap: 0.75rem; margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  .weather-day {
    flex: 1;
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 0.5rem;
    text-align: center;
    font-size: 0.75rem;
  }
  .weather-day .wday { color: var(--muted); margin-bottom: 6px; }
  .weather-day .wicon { font-size: 1.3rem; margin-bottom: 6px; }
  .weather-day .wkwh { font-family: 'Syne'; font-weight: 600; color: var(--sun); }
  .pred-line {
    position: relative; height: 80px; margin: 1rem 0;
  }
  .pred-svg { width: 100%; height: 100%; }
 
  /* checklist */
  .check-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
  .check-item {
    display: flex; align-items: flex-start; gap: 1rem;
  }
  .check-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(29,158,117,0.12);
    border: 1px solid rgba(29,158,117,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; margin-top: 2px;
  }
  .check-item h4 { font-size: 0.97rem; font-weight: 500; margin-bottom: 3px; }
  .check-item p { font-size: 0.83rem; color: var(--muted); line-height: 1.55; }
 
  /* ── COST SAVINGS ── */
  .savings-layout {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 4rem; align-items: center; margin-top: 3rem;
  }
  .savings-card {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
  }
  .savings-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.9rem 0; border-bottom: 1px solid var(--border);
  }
  .savings-row:last-child { border-bottom: none; }
  .savings-row .slabel { font-size: 0.85rem; color: var(--muted); }
  .savings-row .sval { font-family: 'Syne'; font-weight: 600; font-size: 1rem; }
  .sval.pos { color: #3DD68C; }
  .sval.sun { color: var(--sun); }
  .progress-wrap { margin-top: 1.5rem; }
  .progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
  .progress-bar {
    height: 8px; border-radius: 100px;
    background: var(--dark3); overflow: hidden;
  }
  .progress-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, var(--green), var(--sun));
    animation: growBar 1.5s 0.5s ease both;
  }
  @keyframes growBar { from{width:0} }
  .roi-num {
    font-family: 'Syne'; font-size: 3rem; font-weight: 800;
    color: var(--sun); text-align: center; margin: 1.5rem 0 0.5rem;
  }
  .roi-sub { text-align: center; color: var(--muted); font-size: 0.85rem; }
 
  /* ── VENDORS ── */
  #vendors { background: var(--dark2); }
  .vendor-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem; margin-top: 3rem;
  }
  .vendor-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    transition: border-color 0.25s;
  }
  .vendor-card:hover { border-color: rgba(245,166,35,0.3); }
  .vendor-top {
    display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem;
  }
  .vendor-logo {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    font-family: 'Syne';
  }
  .stars { color: var(--sun); font-size: 0.85rem; }
  .vendor-card h3 { font-size: 1rem; font-weight: 600; }
  .vendor-card .vtype { font-size: 0.78rem; color: var(--muted); }
  .vendor-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 1.2rem; }
  .vtag {
    font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
    background: rgba(255,255,255,0.05); border: 1px solid var(--border);
    color: var(--muted);
  }
  .vendor-price { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
  .vendor-price span { font-family: 'Syne'; font-size: 1.1rem; font-weight: 600; color: var(--text); }
  .btn-sm {
    width: 100%; padding: 0.6rem; border-radius: 100px;
    background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.25);
    color: var(--sun); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
  }
  .btn-sm:hover { background: var(--sun); color: var(--dark); }
 
  /* search bar */
  .vendor-search {
    display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap;
  }
  .search-input {
    flex: 1; min-width: 200px;
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 100px; padding: 0.7rem 1.4rem;
    color: var(--text); font-size: 0.9rem; font-family: inherit;
    outline: none; transition: border-color 0.2s;
  }
  .search-input:focus { border-color: rgba(245,166,35,0.4); }
  .search-input::placeholder { color: var(--muted); }
  .filter-btn {
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 100px; padding: 0.7rem 1.4rem;
    color: var(--muted); font-size: 0.85rem; font-family: inherit;
    cursor: pointer; transition: all 0.2s;
  }
  .filter-btn.active, .filter-btn:hover { border-color: var(--sun); color: var(--sun); }
 
  /* ── ALERTS ── */
  .alert-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 3rem; }
  .alert-item {
    display: flex; align-items: center; gap: 1.2rem;
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.1rem 1.5rem;
    transition: border-color 0.2s;
  }
  .alert-item:hover { border-color: rgba(255,255,255,0.12); }
  .alert-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
  .al-warn { background: rgba(245,166,35,0.12); }
  .al-info { background: rgba(56,139,253,0.12); }
  .al-suc  { background: rgba(29,158,117,0.12); }
  .al-err  { background: rgba(248,81,73,0.12); }
  .alert-content h4 { font-size: 0.92rem; font-weight: 500; margin-bottom: 3px; }
  .alert-content p  { font-size: 0.8rem; color: var(--muted); }
  .alert-time { margin-left: auto; font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
  .alert-badge {
    padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 500;
  }
  .badge-warn { background: rgba(245,166,35,0.12); color: var(--sun); }
  .badge-info { background: rgba(56,139,253,0.12); color: #79C0FF; }
  .badge-suc  { background: rgba(29,158,117,0.12); color: #3DD68C; }
  .badge-err  { background: rgba(248,81,73,0.12); color: #F85149; }
 
  /* ── TECH STACK ── */
  #tech { background: var(--dark2); }
  .tech-grid {
    display: flex; flex-wrap: wrap; gap: 1rem;
    margin-top: 3rem; justify-content: flex-start;
  }
  .tech-pill {
    display: flex; align-items: center; gap: 10px;
    background: var(--dark3); border: 1px solid var(--border);
    border-radius: 100px; padding: 0.65rem 1.25rem;
    font-size: 0.88rem; font-weight: 500;
    transition: border-color 0.2s;
  }
  .tech-pill:hover { border-color: rgba(245,166,35,0.3); }
  .tech-pill .tp-dot { width: 8px; height: 8px; border-radius: 50%; }

  /* ── TEAM ── */
  .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
  .team-card {
    background: var(--dark2); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    text-align: center; transition: border-color 0.25s;
  }
  .team-card:hover { border-color: rgba(237, 9, 9, 0.3); }
  .avatar {
    width: 72px; height: 72px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne'; font-size: 1.3rem; font-weight: 700;
    margin: 0 auto 1rem;
  }
  .team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
  .team-card .role { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
  .team-card .id-badge {
    display: inline-block;
    background: rgba(236, 234, 234, 0.08); border: 1px solid rgba(245,166,35,0.15);
    color: var(--sun); font-size: 0.7rem; padding: 3px 10px; border-radius: 100px;
  }
  
 
  /* ── CTA ── */
  .cta-section {
    text-align: center; padding: 7rem 2rem;
    background:
      radial-gradient(ellipse 800px 500px at 50% 50%, rgba(201, 125, 2, 0.07), transparent 70%);
  }
  .cta-section h2 {
    font-family: 'Syne'; font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800; max-width: 700px; margin: 0 auto 1.2rem;
    line-height: 1.1;
  }
  .cta-section p { color: var(--muted); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
 
  /* ── FOOTER ── */
  footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 2.5rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  footer .copy { font-size: 0.82rem; color: var(--muted); }
  footer .foot-links { display: flex; gap: 1.5rem; }
  footer .foot-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
  footer .foot-links a:hover { color: var(--text); }
 
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
    margin-right: 8px;
  }
  .hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
    border-radius: 2px;
  }

  /* ── MOBILE ── */
  @media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .hamburger { display: flex; }
    nav ul {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: rgba(13,17,23,0.98);
      backdrop-filter: blur(18px);
      flex-direction: column;
      align-items: center;
      padding: 2rem 0;
      gap: 1.5rem;
      border-bottom: 1px solid var(--border);
    }
    nav ul.show {
      display: flex;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .dash-grid { grid-template-columns: repeat(2, 1fr); }
    .chart-row { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr 1fr; }
    .vendor-grid { grid-template-columns: 1fr 1fr; }
    .pred-layout, .savings-layout { grid-template-columns: 1fr; gap: 2rem; }
  }
  @media (max-width: 600px) {
    .dash-grid { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .vendor-grid { grid-template-columns: 1fr; }
    section { padding: 4rem 1.2rem; }
    footer { flex-direction: column; text-align: center; padding: 2rem 1.2rem; }
  }
 
  /* scroll reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: none; }

/* ── GET STARTED / OUTPUT PAGES ── */
.scenario-wrap {
  max-width: 1160px;
  margin: 8rem auto 3rem;
  padding: 0 1.2rem;
}
.scenario-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 700;
}
.scenario-title span { color: var(--sun); }
.scenario-sub {
  color: var(--muted);
  max-width: 760px;
  margin-top: 0.8rem;
  font-size: 0.95rem;
}
.scenario-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  color: var(--text);
}
.scenario-card h3 {
  margin-bottom: 0.8rem;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
}
.scenario-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.scenario-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.scenario-label {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
  margin-bottom: 0.35rem;
}
.scenario-input,
.scenario-select,
.scenario-textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--dark);
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.scenario-input:focus,
.scenario-select:focus,
.scenario-textarea:focus {
  border-color: rgba(245,166,35,0.55);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}
.scenario-textarea {
  min-height: 90px;
  resize: vertical;
}
.scenario-hint {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
.scenario-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.scenario-outline {
  color: var(--text);
  border-color: var(--border);
  background: transparent;
}
.scenario-outline:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.scenario-kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.scenario-row {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  color: var(--text);
}
.scenario-list { margin: 0.3rem 0 0 1.1rem; }
.scenario-error {
  margin-top: 1rem;
  background: rgba(248,81,73,0.1);
  border: 1px solid rgba(248,81,73,0.25);
  color: #ff7b72;
  border-radius: 12px;
  padding: 0.8rem 1rem;
}

@media (max-width: 700px) {
  .scenario-grid-2,
  .scenario-kv { grid-template-columns: 1fr; }
}

@media print {
  nav, .hide-print { display: none !important; }
  body {
    background: #ffffff;
    color: #111827;
  }
  .scenario-wrap {
    margin: 0;
    max-width: 100%;
    padding: 0;
  }
  .scenario-card {
    break-inside: avoid;
    border-color: #d1d5db;
  }
}