
  /* ============ THEME (taken from your app screenshots) ============ */
  :root {
    --bg: #f1f2f4;
    --surface: #ffffff;
    --tile: #f5f6f7;
    --line: #dfe2e6;
    --text: #1a1c1e;
    --muted: #5b6169;
    --primary: #4a8045;
    --primary-hover: #3f7a3b;
    --primary-dark: #3d7a3a;
    --primary-soft: #e4eee1;
    --loss: #c0392b;
    --heart: #d6456f;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 10px 30px rgba(28, 40, 28, 0.08);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  svg { display: block; }
  :focus-visible { outline: 3px solid rgba(74, 128, 69, 0.55); outline-offset: 2px; border-radius: 8px; }
  section[id] { scroll-margin-top: 68px; }

  .wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
  .muted { color: var(--muted); }

  /* Icons */
  .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .icbox {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center; flex: none;
    background: var(--primary-soft); color: var(--primary-dark);
  }
  .icbox .ic { width: 24px; height: 24px; }

  /* Buttons (small, pill shaped) */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 42px; padding: 0 20px;
    border-radius: 8px;
    font: inherit; font-weight: 500; font-size: 15px; letter-spacing: 0.01em;
    border: 1px solid var(--line);
    background: var(--surface); color: var(--text);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(28, 40, 28, 0.06);
    transition: transform .2s, box-shadow .2s, border-color .2s, filter .2s;
  }
  .btn:hover { border-color: #b3bac2; box-shadow: 0 4px 12px rgba(28, 40, 28, 0.1); transform: translateY(-1px); }
  .btn:active { transform: translateY(0); }
  .btn.primary {
    background: linear-gradient(180deg, #5b9b55 0%, #45803f 100%);
    border-color: #3f7a3b; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 14px rgba(74, 128, 69, 0.28);
  }
  .btn.primary:hover {
    filter: brightness(1.06); border-color: #3f7a3b;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 18px rgba(74, 128, 69, 0.36);
  }
  .btn.small { min-height: 36px; padding: 0 16px; font-size: 14px; }
  .btn.block { width: 100%; min-height: 44px; }

  /* ============ Header ============ */
  .topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(241, 242, 244, 0.88);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
  }
  .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
  .brand svg { width: 36px; height: 36px; }
  .nav { display: none; }
  .nav a { color: var(--muted); padding: 12px 0; font-size: 16px; transition: color .2s; }
  .nav a:hover, .nav a.active { color: var(--primary-dark); }
  .nav a.active { font-weight: 500; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 20px 16px;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .nav .nav-login { color: var(--text); font-weight: 500; }
  .bar-right { display: flex; align-items: center; gap: 12px; }
  .login { display: none; color: var(--muted); font-size: 15px; }
  .login:hover { color: var(--text); }
  .burger { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer; }
  .burger .ic { grid-area: 1 / 1; }
  .burger .i-close { display: none; }
  .burger[aria-expanded="true"] .i-menu { display: none; }
  .burger[aria-expanded="true"] .i-close { display: block; }

  /* ============ Hero ============ */
  .hero { position: relative; padding: 40px 0 72px; overflow: hidden; }
  .hero::before {
    content: ""; position: absolute; top: -180px; right: -140px; width: 560px; height: 560px;
    background: radial-gradient(closest-side, rgba(74, 128, 69, 0.16), transparent);
    pointer-events: none;
  }
  .hero .wrap { position: relative; display: grid; gap: 52px; }
  .pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--muted); font-size: 14px;
  }
  .pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s ease-in-out infinite; }
  h1 {
    margin-top: 20px;
    font-size: clamp(36px, 9.5vw, 58px);
    line-height: 1.1; font-weight: 500; letter-spacing: -0.03em;
    max-width: 16ch;
  }
  .lead { margin-top: 18px; color: var(--muted); font-size: 18px; max-width: 44ch; }
  .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
  .hint { margin-top: 16px; font-size: 14px; color: var(--muted); }

  /* Hero dashboard visual */
  .hero-visual { position: relative; padding: 18px 0; max-width: 480px; width: 100%; }
  .dash { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 20px 20px; box-shadow: 0 24px 60px rgba(28, 40, 28, 0.14); }
  .dash-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
  .dtitle { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; }
  .dtitle .ic { color: var(--primary); }
  .label { font-size: 14px; color: var(--muted); display: block; }
  .net { font-size: 38px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.2; }
  .chart { margin: 12px 0 6px; width: 100%; height: auto; overflow: visible; }
  .grid-line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
  .curve { fill: none; stroke: var(--primary); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s ease-out .4s forwards; }
  .area { fill: url(#areaFill); opacity: 0; animation: fadein 1s ease-out 1.6s forwards; }
  .dot { fill: var(--primary); opacity: 0; animation: fadein .3s ease-out 2.1s forwards; }
  .ring { fill: none; stroke: var(--primary); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out 2.2s infinite; }
  .trades { margin-top: 4px; }
  .trade {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 0; border-top: 1px solid var(--line);
    font-variant-numeric: tabular-nums; font-size: 15px;
    opacity: 0; transform: translateX(-10px);
    animation: slidein .5s ease forwards; animation-delay: calc(0.9s + var(--i) * 0.4s);
  }
  .trade .t-left { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .trade .tick { width: 18px; height: 18px; color: var(--primary); stroke-width: 2.4; animation: pop .4s ease both; animation-delay: calc(1.2s + var(--i) * 0.4s); }
  .trade .time { color: var(--muted); }
  .win { color: var(--primary-dark); font-weight: 500; }
  .lose { color: var(--loss); font-weight: 500; }
  .tiles { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { background: var(--tile); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
  .tile .ic { width: 20px; height: 20px; color: var(--muted); }
  .tile .tl { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.3; }
  .tile b { display: block; font-size: 22px; font-weight: 500; color: var(--muted); }
  .chip {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; font-size: 14px; font-weight: 500;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: var(--shadow);
    animation: float 5s ease-in-out infinite;
  }
  .chip .ic { width: 18px; height: 18px; }
  .chip-top { top: 0; right: 12px; color: var(--primary-dark); }
  .chip-bottom { bottom: 0; left: 12px; color: var(--primary-dark); animation-delay: -2.5s; }

  /* ============ Sections ============ */
  .section { padding: 72px 0; }
  .band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .section-head { max-width: 600px; }
  h2 { font-size: clamp(28px, 6vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
  .section-lead { margin-top: 12px; color: var(--muted); font-size: 18px; }
  h3 { font-size: 18px; font-weight: 500; line-height: 1.35; }

  /* Feature cards */
  .features { margin-top: 40px; display: grid; gap: 18px; }
  .card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: 0 1px 2px rgba(28, 40, 28, 0.04);
  }
  .viz { background: var(--tile); border: 1px solid var(--line); border-radius: 12px; padding: 10px; margin-bottom: 20px; }
  .il { width: 100%; height: auto; }
  .f-head { display: flex; align-items: center; gap: 14px; }
  .card p { margin-top: 12px; color: var(--muted); }

  /* Illustration parts */
  .il-card { fill: var(--surface); stroke: var(--line); }
  .il-bar { fill: var(--line); }
  .fill-win { fill: var(--primary); }
  .fill-loss { fill: var(--loss); }
  .soft { opacity: 0.35; }
  .il-text { fill: var(--muted); font-size: 12px; font-family: inherit; }
  .il-text.strong { fill: var(--text); font-size: 14px; font-weight: 500; }
  .il-row { opacity: 0; }
  .reveal.in .il-row { animation: rowin .5s ease forwards; animation-delay: var(--d, 0s); }
  .il-bars rect { fill: var(--primary); opacity: 0.85; transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); }
  .reveal.in .il-bars rect { animation: barup .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
  .il-trend { fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; }
  .reveal.in .il-trend { animation: draw 1.2s ease-out .5s forwards; }
  .il-track { fill: none; stroke: var(--line); stroke-width: 7; }
  .il-arc { fill: none; stroke: var(--primary-dark); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 0 100; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }
  .reveal.in .il-arc { animation: arc 1.2s ease-out .4s forwards; }
  .il-flow { stroke: var(--primary); stroke-width: 2.4; stroke-dasharray: 5 6; fill: none; animation: flow 1s linear infinite; }
  .il-box { fill: var(--surface); stroke: var(--line); }
  .il-badge { fill: var(--primary); }

  /* Benefits */
  .helps { margin-top: 32px; display: grid; gap: 14px; }
  .help { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
  .help h3 { font-size: 17px; }
  .help p { margin-top: 2px; color: var(--muted); font-size: 15px; }

  /* How it works */
  .steps { margin-top: 44px; display: grid; gap: 32px; position: relative; }
  .step { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 6px 18px; }
  .step-ic {
    width: 60px; height: 60px; border-radius: 16px;
    display: grid; place-items: center; position: relative; z-index: 1;
    background: var(--primary-soft); color: var(--primary-dark);
  }
  .step-ic .ic { width: 28px; height: 28px; }
  .step-num {
    position: absolute; top: -8px; right: -8px;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 13px; font-weight: 700; display: grid; place-items: center;
  }
  .step h3 { padding-top: 6px; font-size: 20px; }
  .step p { color: var(--muted); grid-column: 2; }
  .step::after {
    content: ""; position: absolute; left: 29px; top: 60px; bottom: -32px; width: 2px;
    background: linear-gradient(var(--primary), transparent);
    transform-origin: top; transform: scaleY(0);
  }
  .step:last-child::after { display: none; }
  .reveal.in.step::after { animation: growy .8s ease-out .3s forwards; }

  /* Pricing */
  .plans { margin-top: 40px; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .plan { position: relative; padding: 28px; }
  .plan.featured { border-color: rgba(74, 128, 69, 0.55); box-shadow: var(--shadow); }
  .plan-name { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; }
  .plan-blurb { margin-top: 6px; color: var(--muted); }
  .plan ul { margin: 22px 0 26px; display: grid; gap: 12px; }
  .plan li { display: flex; gap: 12px; align-items: flex-start; }
  .plan li .ic { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; stroke-width: 2.4; }

  /* FAQ */
  .faq { margin-top: 36px; display: grid; gap: 12px; max-width: 820px; }
  .faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
  .faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 20px; font-size: 17px; font-weight: 500; line-height: 1.4;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary .ic { color: var(--primary-dark); transition: transform .25s; }
  .faq details[open] summary .ic { transform: rotate(180deg); }
  .faq details[open] { background: var(--surface); border-color: rgba(74, 128, 69, 0.45); }
  .faq .answer { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }

  /* About (short snippet) */
  .about-card { margin-top: 28px; max-width: 720px; padding: 26px 24px; }
  .about-card p { margin-top: 0; color: var(--text); font-size: 18px; }

  /* Contact */
  .wa {
    margin-top: 32px; max-width: 520px;
    display: flex; align-items: center; gap: 18px;
    padding: 20px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: border-color .2s, transform .2s;
  }
  .wa:hover { border-color: rgba(74, 128, 69, 0.55); transform: translateY(-2px); }
  .wa .icbox { width: 56px; height: 56px; border-radius: 16px; background: var(--primary); color: #fff; }
  .wa .icbox .ic { width: 30px; height: 30px; }
  .wa strong { display: block; font-size: 20px; font-weight: 500; }
  .wa span { color: var(--muted); font-size: 17px; font-variant-numeric: tabular-nums; }

  /* Closing + footer */
  .closing { padding: 80px 0; background: var(--primary); color: #fff; }
  .closing .section-lead { color: rgba(255, 255, 255, 0.85); }
  .closing .btn.primary { background: #fff; color: var(--primary-dark); border-color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
  .closing .btn.primary:hover { background: #f1f6ef; filter: none; border-color: #fff; }
  footer { padding: 32px 0 calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 15px; }
  footer .wrap { display: flex; flex-direction: column; gap: 18px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .foot-links a:hover { color: var(--text); }
  .foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; }
  .heart { display: inline-block; width: 16px; height: 16px; vertical-align: -2px; fill: var(--heart); }

  /* Scroll reveal */
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }

  /* Keyframes */
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes fadein { to { opacity: 1; } }
  @keyframes slidein { to { opacity: 1; transform: none; } }
  @keyframes rowin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
  @keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
  @keyframes growy { to { transform: scaleY(1); } }
  @keyframes growx { to { transform: scaleX(1); } }
  @keyframes barup { to { transform: scaleY(1); } }
  @keyframes arc { to { stroke-dasharray: 58 100; } }
  @keyframes flow { to { stroke-dashoffset: -22; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
  @keyframes ring { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.6); } }

  /* ============ Responsive ============ */
  @media (min-width: 560px) {
    .login { display: inline; }
    .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .helps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .about-card { padding: 32px 34px; }
  }
  @media (min-width: 900px) {
    .hero { padding: 88px 0 104px; }
    .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
    .hero-visual { justify-self: end; }
    .section { padding: 96px 0; }
    .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .helps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
    .step { grid-template-columns: 1fr; gap: 16px; }
    .step p { grid-column: 1; }
    .step h3 { padding-top: 0; }
    .step::after { left: 76px; right: -36px; top: 30px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); transform-origin: left; transform: scaleX(0); }
    .reveal.in.step::after { animation: growx .8s ease-out .3s forwards; }
    footer .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
  }
  @media (min-width: 1120px) {
    .burger { display: none; }
    .nav, .nav.open { display: flex; position: static; flex-direction: row; gap: 20px; padding: 0; border: 0; box-shadow: none; background: transparent; max-height: none; overflow: visible; }
    .nav .nav-login { display: none; }
    .nav a { padding: 0; font-size: 15px; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .curve { stroke-dashoffset: 0; }
    .area, .dot, .trade { opacity: 1; transform: none; }
    .il-row { opacity: 1; }
    .il-bars rect { transform: none; }
    .il-trend { stroke-dashoffset: 0; }
    .il-arc { stroke-dasharray: 58 100; }
    .step::after { transform: none; }
  }

/* === Final visual refinements === */
.brand-stack{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:0;
  font-size:10px;
  line-height:1.02;
  font-weight:700;
  letter-spacing:.015em;
}
.brand-stack span{display:block}

@media (max-width:559px){
  .brand > span{display:none;}
  .brand .brand-stack{display:flex;}
  .brand{gap:8px;}
  .brand svg{width:36px;height:36px;}
}

@media (max-width:1119px){
  .nav{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%; left:0; right:0;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    box-shadow:0 14px 34px rgba(28,40,28,.10);
    padding:6px 20px 12px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    transform-origin:top;
    transition:max-height .28s ease,opacity .22s ease,transform .28s ease,visibility .28s ease;
  }
  .nav.open{
    display:flex;
    max-height:calc(100vh - 64px);
    opacity:1;
    visibility:visible;
    transform:translateY(0);
  }
  .nav a{
    padding:11px 0;
    font-size:15px;
    line-height:1.3;
  }
  .nav a + a{
    border-top:1px solid color-mix(in srgb, var(--line) 65%, transparent);
  }
  .nav .nav-login{
    margin-top:0;
    padding-top:11px;
  }
  .burger{
    transition:transform .25s ease,background .2s ease,border-color .2s ease;
  }
  .burger[aria-expanded="true"]{transform:rotate(90deg);}
}

.card,.dash,.about-card{border-radius:16px;}
.help{border-radius:14px;}

@media (prefers-reduced-motion:reduce){
  .nav,.burger{transition:none!important;}
}



  /* ===== Modern landing-page redesign: visual-only layer ===== */
  :root {
    --bg: #f5f7f5;
    --surface: #ffffff;
    --tile: #f0f4f1;
    --line: #dfe6e1;
    --text: #18201a;
    --muted: #66706a;
    --primary: #4f8f5a;
    --primary-hover: #427d4d;
    --primary-dark: #397348;
    --primary-soft: #e5f0e7;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 18px 55px rgba(42, 74, 50, .10);
  }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); }
  .wrap { max-width: 1180px; }
  .topbar { background: color-mix(in srgb, var(--bg) 84%, transparent); border-bottom-color: color-mix(in srgb, var(--line) 86%, transparent); }
  .bar { height: 72px; }
  .brand { font-size: 17px; letter-spacing: -.02em; }
  .brand svg { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 8px 18px rgba(79,143,90,.18); }
  .nav { gap: 24px; }
  .nav a { font-size: 14px; font-weight: 500; }
  .nav a.active, .nav a:hover { color: var(--primary-dark); }
  .bar-right { gap: 9px; }
  .appearance-wrap { position: relative; }
  .appearance { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; background: var(--surface); color: var(--muted); cursor: pointer; box-shadow: 0 3px 12px rgba(28,40,28,.05); transition: .2s ease; }
  .appearance:hover { color: var(--primary-dark); border-color: rgba(79,143,90,.42); transform: translateY(-1px); }
  .appearance .ic { width: 20px; height: 20px; }
  .appearance-menu { position: absolute; top: calc(100% + 10px); right: 0; width: 156px; padding: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 18px 45px rgba(25,45,31,.16); opacity: 0; visibility: hidden; transform: translateY(-5px) scale(.98); transform-origin: top right; transition: .18s ease; z-index: 100; }
  .appearance-menu.open { opacity: 1; visibility: visible; transform: none; }
  .appearance-menu button { width: 100%; border: 0; background: transparent; color: var(--muted); display: grid; grid-template-columns: 20px 1fr 14px; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 10px; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
  .appearance-menu button:hover { background: var(--tile); color: var(--text); }
  .appearance-menu button.selected { background: var(--primary-soft); color: var(--primary-dark); font-weight: 500; }
  .appearance-menu .ic { width: 17px; height: 17px; }
  .theme-check { opacity: 0; font-size: 14px; font-weight: 700; }
  .appearance-menu button.selected .theme-check { opacity: 1; }
  .btn { min-height: 44px; border-radius: 12px; padding-inline: 19px; }
  .btn.small { min-height: 40px; border-radius: 11px; }
  .btn.primary { background: linear-gradient(135deg, #5d9d67 0%, #45834f 100%); border-color: #43804d; }
  .hero { padding: 66px 0 82px; }
  .hero::before { top: -250px; right: -180px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(79,143,90,.18), transparent 64%); }
  .hero::after { content:""; position:absolute; left:-260px; bottom:-300px; width:600px; height:600px; background:radial-gradient(circle, rgba(79,143,90,.08), transparent 66%); pointer-events:none; }
  .hero .wrap { gap: 64px; }
  .pill { padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.78); box-shadow: 0 7px 22px rgba(37,65,43,.05); }
  h1 { margin-top: 18px; font-size: clamp(42px, 6.2vw, 72px); font-weight: 500; letter-spacing: -.045em; max-width: 12ch; }
  h1::after { content:""; display:block; width:76px; height:5px; margin-top:20px; border-radius:99px; background:linear-gradient(90deg,var(--primary),rgba(79,143,90,.15)); animation: growx .8s ease-out .35s both; transform-origin:left; }
  .lead { margin-top: 20px; font-size: 18px; line-height: 1.7; }
  .actions { margin-top: 28px; gap: 12px; }
  .hint { font-size: 13px; }
  .hero-visual { max-width: 520px; padding: 24px 0 28px; }
  .dash { border-radius: 26px; padding: 23px 22px 20px; box-shadow: 0 28px 75px rgba(37,67,44,.16), 0 0 0 8px rgba(255,255,255,.42); animation: heroFloat 6s ease-in-out infinite; }
  .chip { border-radius: 13px; padding: 10px 13px; font-size: 13px; box-shadow: 0 14px 30px rgba(38,65,44,.12); }
  .chip-top { top: 4px; right: 4px; }
  .chip-bottom { bottom: 2px; left: 4px; }
  .section { padding: 96px 0; }
  .band { background: var(--surface); }
  .section-head { max-width: 720px; }
  h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; }
  .section-lead { font-size: 17px; line-height: 1.7; }
  .features { margin-top: 46px; gap: 20px; }
  .card { border-radius: 22px; padding: 24px; box-shadow: 0 5px 20px rgba(28,40,28,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(79,143,90,.25); }
  .viz { border-radius: 16px; padding: 12px; background: linear-gradient(145deg, var(--tile), var(--surface)); }
  .icbox { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
  .icbox .ic { animation: iconBreathe 3.4s ease-in-out infinite; }
  .f-head { gap: 13px; }
  .card p { line-height: 1.65; }
  .helps { margin-top: 38px; gap: 16px; }
  .help { border-radius: 19px; padding: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .help:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(79,143,90,.25); }
  .steps { margin-top: 48px; gap: 38px; }
  .step-ic { border-radius: 18px; background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(79,143,90,.08); }
  .step-ic .ic { animation: iconBreathe 3.6s ease-in-out infinite; }
  .step-num { background: var(--primary); box-shadow: 0 5px 14px rgba(79,143,90,.25); }
  .plan { padding: 30px; }
  .plan.featured { box-shadow: 0 20px 55px rgba(54,92,60,.12); }
  .plan-name { font-size: 34px; }
  .faq { margin-top: 40px; gap: 13px; }
  .faq details { border-radius: 16px; transition: border-color .2s ease, transform .2s ease; }
  .faq details:hover { transform: translateY(-1px); }
  .faq summary { padding: 20px 22px; }
  .about-card { margin-top: 30px; border-radius: 22px; background: linear-gradient(145deg,var(--surface),var(--tile)); }
  .wa { border-radius: 20px; padding: 22px; }
  .closing { position: relative; overflow: hidden; background: linear-gradient(135deg,#3f7d49,#5b9c65); padding: 94px 0; }
  .closing::after { content:""; position:absolute; width:500px; height:500px; right:-220px; top:-250px; border-radius:50%; background:rgba(255,255,255,.08); pointer-events:none; }
  .closing .wrap { position:relative; z-index:1; }
  footer { background: var(--surface); border-top: 1px solid var(--line); }

  /* Product screenshots */

  /* Dark mode. Auto follows the device unless an explicit choice is selected. */
  html[data-theme="dark"] {
    --bg:#0e1310; --surface:#151b17; --tile:#1a221d; --line:#2a352e; --text:#edf3ee; --muted:#9ba79e;
    --primary:#62a96d; --primary-hover:#70b879; --primary-dark:#76bd80; --primary-soft:#193522; --shadow:0 20px 60px rgba(0,0,0,.28);
  }
  @media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
      --bg:#0e1310; --surface:#151b17; --tile:#1a221d; --line:#2a352e; --text:#edf3ee; --muted:#9ba79e;
      --primary:#62a96d; --primary-hover:#70b879; --primary-dark:#76bd80; --primary-soft:#193522; --shadow:0 20px 60px rgba(0,0,0,.28);
    }
  }
  @keyframes heroFloat { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-7px) rotate(.25deg)} }
  @keyframes iconBreathe { 0%,100%{transform:scale(1);opacity:.96} 50%{transform:scale(1.06);opacity:1} }
  @media (max-width: 899px) {
    .hero { padding-top:48px; }
  }
  @media (max-width: 559px) {
    .bar { height:64px; }
    .brand span { display:none; }
    .appearance { width:38px; height:38px; }
    .bar-right { gap:7px; }
    .hero { padding:42px 0 64px; }
    h1 { font-size:clamp(38px,11vw,52px); }
    .actions .btn { flex:1 1 auto; }
  }
  @media (prefers-reduced-motion: reduce) {
    h1::after,.dash,.icbox .ic,.step-ic .ic { animation:none !important; }
  }
  /* ===== Requested visual refinements ===== */
  .brand { gap: 9px; }
  .brand-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    font-size: 10px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: .015em;
    color: var(--text);
  }
  .brand-stack span { display: block; }

  h1 {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 300;
    letter-spacing: -.05em;
  }
  .hero-title-bold { font-weight: 800; }
  .hero-title-light { font-weight: 300; color: var(--muted); }

  /* Slightly tighter corners across the landing page. */
  .btn { border-radius: 10px; }
  .card { border-radius: 18px; }
  .dash { border-radius: 18px; }
  .tile { border-radius: 10px; }
  .help { border-radius: 16px; }
  .step-ic { border-radius: 14px; }
  .faq details { border-radius: 12px; }
  .about-card { border-radius: 18px; }
  .wa { border-radius: 16px; }

  /* Direct Auto / Light / Dark appearance toggle. */
  .appearance-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    box-shadow: 0 3px 12px rgba(28,40,28,.05);
  }
  .appearance-option {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }
  .appearance-option:hover { color: var(--primary-dark); }
  .appearance-option.selected {
    background: var(--primary-soft);
    color: var(--primary-dark);
  }
  .appearance-option:active { transform: scale(.94); }
  .appearance-option .ic { width: 17px; height: 17px; }

  @media (max-width: 559px) {
    .brand-stack { font-size: 9px; }
    .appearance-toggle { width: 34px; height: 34px; }
    .appearance-option { width: 32px; height: 32px; }
    .appearance-option .ic { width: 16px; height: 16px; }
    .appearance { width: 32px; height: 32px; }
    .appearance .ic { width: 16px; height: 16px; }
  }


  /* Pro plan with a duration choice */
  .plans { max-width: 640px; }
  .plan.pro { padding: 30px; }
  .pro-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .trial-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--primary-soft); color: var(--primary-dark); font-size: 14px; font-weight: 600; }
  .trial-badge .ic { width: 16px; height: 16px; stroke-width: 2.4; }
  .pro-pick { margin-top: 26px; font-size: 14px; font-weight: 500; color: var(--muted); }
  .durs { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .dur { position: relative; display: block; cursor: pointer; }
  .dur input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  .dur-box { display: flex; flex-direction: column; align-items: center; gap: 2px; height: 100%; padding: 22px 6px 14px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
  .dur:hover .dur-box { border-color: rgba(79, 143, 90, .45); }
  .dur input:checked + .dur-box { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary); }
  .dur input:focus-visible + .dur-box { outline: 3px solid rgba(79, 143, 90, .55); outline-offset: 2px; }
  .dur-len { font-size: 14px; color: var(--muted); font-weight: 500; }
  .dur-price { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
  .dur-per { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
  .dur-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
  .plan.pro ul { margin: 26px 0 26px; }
  .pro-note { margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
  .pro-note b { color: var(--text); font-weight: 600; }
  @media (max-width: 420px) { .dur-box { padding-left: 2px; padding-right: 2px; } .plan.pro { padding: 24px 18px; } .dur-price { font-size: 20px; } .dur-len { font-size: 13px; } .dur-per { font-size: 12px; } }


  /* Contact: WhatsApp and email cards stacked */
  .contact-list { margin-top: 32px; max-width: 520px; display: grid; gap: 14px; }
  .contact-list .wa { margin-top: 0; }
  .wa div { min-width: 0; }
  .wa span { overflow-wrap: anywhere; }

  /* Pill under the hero: follows the theme instead of fixed white */
  .pill { background: color-mix(in srgb, var(--surface) 78%, transparent); }

  /* Dark theme: neutral dark background (no green tint) and softer hero glow */
  html[data-theme="dark"] {
    --bg:#111314; --surface:#181a1c; --tile:#1d2022; --line:#2c3033; --text:#ecedee; --muted:#9a9fa3;
  }
  html[data-theme="dark"] .hero::before, html[data-theme="dark"] .hero::after { opacity: .3; }
  @media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
      --bg:#111314; --surface:#181a1c; --tile:#1d2022; --line:#2c3033; --text:#ecedee; --muted:#9a9fa3;
    }
    html:not([data-theme="light"]) .hero::before, html:not([data-theme="light"]) .hero::after { opacity: .3; }
  }

  /* Buttons: no green glow, only a light neutral shadow */
  .btn.primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 1px 3px rgba(0, 0, 0, 0.14); }
  .btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 2px 6px rgba(0, 0, 0, 0.16); }
  /* Supported brokers */
  .brokers { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 148px)); gap: 12px; }
  .broker { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 16px 12px; text-align: center; }
  .broker-logo { position: relative; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-size: 18px; font-weight: 700; overflow: hidden; }
  .broker-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
  .broker-name { font-size: 14px; font-weight: 600; }
  .broker-note { margin-top: 26px; color: var(--muted); font-size: 16px; }
  .broker-note a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
  .broker-help { margin-top: 28px; max-width: 720px; display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; }
  .broker-help .icbox { flex: none; }
  .broker-help h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
  .broker-help p { margin-top: 6px; color: var(--muted); font-size: 16px; line-height: 1.6; }
  .broker-help a { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--primary-dark); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--primary-soft); transition: border-color .2s ease; }
  .broker-help a:hover { border-color: var(--primary); }
  @media (max-width: 520px) { .broker-help { flex-direction: column; gap: 12px; padding: 20px; } }
  @media (max-width: 420px) { .brokers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .broker { padding: 14px 8px; } }


  /* ===== Hero images: entrance + ambient animation (hero text is unchanged) ===== */
  .hero-visual { animation: visIn 1s cubic-bezier(.2, .8, .2, 1) .15s both; }
  @keyframes visIn { from { opacity: 0; transform: translateY(34px) scale(.95); } to { opacity: 1; transform: none; } }
  @keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(.6); } to { opacity: 1; transform: none; } }
  @keyframes tileIn { from { opacity: 0; transform: translateY(10px) scale(.85); } to { opacity: 1; transform: none; } }
  @keyframes sheen { 0% { background-position: 110% 0; } 40%, 100% { background-position: -30% 0; } }
  @keyframes glowDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-46px, 34px) scale(1.1); } }

  .chip { animation: chipIn .7s cubic-bezier(.34, 1.56, .64, 1) backwards, float 5s ease-in-out infinite; }
  .chip-top { animation-delay: 1.1s, 1.8s; }
  .chip-bottom { animation-delay: 2.7s, 3.4s; }

  .dash { position: relative; }
  .dash::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(79, 143, 90, .13) 50%, transparent 65%);
    background-size: 260% 100%; background-position: 110% 0;
    animation: sheen 6s ease-in-out 3.2s infinite;
  }
  .tile { animation: tileIn .5s cubic-bezier(.34, 1.56, .64, 1) backwards; }
  .tile:nth-child(1) { animation-delay: 2.2s; }
  .tile:nth-child(2) { animation-delay: 2.34s; }
  .tile:nth-child(3) { animation-delay: 2.48s; }
  .tile:nth-child(4) { animation-delay: 2.62s; }
  .hero::before { animation: glowDrift 14s ease-in-out infinite alternate; }

  /* Replay the sample day every few seconds (toggled by the script at the bottom) */
  .hero-visual.restart .curve, .hero-visual.restart .area, .hero-visual.restart .dot, .hero-visual.restart .ring,
  .hero-visual.restart .trade, .hero-visual.restart .tick, .hero-visual.restart .tile { animation: none !important; }

  /* ===== Supported brokers: smooth zoom on hover ===== */
  .brokers .broker {
    position: relative;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease, border-color .3s ease, opacity .6s ease;
  }
  .brokers .broker .broker-logo { transition: transform .4s cubic-bezier(.22, .61, .36, 1), border-color .3s ease; }
  .brokers .broker .broker-name { transition: color .3s ease; }
  .brokers .broker:hover, .js .brokers .broker.reveal.in:hover {
    transform: scale(1.07); z-index: 1; transition-delay: 0s;
    border-color: rgba(79, 143, 90, .55); box-shadow: 0 12px 28px rgba(42, 74, 50, .12);
  }
  .brokers .broker:hover .broker-logo { transform: scale(1.1); border-color: var(--primary); }
  .brokers .broker:hover .broker-name { color: var(--primary-dark); }
  @media (prefers-reduced-motion: reduce) {
    .brokers .broker, .brokers .broker .broker-logo { transition: none; }
    .brokers .broker:hover, .js .brokers .broker.reveal.in:hover, .brokers .broker:hover .broker-logo { transform: none; }
  }

  /* ===== Pricing: single subscription card (no plan name) ===== */
  .plan-name { font-size: clamp(26px, 6vw, 32px); }

  /* ===== FAQ now sits on the page background, so give the rows the card colour ===== */
  .faq details { background: var(--surface); }

  /* ===== Footer ===== */
  footer { padding-top: 52px; }
  footer .wrap { flex-direction: column; align-items: stretch; gap: 36px; }
  .foot-grid { display: grid; gap: 32px; }
  .foot-brand { max-width: 480px; }
  .foot-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; color: var(--text); }
  .foot-logo svg { width: 34px; height: 34px; border-radius: 10px; }
  .foot-about { margin-top: 14px; color: var(--muted); font-size: 15px; line-height: 1.7; }
  .foot-cols { display: flex; flex-wrap: wrap; gap: 28px 56px; }
  .foot-col { display: grid; gap: 12px; align-content: start; }
  .foot-title { font-weight: 700; color: var(--text); }
  .foot-col a { color: var(--muted); transition: color .2s ease, transform .2s ease; }
  .foot-col a:hover { color: var(--primary-dark); transform: translateX(3px); }
  .foot-made { border-top: 1px solid var(--line); padding-top: 22px; }
  @media (min-width: 900px) {
    .foot-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
    .foot-cols { justify-content: flex-end; }
  }

  /* ===== Header brand wordmark: "SAVE YOUR" over "TRADE" (same in index.html and profile.html) ===== */
  .brand .brand-stack { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 3px; line-height: 1; }
  .brand .brand-stack .bs-top {
    display: block;
    font-size: 8.5px; font-weight: 700; line-height: 1; letter-spacing: .26em; text-transform: uppercase;
    color: var(--muted);
  }
  .brand .brand-stack .bs-main {
    display: block; font-size: 21px; font-weight: 800; line-height: .95; letter-spacing: .05em; text-transform: uppercase;
    background: linear-gradient(135deg, #6aa863 0%, #3d7a3a 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #4a8045;
  }
  html[data-theme="dark"] .brand .brand-stack .bs-main { background-image: linear-gradient(135deg, #9adf94 0%, #62a96d 100%); }
  @media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .brand .brand-stack .bs-main { background-image: linear-gradient(135deg, #9adf94 0%, #62a96d 100%); }
  }
  @media (max-width: 559px) {
    .brand .brand-stack { display: flex; }
    .brand .brand-stack .bs-top { font-size: 7.5px; letter-spacing: .22em; }
    .brand .brand-stack .bs-main { font-size: 17px; letter-spacing: .05em; }
  }


  /* Tablet and phone "desktop site" widths (560px to 1119px): centre the content
     instead of leaving everything on the left with empty space on the right.
     Normal phones (under 560px) and full desktops (1120px and up) are not affected. */
  @media (min-width: 560px) and (max-width: 1119px) {
    .section-head { margin-left: auto; margin-right: auto; text-align: center; }
    .plans, .faq, .about-card, .contact-list, .broker-help { margin-left: auto; margin-right: auto; }
    .brokers { display: flex; flex-wrap: wrap; justify-content: center; }
    .brokers .broker { flex: 0 1 148px; }

    .closing .wrap { text-align: center; }
    .closing .actions { justify-content: center; }
  }
  @media (min-width: 560px) and (max-width: 899px) {
    .hero .wrap > div:first-child { text-align: center; }
    .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
    .hero .actions { justify-content: center; }
    .hero-visual { margin-left: auto; margin-right: auto; }
  }

/* ===== Blog ===== */
.blog-hero{padding:56px 0 8px}
.blog-hero h1{margin:0;font-size:clamp(34px,7vw,52px);font-weight:500;letter-spacing:-.03em;line-height:1.1;max-width:none}
.blog-lead{margin-top:14px;color:var(--muted);font-size:18px;max-width:56ch}
.blog-list{padding:36px 0 88px}
.post-grid{display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
@media(min-width:700px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1000px){.post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.post-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 5px 20px rgba(28,40,28,.035);transition:transform .25s,box-shadow .25s,border-color .25s}
.post-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:rgba(79,143,90,.25)}
.post-media{display:block;aspect-ratio:16/9;background:var(--primary-soft);overflow:hidden}
.post-media img{width:100%;height:100%;object-fit:cover;display:block}
.post-body{display:flex;flex-direction:column;gap:8px;padding:20px 20px 22px;flex:1}
.post-date{font-size:14px;color:var(--muted)}
.post-body h2{font-size:20px;line-height:1.3;font-weight:600;letter-spacing:-.01em;margin:0}
.post-body h2 a:hover{color:var(--primary-dark)}
.post-excerpt{color:var(--muted);font-size:15px;line-height:1.65;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.read-more{margin-top:auto;padding-top:6px;color:var(--primary-dark);font-weight:600;font-size:15px}
.blog-empty{padding:48px 24px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:18px;color:var(--muted)}
.article{padding:40px 0 88px}
.article-wrap{max-width:760px}
.crumbs{display:flex;gap:8px;font-size:14px;color:var(--muted);margin-bottom:18px}
.crumbs a:hover{color:var(--primary-dark)}
.article h1{margin:0;font-size:clamp(30px,6.5vw,46px);line-height:1.15;font-weight:600;letter-spacing:-.025em;max-width:none}
.article-meta{margin-top:14px;color:var(--muted);font-size:15px}
.article-hero{margin:28px 0 8px}
.article-hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:18px;border:1px solid var(--line);display:block}
.prose{margin-top:28px;font-size:18px;line-height:1.8;overflow-wrap:anywhere}
.prose>*+*{margin-top:1.1em}
.prose h2{font-size:clamp(24px,4.5vw,30px);line-height:1.25;font-weight:600;letter-spacing:-.02em;margin-top:2em}
.prose h3{font-size:clamp(20px,3.8vw,23px);line-height:1.3;font-weight:600;margin-top:1.7em}
.prose a{color:var(--primary-dark);text-decoration:underline;text-underline-offset:3px}
.prose ul,.prose ol{padding-left:1.4em}
.prose ul{list-style:disc}.prose ol{list-style:decimal}
.prose li+li{margin-top:.4em}
.prose blockquote{border-left:3px solid var(--primary);padding:4px 0 4px 18px;color:var(--muted)}
.prose img{max-width:100%;height:auto;border-radius:14px;display:block;margin:1.6em auto}
.blog-cta{margin-top:48px;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.blog-cta strong{display:block;font-size:19px;font-weight:600}
.blog-cta p{color:var(--muted);font-size:15px;margin:4px 0 0;max-width:44ch}
.back-link{display:inline-block;margin-top:28px;color:var(--primary-dark);font-weight:600}

/* Mobile menu: no extra gap between items (divider lines separate them) */
@media (max-width:1119px){ .nav{ gap:0; } }
