:root {
    --navy:        #0d2257;
    --navy-mid:    #1a3570;
    --navy-light:  #2a4a8a;
    --navy-pale:   #e8edf8;
    --navy-faint:  #f0f3fa;
    --cream:       #faf7f2;
    --cream-warm:  #f3ede3;
    --cream-mid:   #e8dfd0;
    --cream-dark:  #c8bca8;
    --ink:         #1a1610;
    --ink-mid:     #3d3830;
    --ink-light:   #6b6560;
    --gold:        #b8922e;
    --gold-light:  #d4a843;
    --gold-pale:   #f5ead4;
    --white:       #ffffff;
    --border:      rgba(13,34,87,0.1);
    --border-warm: rgba(200,188,168,0.4);

    --display: 'Playfair Display', serif;
    --serif:   'Libre Baskerville', serif;
    --sans:    'Jost', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5rem;
    background: rgba(250,247,242,0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-warm);
    animation: fadeDown 0.7s ease both;
  }
  @keyframes fadeDown { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:none; } }

  .nav-logo { display: flex; align-items: center; text-decoration: none; }
  .nav-logo img { height: 50px; width: auto; display: block; }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    font-family: var(--sans); font-size: 0.8rem; font-weight: 400;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--ink-light); text-decoration: none;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--navy); }

  .nav-cta {
    font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--white);
    background: var(--navy);
    padding: 0.65rem 1.6rem; text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s;
  }
  .nav-cta:hover { background: var(--navy-mid); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 0;
    position: relative; overflow: hidden;
  }

  /* Left half — cream with content */
  .hero-left {
    background: var(--cream);
    padding: 10rem 4rem 6rem 5rem;
    display: flex; flex-direction: column; justify-content: center;
    position: relative; z-index: 2;
  }

  /* Subtle organic shape behind left */
  .hero-left::before {
    content: '';
    position: absolute; bottom: -80px; right: -160px;
    width: 320px; height: 320px;
    background: var(--navy-faint);
    border-radius: 50%;
    z-index: 0;
  }

  /* Right half — navy */
  .hero-right {
    background: var(--navy);
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    padding: 6rem 4rem;
  }

  /* Decorative pattern on navy side */
  .hero-right::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 1;
  }
  .hero-right::after {
    content: '';
    position: absolute; bottom: -120px; left: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(184,146,46,0.15) 0%, transparent 65%);
    pointer-events: none;
  }

  .hero-content { position: relative; z-index: 2; }

  .hero-kicker {
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s 0.15s ease both;
  }
  .hero-kicker-line { width: 32px; height: 1px; background: var(--gold); }
  .hero-kicker-text {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold);
  }

  .hero-title {
    font-family: var(--display);
    font-size: clamp(2.6rem, 4.5vw, 5rem);
    font-weight: 500; line-height: 1.08;
    color: var(--navy);
    margin-bottom: 1.6rem;
    animation: fadeUp 0.7s 0.28s ease both;
  }
  .hero-title em { font-style: italic; color: var(--gold); }

  .hero-desc {
    font-family: var(--sans);
    font-size: 1rem; font-weight: 300; line-height: 1.9;
    color: var(--ink-light);
    max-width: 400px; margin-bottom: 3rem;
    animation: fadeUp 0.7s 0.42s ease both;
  }

  .hero-actions {
    display: flex; gap: 1.2rem; align-items: center;
    animation: fadeUp 0.7s 0.56s ease both;
  }
  .btn-main {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2.2rem;
    font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px;
    transition: background 0.25s, transform 0.2s;
    display: inline-block;
  }
  .btn-main:hover { background: var(--navy-mid); transform: translateY(-1px); }

  .btn-text {
    font-family: var(--sans); font-size: 0.78rem; font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--ink-mid); text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
    transition: color 0.2s;
  }
  .btn-text:hover { color: var(--navy); }
  .btn-text svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform 0.2s; }
  .btn-text:hover svg { transform: translateX(3px); }

  /* Hero Visual — navy side */
  .hero-visual {
    position: relative; z-index: 2;
    width: 100%; max-width: 420px;
    animation: fadeIn 1s 0.4s ease both;
  }

  /* Dashboard card */
  .dash-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px; overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 32px 64px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
  }

  /* Floating logo badge */
  .dash-badge {
    position: absolute; top: -18px; left: 24px;
    background: var(--cream);
    border-radius: 10px; padding: 0.45rem 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: flex; align-items: center;
  }
  .dash-badge img { height: 26px; width: auto; }

  .dash-topbar {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 0.9rem 1.1rem;
    display: flex; align-items: center; gap: 0.45rem;
  }
  .dash-dot { width: 9px; height: 9px; border-radius: 50%; }
  .dash-dot:nth-child(1){background:#ff5f57}
  .dash-dot:nth-child(2){background:#febc2e}
  .dash-dot:nth-child(3){background:#28c840}
  .dash-url {
    flex:1; text-align:center;
    font-family: monospace; font-size: 0.58rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.04em;
  }

  .dash-body { padding: 1.3rem; }

  .dash-hello {
    font-family: var(--display); font-size: 1rem; font-weight: 400;
    color: rgba(255,255,255,0.9); margin-bottom: 0.3rem;
  }
  .dash-sub {
    font-family: var(--sans); font-size: 0.6rem; font-weight: 300;
    color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1.1rem;
  }

  .dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.6rem; margin-bottom: 1.1rem; }
  .dash-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 0.75rem 0.6rem;
    text-align: center;
  }
  .dash-stat-n {
    font-family: var(--display); font-size: 1.6rem; font-weight: 400;
    color: var(--gold-light); display: block; line-height: 1;
  }
  .dash-stat-l {
    font-family: var(--sans); font-size: 0.5rem; font-weight: 300;
    color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em;
    margin-top: 0.25rem; display: block;
  }

  .dash-list {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px; overflow: hidden;
  }
  .dash-list-head {
    padding: 0.5rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--sans); font-size: 0.56rem; font-weight: 400;
    color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.1em;
  }
  .dash-row {
    display: flex; align-items: center; gap: 0.7rem;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .dash-row:last-child { border-bottom: none; }
  .dash-time { font-family: monospace; font-size: 0.58rem; color: var(--gold-light); min-width: 40px; }
  .dash-name { font-family: var(--sans); font-size: 0.66rem; color: rgba(255,255,255,0.8); flex: 1; }
  .dash-chip {
    font-family: var(--sans); font-size: 0.48rem; font-weight: 500;
    padding: 0.18rem 0.48rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.04em;
  }
  .chip-ok { background: rgba(40,200,100,0.15); color: #5de89a; border: 1px solid rgba(40,200,100,0.2); }
  .chip-now { background: rgba(184,146,46,0.2); color: var(--gold-light); border: 1px solid rgba(184,146,46,0.25); }
  .chip-pend { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); border: 1px solid rgba(255,255,255,0.1); }

  @keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
  @keyframes fadeIn { from{opacity:0} to{opacity:1} }

  /* ── TICKER ── */
  .ticker {
    background: var(--navy);
    padding: 0.95rem 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .ticker-track {
    display: flex; gap: 0;
    animation: ticker 32s linear infinite; white-space: nowrap;
  }
  @keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
  .ticker-item {
    font-family: var(--sans); font-size: 0.9rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    padding: 0 2.5rem;
    display: flex; align-items: center; gap: 2.5rem;
  }
  .ticker-item::after { content: '—'; color: var(--gold); opacity: 0.6; }

  /* ── INTRO STRIP ── */
  .intro-strip {
    padding: 5rem 5rem;
    display: grid; grid-template-columns: 1fr 2fr;
    gap: 5rem; align-items: center;
    border-bottom: 1px solid var(--border-warm);
    max-width: 1300px; margin: 0 auto;
  }

  .intro-label {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold);
    display: flex; align-items: center; gap: 0.8rem;
  }
  .intro-label::before { content:''; width:24px; height:1px; background:var(--gold); }

  .intro-text {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400; line-height: 1.5;
    color: var(--navy);
  }
  .intro-text em { font-style: italic; }

  /* ── FEATURES ── */
  .features-section {
    padding: 6rem 5rem;
    max-width: 1300px; margin: 0 auto;
  }

  .section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-warm);
  }
  .section-tag {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold);
    display: flex; align-items: center; gap: 0.8rem;
    margin-bottom: 1rem;
  }
  .section-tag::before { content:''; width:24px; height:1px; background:var(--gold); }
  .section-h {
    font-family: var(--display);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500; line-height: 1.1;
    color: var(--navy);
  }
  .section-h em { font-style: italic; }
  .section-note {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 300;
    color: var(--ink-light); max-width: 260px; line-height: 1.7;
    text-align: right;
  }

  /* Features bento-style */
  .features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5px;
    background: var(--border-warm);
  }

  .f-card {
    background: var(--cream);
    padding: 2.8rem;
    position: relative;
    transition: background 0.3s;
    overflow: hidden;
  }
  .f-card:hover { background: var(--navy-faint); }

  /* Accent line on hover */
  .f-card::after {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--gold);
    transition: height 0.35s ease;
  }
  .f-card:hover::after { height: 100%; }

  /* Wide card spanning 2 cols */
  .f-card--wide { grid-column: span 2; }

  .f-num {
    font-family: var(--display); font-size: 3rem; font-weight: 400;
    color: rgba(13,34,87,0.3); line-height: 1;
    margin-bottom: 1.5rem;
  }
  .f-icon {
    width: 44px; height: 44px; margin-bottom: 1.5rem;
    color: var(--navy);
  }
  .f-name {
    font-family: var(--display); font-size: 1.4rem; font-weight: 500;
    color: var(--navy); margin-bottom: 0.75rem; line-height: 1.2;
  }
  .f-desc {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 300;
    color: var(--ink-light); line-height: 1.8;
  }
  .f-tag {
    display: inline-block; margin-top: 1.5rem;
    font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold); border: 1px solid var(--gold-light);
    padding: 0.25rem 0.7rem; border-radius: 20px;
    background: var(--gold-pale);
  }

  /* ── DIVIDER QUOTE ── */
  .mid-quote {
    background: var(--navy);
    padding: 6rem 5rem;
    text-align: center;
    position: relative; overflow: hidden;
  }
  .mid-quote::before {
    content: '"';
    position: absolute; top: -2rem; left: 50%;
    transform: translateX(-50%);
    font-family: var(--display); font-size: 28rem;
    color: rgba(255,255,255,0.03); line-height: 1;
    pointer-events: none;
  }
  .mid-quote-text {
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.8vw, 2.6rem);
    font-weight: 400; font-style: italic;
    line-height: 1.45; color: rgba(255,255,255,0.9);
    max-width: 820px; margin: 0 auto 1.5rem;
    position: relative; z-index: 2;
  }
  .mid-quote-text em { color: var(--gold-light); font-style: normal; }
  .mid-quote-attr {
    font-family: var(--sans); font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.35); position: relative; z-index: 2;
  }

  /* ── STATS ── */
  .stats-section {
    padding: 6rem 5rem;
    max-width: 1300px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 0;
  }

  .stat-block {
    padding: 3rem 2.5rem;
    border-right: 1px solid var(--border-warm);
    text-align: center;
  }
  .stat-block:last-child { border-right: none; }

  .stat-n {
    font-family: var(--display);
    font-size: clamp(2.8rem, 4vw, 4.5rem);
    font-weight: 400; line-height: 1;
    color: var(--navy); margin-bottom: 0.5rem; display: block;
  }
  .stat-n em { font-style: italic; color: var(--gold); }
  .stat-l {
    font-family: var(--sans); font-size: 0.72rem; font-weight: 300;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-light);
  }

  /* ── WORKFLOW ── */
  .workflow-section {
    background: var(--cream-warm);
    padding: 7rem 5rem;
    border-top: 1px solid var(--border-warm);
    border-bottom: 1px solid var(--border-warm);
  }
  .workflow-inner { max-width: 1300px; margin: 0 auto; }

  .workflow-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; margin-top: 4rem;
  }

  .w-step {
    display: flex; gap: 1.8rem; align-items: flex-start;
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .w-step.visible { opacity: 1; transform: none; }

  .w-num-wrap {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border: 1px solid var(--cream-dark);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--cream);
  }
  .w-num {
    font-family: var(--display); font-size: 1.1rem; font-weight: 400;
    color: var(--navy);
  }
  .w-title {
    font-family: var(--display); font-size: 1.2rem; font-weight: 500;
    color: var(--navy); margin-bottom: 0.5rem; line-height: 1.2;
  }
  .w-desc {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 300;
    color: var(--ink-light); line-height: 1.8;
  }

  /* ── CTA ── */
  .cta-section {
    padding: 8rem 5rem;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
    max-width: 1300px; margin: 0 auto;
  }

  .cta-logo-wrap {
    display: flex; justify-content: center; align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 4rem;
    position: relative; overflow: hidden;
    box-shadow: 0 20px 50px rgba(13,34,87,0.08);
    border: 2px solid var(--navy);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .cta-logo-wrap:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 30px 60px rgba(13,34,87,0.15);
  }
  .cta-logo-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(13,34,87,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
  }
  .cta-logo-wrap::after {
    content: '';
    position: absolute; bottom: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(184,146,46,0.15) 0%, transparent 65%);
  }
  .cta-logo-img {
    height: 90px; width: auto; position: relative; z-index: 2;
  }

  .cta-content {}
  .cta-tag {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.2rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .cta-tag::before { content:''; width:24px; height:1px; background:var(--gold); }
  .cta-title {
    font-family: var(--display);
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 500; line-height: 1.1;
    color: var(--navy); margin-bottom: 1.2rem;
  }
  .cta-title em { font-style: italic; color: var(--gold); }
  .cta-text {
    font-family: var(--sans); font-size: 0.92rem; font-weight: 300;
    color: var(--ink-light); line-height: 1.85; margin-bottom: 2.5rem;
  }
  .cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-navy {
    background: var(--navy); color: var(--white);
    padding: 1rem 2.2rem;
    font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px;
    transition: background 0.25s, transform 0.2s;
    display: inline-block;
  }
  .btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
  .btn-outline {
    color: var(--navy); border: 1.5px solid var(--navy);
    padding: 1rem 2.2rem;
    font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px;
    transition: background 0.25s, color 0.25s;
    display: inline-block;
  }
  .btn-outline:hover { background: var(--navy); color: var(--white); }

  /* ── FOOTER ── */
  footer {
    background: var(--navy);
    padding: 3rem 5rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .footer-logo {
    display: inline-flex; justify-content: center; align-items: center;
    background: var(--white);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 2px solid var(--navy);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .footer-logo::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(13,34,87,0.06) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
  }
  .footer-logo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  }
  .footer-logo img { height: 34px; width: auto; position: relative; z-index: 2; }
  .footer-copy {
    font-family: var(--sans); font-size: 0.8rem; font-weight: 400;
    letter-spacing: 0.08em; color: rgba(255,255,255,0.7);
  }
  .footer-link {
    font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
    color: var(--gold-light); text-decoration: none;
    transition: opacity 0.2s;
  }
  .footer-link:hover { opacity: 0.7; }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .reveal.visible { opacity: 1; transform: none; }

  /* Responsive */
  @media (max-width: 960px) {
    nav { padding: 1rem 2rem; }
    .nav-links { display: none; }
    .hero { grid-template-columns: 1fr; }
    .hero-left { padding: 7rem 2rem 3rem; }
    .hero-right { padding: 3rem 2rem; }
    .intro-strip, .cta-section { grid-template-columns: 1fr; padding: 4rem 2rem; gap: 2rem; }
    .features-section { padding: 4rem 2rem; }
    .features-bento { grid-template-columns: 1fr; }
    .f-card--wide { grid-column: span 1; }
    .stats-section { grid-template-columns: repeat(2,1fr); padding: 4rem 2rem; }
    .stat-block { border-right: none; border-bottom: 1px solid var(--border-warm); }
    .workflow-section { padding: 4rem 2rem; }
    .workflow-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mid-quote { padding: 4rem 2rem; }
    footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .section-note { text-align: left; }
    .cta-logo-wrap { padding: 3rem; }
  }
