/* ============================================================
   Public Marketers — Design System
   Palette: white / navy / black, with functional green-red for
   market movement only. Type: Fraunces (display) + Inter (body)
   + IBM Plex Mono (tickers & figures).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root{
  --white:#ffffff;
  --paper:#fbfcfd;
  --navy-900:#081b30;
  --navy-800:#0b2a4a;
  --navy-700:#123a63;
  --blue-600:#1f5c9e;
  --blue-500:#2c74c2;
  --blue-100:#eaf3fc;
  --blue-50:#f4f9fe;
  --black:#0a0a0a;
  --ink:#101418;
  --gray-700:#3f4a58;
  --gray-500:#5b6472;
  --gray-300:#c7cfd9;
  --line:#e3e8ef;
  --green:#1e7b4d;
  --green-tint:#e9f6ef;
  --red:#b3382c;
  --red-tint:#fbeceA;
  --gold:#a9782f;

  --serif:'Fraunces', Georgia, serif;
  --sans:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --container:1200px;
  --radius-s:6px;
  --radius-m:10px;
  --shadow-card:0 1px 2px rgba(8,27,48,.04), 0 8px 24px -12px rgba(8,27,48,.14);
  --shadow-lift:0 20px 60px -20px rgba(8,27,48,.35);
}

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

html{
  scroll-behavior:smooth;
  width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  width:100%;
  min-width:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.55;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

svg{
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}

ul{
  margin:0;
  padding:0;
  list-style:none;
}

h1,h2,h3,h4{
  font-family:var(--serif);
  margin:0;
  color:var(--navy-900);
  font-weight:600;
  letter-spacing:-0.01em;
}

p{
  margin:0;
}

button{
  font-family:inherit;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

input,select{
  font-family:inherit;
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

.container-narrow{
  width:100%;
  max-width:820px;
  margin:0 auto;
  padding:0 28px;
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

/* ============================================================
   Intro loader
   ============================================================ */

#pm-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  background:var(--navy-900);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:22px;
  transition:opacity .55s ease, visibility .55s ease;
  pointer-events:auto;
}

#pm-loader.pm-hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

#pm-loader svg{
  width:220px;
  height:auto;
}

#pm-loader path{
  fill:none;
  stroke:var(--white);
  stroke-width:6;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1400;
  stroke-dashoffset:1400;
  animation:pm-draw 1.7s cubic-bezier(.65,0,.35,1) forwards;
}

@keyframes pm-draw{
  to{
    stroke-dashoffset:0;
  }
}

#pm-loader .pm-tag{
  font-family:var(--serif);
  font-style:italic;
  font-size:15px;
  letter-spacing:.02em;
  color:#bcd3ec;
  opacity:0;
  transform:translateY(6px);
  animation:pm-tag-in .7s ease forwards;
  animation-delay:1.5s;
  text-align:center;
}

@keyframes pm-tag-in{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

body.pm-loading{
  overflow:hidden;
  height:100vh;
  touch-action:none;
}

@media (prefers-reduced-motion:reduce){
  #pm-loader{
    display:none !important;
  }

  body.pm-loading{
    overflow:auto;
    height:auto;
    touch-action:auto;
  }
}

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.site-header .bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:66px;
  padding:14px 0;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.brand-mark{
  width:38px;
  height:38px;
  flex-shrink:0;
}

.brand-name{
  font-family:var(--serif);
  font-weight:600;
  font-size:19px;
  color:var(--navy-900);
}

.brand-name span{
  color:var(--blue-600);
}

.main-nav{
  display:flex;
  align-items:center;
  gap:2px;
}

.main-nav a{
  padding:9px 14px;
  font-size:14.5px;
  font-weight:500;
  color:var(--gray-700);
  border-radius:var(--radius-s);
  transition:color .15s ease, background .15s ease;
  white-space:nowrap;
}

.main-nav a:hover{
  color:var(--navy-900);
  background:var(--blue-50);
}

.main-nav a.is-active{
  color:var(--navy-900);
  font-weight:600;
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 18px;
  border-radius:var(--radius-s);
  font-size:14.5px;
  font-weight:600;
  border:1px solid transparent;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
  touch-action:manipulation;
}

.btn-primary{
  background:var(--navy-900);
  color:var(--white);
}

.btn-primary:hover{
  background:var(--blue-600);
}

.btn-ghost{
  background:transparent;
  color:var(--navy-900);
  border-color:var(--line);
}

.btn-ghost:hover{
  border-color:var(--navy-900);
}

.btn-outline-light{
  background:transparent;
  color:var(--white);
  border-color:rgba(255,255,255,.5);
}

.btn-outline-light:hover{
  border-color:var(--white);
  background:rgba(255,255,255,.08);
}

.btn-lg{
  padding:14px 26px;
  font-size:15.5px;
}

.btn-block{
  width:100%;
}

.nav-toggle{
  display:none;
  width:40px;
  height:40px;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:8px;
  padding:0;
  color:var(--navy-900);
  position:relative;
  z-index:1100;
  touch-action:manipulation;
}

.nav-toggle svg{
  width:20px;
  height:20px;
  color:var(--navy-900);
  pointer-events:none;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer{
  background:var(--navy-900);
  color:#c6d3e2;
  padding:64px 0 28px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:36px;
}

.footer-brand .brand-name{
  color:var(--white);
}

.footer-brand .brand-name span{
  color:#7bb0e6;
}

.footer-tag{
  margin-top:12px;
  font-size:14px;
  color:#93a7bd;
  max-width:280px;
}

.footer-col h4{
  color:var(--white);
  font-family:var(--sans);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:600;
  margin-bottom:14px;
}

.footer-col a,
.footer-col li{
  display:block;
  font-size:14px;
  color:#a8b8c9;
  padding:5px 0;
}

.footer-col a:hover{
  color:var(--white);
}

.footer-bottom{
  margin-top:48px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.1);
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12.5px;
  color:#7c90a6;
}

.footer-disclaimer{
  margin-top:18px;
  font-size:12px;
  color:#6e8299;
  line-height:1.6;
  max-width:900px;
}

/* ============================================================
   Sections
   ============================================================ */

.section{
  padding:88px 0;
}

.section-tight{
  padding:56px 0;
}

.section-alt{
  background:var(--blue-50);
}

.section-dark{
  background:var(--navy-900);
  color:#dbe6f2;
}

.section-dark h2,
.section-dark h3{
  color:var(--white);
}

.eyebrow{
  font-size:13px;
  font-weight:600;
  color:var(--blue-600);
  margin-bottom:14px;
  display:block;
}

.section-head{
  max-width:640px;
  margin-bottom:48px;
}

.section-head h2{
  font-size:clamp(28px,3.4vw,40px);
  line-height:1.15;
}

.section-head p{
  margin-top:14px;
  font-size:16.5px;
  color:var(--gray-500);
}

.center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

/* ============================================================
   Hero
   ============================================================ */

.hero{
  position:relative;
  overflow:hidden;
  padding:64px 0 96px;
  background:linear-gradient(180deg,var(--white) 0%,var(--blue-50) 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:56px;
  align-items:center;
}

.hero-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:var(--blue-600);
  background:var(--blue-100);
  padding:7px 14px;
  border-radius:100px;
  margin-bottom:22px;
}

.hero h1{
  font-size:clamp(36px,5vw,58px);
  line-height:1.05;
}

.hero h1 em{
  font-style:italic;
  color:var(--blue-600);
}

.hero-sub{
  margin-top:20px;
  font-size:18px;
  color:var(--gray-700);
  max-width:480px;
  line-height:1.6;
}

.hero-cta{
  margin-top:32px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.hero-meta{
  margin-top:36px;
  display:flex;
  gap:34px;
  flex-wrap:wrap;
}

.hero-meta div strong{
  display:block;
  font-family:var(--mono);
  font-size:22px;
  color:var(--navy-900);
}

.hero-meta div span{
  font-size:12.5px;
  color:var(--gray-500);
}

.hero-visual{
  position:relative;
  min-width:0;
}

.hero-photo{
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow-lift);
  aspect-ratio:4/5;
}

.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-card{
  position:absolute;
  left:-34px;
  bottom:34px;
  width:250px;
  max-width:calc(100% - 20px);
  background:var(--white);
  border-radius:14px;
  padding:18px 20px;
  box-shadow:var(--shadow-lift);
  border:1px solid var(--line);
}

.hero-card .label{
  font-size:12px;
  color:var(--gray-500);
}

.hero-card .value{
  font-family:var(--serif);
  font-size:26px;
  color:var(--navy-900);
  margin-top:4px;
}

.hero-card .delta{
  font-family:var(--mono);
  font-size:13px;
  color:var(--green);
  margin-top:6px;
  display:flex;
  align-items:center;
  gap:5px;
}

.hero-badge{
  position:absolute;
  top:-18px;
  right:-18px;
  background:var(--navy-900);
  color:var(--white);
  padding:14px 16px;
  border-radius:12px;
  font-family:var(--mono);
  font-size:12.5px;
  box-shadow:var(--shadow-lift);
  line-height:1.5;
}

/* ============================================================
   Logo strip
   ============================================================ */

.trust-strip{
  padding:26px 0;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.trust-strip .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
}

.trust-strip .item{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13.5px;
  color:var(--gray-700);
  font-weight:500;
}

.trust-strip svg{
  width:18px;
  height:18px;
  color:var(--blue-600);
  flex-shrink:0;
}

/* ============================================================
   Cards
   ============================================================ */

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.reason-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  padding:30px 26px;
  box-shadow:var(--shadow-card);
  min-width:0;
}

.reason-card .icon{
  width:44px;
  height:44px;
  border-radius:10px;
  background:var(--blue-100);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}

.reason-card .icon svg{
  width:22px;
  height:22px;
  color:var(--blue-600);
}

.reason-card h3{
  font-size:19px;
  margin-bottom:8px;
}

.reason-card p{
  color:var(--gray-500);
  font-size:14.5px;
}

/* ============================================================
   Purpose / photo blocks
   ============================================================ */

.purpose-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:center;
}

.purpose-block.reverse .purpose-photo{
  order:2;
}

.purpose-photo{
  border-radius:16px;
  overflow:hidden;
  aspect-ratio:5/4;
  box-shadow:var(--shadow-card);
}

.purpose-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.purpose-copy .eyebrow{
  margin-bottom:12px;
}

.purpose-copy h2{
  font-size:clamp(26px,3vw,34px);
  line-height:1.2;
  margin-bottom:16px;
}

.purpose-copy p{
  color:var(--gray-700);
  font-size:16px;
  margin-bottom:14px;
}

.check-list{
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.check-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:14.5px;
  color:var(--gray-700);
}

.check-list svg{
  width:18px;
  height:18px;
  color:var(--green);
  flex-shrink:0;
  margin-top:2px;
}

/* ============================================================
   Record breaker block
   ============================================================ */

.record-card{
  background:var(--navy-900);
  border-radius:20px;
  padding:52px;
  color:var(--white);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px;
  align-items:center;
  overflow:hidden;
  position:relative;
}

.record-copy .eyebrow{
  color:#9cc4ec;
}

.record-copy h2{
  color:var(--white);
  font-size:clamp(26px,3vw,36px);
  line-height:1.2;
  margin-bottom:16px;
}

.record-copy p{
  color:#b7c8db;
  font-size:15.5px;
}

.record-figure{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:28px;
  min-width:0;
}

.record-figure .rf-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:12px;
}

.record-figure .rf-ticker{
  font-family:var(--mono);
  font-size:13px;
  color:#9cc4ec;
}

.record-figure .rf-badge{
  font-family:var(--mono);
  font-size:12px;
  background:rgba(30,123,77,.25);
  color:#7bd8a6;
  padding:4px 9px;
  border-radius:100px;
}

.record-figure .rf-row{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:14px;
  gap:12px;
}

.record-figure .rf-row span:first-child{
  color:#93a7bd;
}

.record-figure .rf-row span:last-child{
  font-family:var(--mono);
  color:var(--white);
  text-align:right;
}

.record-figure .rf-final{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.14);
}

.record-figure .rf-final .label{
  font-size:12.5px;
  color:#93a7bd;
}

.record-figure .rf-final .value{
  font-family:var(--serif);
  font-size:34px;
  margin-top:4px;
  color:#7bd8a6;
}

.record-strip{
  margin-top:34px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.record-mini{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  padding:16px;
  min-width:0;
}

.record-mini .ticker{
  font-family:var(--mono);
  font-size:12px;
  color:#9cc4ec;
}

.record-mini .growth{
  font-family:var(--serif);
  font-size:20px;
  color:var(--white);
  margin-top:6px;
}

.record-mini .note{
  font-size:11.5px;
  color:#87a0b8;
  margin-top:4px;
}

/* ============================================================
   Stats
   ============================================================ */

.stat-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.stat-item{
  text-align:center;
  padding:24px 12px;
}

.stat-item strong{
  display:block;
  font-family:var(--serif);
  font-size:38px;
  color:var(--navy-900);
}

.stat-item span{
  font-size:13px;
  color:var(--gray-500);
}

/* ============================================================
   Tables (stocks)
   ============================================================ */

.table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:var(--radius-m);
  background:var(--white);
}

table.stocks{
  width:100%;
  border-collapse:collapse;
  min-width:920px;
}

table.stocks th{
  text-align:left;
  font-size:12px;
  text-transform:none;
  color:var(--gray-500);
  font-weight:600;
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  background:var(--blue-50);
  position:sticky;
  top:0;
  z-index:2;
}

table.stocks td{
  padding:16px 18px;
  border-bottom:1px solid var(--line);
  font-size:14.5px;
  vertical-align:middle;
}

table.stocks tr:last-child td{
  border-bottom:none;
}

table.stocks tr:hover td{
  background:#fafcfe;
}

.tk{
  font-family:var(--mono);
  font-weight:600;
  color:var(--navy-900);
}

.co-name{
  color:var(--gray-500);
  font-size:13px;
}

.co-cell{
  display:flex;
  flex-direction:column;
}

.price{
  font-family:var(--mono);
}

.chg{
  font-family:var(--mono);
  font-size:13px;
  padding:3px 8px;
  border-radius:6px;
  display:inline-block;
}

.chg.up{
  color:var(--green);
  background:var(--green-tint);
}

.chg.down{
  color:var(--red);
  background:var(--red-tint);
}

.sector-tag{
  font-size:12px;
  color:var(--gray-500);
  background:var(--blue-50);
  padding:4px 10px;
  border-radius:100px;
}

.row-btn{
  font-size:13px;
  font-weight:600;
  color:var(--blue-600);
  border:1px solid var(--blue-100);
  padding:7px 12px;
  border-radius:8px;
  background:var(--white);
  touch-action:manipulation;
}

.row-btn:hover{
  background:var(--blue-50);
}

/* ============================================================
   Calculator
   ============================================================ */

.calc-shell{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:0;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--white);
  box-shadow:var(--shadow-card);
  min-width:0;
}

.calc-form{
  padding:44px 40px;
  background:var(--blue-50);
}

.calc-form h3{
  font-size:22px;
  margin-bottom:6px;
}

.calc-form > p{
  color:var(--gray-500);
  font-size:14px;
  margin-bottom:28px;
}

.field{
  margin-bottom:20px;
}

.field label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:var(--navy-900);
  margin-bottom:8px;
}

.field select,
.field input{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:9px;
  font-size:14.5px;
  background:var(--white);
  color:var(--ink);
  min-width:0;
}

.field select:focus,
.field input:focus{
  outline:none;
  border-color:var(--blue-500);
  box-shadow:0 0 0 3px var(--blue-100);
}

.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.calc-hint{
  font-size:12.5px;
  color:var(--gray-500);
  margin-top:6px;
}

.calc-result{
  padding:44px 40px;
  min-width:0;
}

.calc-result .rr-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
  gap:12px;
}

.calc-result .rr-head h4{
  font-size:15px;
  color:var(--gray-500);
  font-weight:600;
}

.calc-result .rr-ticker{
  font-family:var(--mono);
  font-size:13px;
  color:var(--blue-600);
  background:var(--blue-100);
  padding:5px 10px;
  border-radius:100px;
}

.rr-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:22px;
}

.rr-box{
  border:1px solid var(--line);
  border-radius:12px;
  padding:18px;
  min-width:0;
}

.rr-box .rr-label{
  font-size:12.5px;
  color:var(--gray-500);
}

.rr-box .rr-value{
  font-family:var(--serif);
  font-size:26px;
  color:var(--navy-900);
  margin-top:6px;
}

.rr-box .rr-value.pos{
  color:var(--green);
}

.rr-divider{
  height:1px;
  background:var(--line);
  margin:22px 0;
}

.rr-line{
  display:flex;
  justify-content:space-between;
  padding:9px 0;
  font-size:14px;
  color:var(--gray-700);
  gap:12px;
}

.rr-line strong{
  color:var(--navy-900);
  font-family:var(--mono);
  text-align:right;
}

.rr-note{
  margin-top:20px;
  font-size:12px;
  color:var(--gray-500);
  line-height:1.6;
  background:var(--blue-50);
  padding:14px 16px;
  border-radius:10px;
}

/* ============================================================
   Tiers
   ============================================================ */

.tier-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
  align-items:stretch;
}

.tier-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:30px 26px;
  background:var(--white);
  display:flex;
  flex-direction:column;
  min-width:0;
}

.tier-card.featured{
  border-color:var(--navy-900);
  box-shadow:var(--shadow-lift);
  position:relative;
  transform:translateY(-8px);
}

.tier-card.featured::before{
  content:'Most chosen';
  position:absolute;
  top:-13px;
  left:26px;
  background:var(--navy-900);
  color:var(--white);
  font-size:11px;
  font-weight:600;
  padding:5px 12px;
  border-radius:100px;
  letter-spacing:.02em;
}

.tier-name{
  font-size:13px;
  font-weight:600;
  color:var(--blue-600);
}

.tier-price{
  font-family:var(--serif);
  font-size:32px;
  margin:10px 0 4px;
}

.tier-price span{
  font-size:14px;
  color:var(--gray-500);
  font-family:var(--sans);
}

.tier-desc{
  font-size:13.5px;
  color:var(--gray-500);
  margin-bottom:22px;
}

.tier-list{
  display:flex;
  flex-direction:column;
  gap:11px;
  margin-bottom:26px;
  flex:1;
}

.tier-list li{
  display:flex;
  gap:9px;
  font-size:13.5px;
  color:var(--gray-700);
  align-items:flex-start;
}

.tier-list svg{
  width:16px;
  height:16px;
  color:var(--green);
  flex-shrink:0;
  margin-top:3px;
}

/* ============================================================
   Process steps
   ============================================================ */

.process-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  position:relative;
}

.process-item{
  position:relative;
  padding-left:0;
  min-width:0;
}

.process-num{
  font-family:var(--serif);
  font-size:34px;
  color:var(--blue-100);
  font-weight:600;
  margin-bottom:10px;
}

.process-item h3{
  font-size:17px;
  margin-bottom:8px;
}

.process-item p{
  font-size:14px;
  color:var(--gray-500);
}

/* ============================================================
   Testimonials
   ============================================================ */

.testi-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.testi-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:26px;
  background:var(--white);
  min-width:0;
}

.testi-stars{
  display:flex;
  gap:3px;
  margin-bottom:14px;
}

.testi-stars svg{
  width:15px;
  height:15px;
  color:#e0a200;
  flex-shrink:0;
}

.testi-quote{
  font-size:15px;
  color:var(--gray-700);
  line-height:1.65;
  margin-bottom:20px;
  min-height:96px;
}

.testi-person{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.testi-avatar{
  width:42px;
  height:42px;
  min-width:42px;
  border-radius:50%;
  background:var(--blue-100);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--serif);
  font-weight:600;
  color:var(--blue-600);
  font-size:15px;
  overflow:hidden;
}

.testi-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.testi-name{
  font-size:14px;
  font-weight:600;
  color:var(--navy-900);
}

.testi-loc{
  font-size:12.5px;
  color:var(--gray-500);
}

.testi-filter{
  display:flex;
  gap:10px;
  margin-bottom:34px;
  flex-wrap:wrap;
}

.pill{
  font-size:13px;
  font-weight:600;
  padding:9px 16px;
  border-radius:100px;
  border:1px solid var(--line);
  color:var(--gray-700);
  background:var(--white);
  touch-action:manipulation;
  -webkit-appearance:none;
  appearance:none;
}

.pill.is-active{
  background:var(--navy-900);
  color:var(--white);
  border-color:var(--navy-900);
}

.trustpilot-banner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:var(--blue-50);
  border:1px solid var(--line);
  border-radius:14px;
  padding:22px 28px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.tp-left{
  display:flex;
  align-items:center;
  gap:14px;
}

.tp-stars{
  display:flex;
  gap:3px;
}

.tp-stars svg{
  width:20px;
  height:20px;
  color:#00b67a;
}

.tp-score{
  font-family:var(--serif);
  font-size:22px;
  color:var(--navy-900);
}

.tp-sub{
  font-size:12.5px;
  color:var(--gray-500);
}

/* ============================================================
   Placeholder note
   ============================================================ */

.data-note{
  display:flex;
  gap:12px;
  align-items:flex-start;
  background:#fff8e8;
  border:1px solid #f0dfab;
  border-radius:12px;
  padding:16px 18px;
  font-size:13px;
  color:#7a5c17;
  margin-bottom:30px;
}

.data-note svg{
  width:18px;
  height:18px;
  flex-shrink:0;
  margin-top:1px;
}

/* ============================================================
   Auth pages
   ============================================================ */

.auth-shell{
  min-height:calc(100vh - 300px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:64px 20px;
  background:var(--blue-50);
}

.auth-card{
  width:100%;
  max-width:420px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:18px;
  padding:42px 38px;
  box-shadow:var(--shadow-card);
}

.auth-card .brand{
  justify-content:center;
  margin-bottom:24px;
}

.auth-card h1{
  font-size:24px;
  text-align:center;
}

.auth-card .sub{
  text-align:center;
  color:var(--gray-500);
  font-size:14px;
  margin-top:6px;
  margin-bottom:30px;
}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px 0;
  color:var(--gray-300);
  font-size:12px;
}

.auth-divider::before,
.auth-divider::after{
  content:'';
  flex:1;
  height:1px;
  background:var(--line);
}

.auth-foot{
  text-align:center;
  margin-top:22px;
  font-size:14px;
  color:var(--gray-500);
}

.auth-foot a{
  color:var(--blue-600);
  font-weight:600;
}

.checkbox-row{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13.5px;
  color:var(--gray-700);
  margin-bottom:22px;
}

.checkbox-row input{
  width:16px;
  height:16px;
}

/* ============================================================
   Portfolio placeholder
   ============================================================ */

.portfolio-lock{
  text-align:center;
  padding:90px 20px;
}

.lock-icon{
  width:64px;
  height:64px;
  border-radius:16px;
  background:var(--blue-100);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 24px;
}

.lock-icon svg{
  width:30px;
  height:30px;
  color:var(--blue-600);
}

.portfolio-lock h2{
  font-size:28px;
}

.portfolio-lock p{
  color:var(--gray-500);
  max-width:460px;
  margin:14px auto 30px;
  font-size:15.5px;
}

/* ============================================================
   About page
   ============================================================ */

.about-hero{
  position:relative;
  padding:120px 0 90px;
  color:var(--white);
}

.about-hero::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(8,27,48,.55),rgba(8,27,48,.86)),
    var(--img) center/cover no-repeat;
  z-index:0;
}

.about-hero .container{
  position:relative;
  z-index:1;
}

.about-hero h1{
  color:var(--white);
  font-size:clamp(32px,4.5vw,48px);
  max-width:720px;
}

.about-hero p{
  color:#cfdcea;
  font-size:17px;
  max-width:560px;
  margin-top:16px;
}

.cert-card{
  display:flex;
  gap:22px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:16px;
  padding:26px;
  background:var(--white);
  box-shadow:var(--shadow-card);
}

.cert-icon{
  width:52px;
  height:52px;
  border-radius:12px;
  background:var(--blue-100);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.cert-icon svg{
  width:26px;
  height:26px;
  color:var(--blue-600);
}

.cert-card h4{
  font-size:16px;
  margin-bottom:4px;
}

.cert-card p{
  font-size:13.5px;
  color:var(--gray-500);
}

.cert-placeholder{
  font-family:var(--mono);
  font-size:13px;
  color:var(--gray-300);
  border:1px dashed var(--gray-300);
  padding:3px 10px;
  border-radius:6px;
  display:inline-block;
  margin-top:6px;
}

.value-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.team-photo-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin-top:40px;
}

.team-photo-strip img{
  width:100%;
  border-radius:12px;
  aspect-ratio:1;
  object-fit:cover;
}

/* ============================================================
   Responsive — Tablet
   ============================================================ */

@media (max-width:980px){

  /* ---------- Header ---------- */

  .site-header{
    z-index:1000;
  }

  .site-header .bar{
    min-height:66px;
  }

  .main-nav{
    display:none;
    position:fixed;
    top:66px;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:calc(100vh - 66px);
    height:calc(100dvh - 66px);
    background:var(--white);
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    padding:18px;
    gap:4px;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    z-index:900;
    box-shadow:0 12px 30px rgba(8,27,48,.08);
  }

  .main-nav.nav-open{
    display:flex;
  }

  .main-nav a{
    display:block;
    width:100%;
    padding:14px 16px;
    font-size:16px;
    border-bottom:1px solid var(--line);
    border-radius:0;
    flex-shrink:0;
  }

  .main-nav a:last-child{
    border-bottom:none;
  }

  .nav-toggle{
    display:flex;
  }

  /* ---------- Main layouts ---------- */

  .hero-grid,
  .purpose-block,
  .record-card,
  .calc-shell,
  .grid-2{
    grid-template-columns:1fr;
  }

  .purpose-block.reverse .purpose-photo{
    order:0;
  }

  .grid-3,
  .grid-4,
  .tier-grid,
  .testi-grid,
  .stat-row,
  .process-row,
  .record-strip,
  .value-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .hero-grid{
    gap:44px;
  }

  .hero-visual{
    max-width:700px;
    width:100%;
    margin:0 auto;
  }

  .purpose-block{
    gap:40px;
  }

  .record-card{
    gap:30px;
  }

  .calc-form,
  .calc-result{
    padding:36px 32px;
  }

  .tier-card.featured{
    transform:translateY(-4px);
  }

  /* Prevent content from creating horizontal overflow */

  .container,
  .container-narrow{
    min-width:0;
  }

  .grid-2 > *,
  .grid-3 > *,
  .grid-4 > *,
  .tier-grid > *,
  .testi-grid > *,
  .stat-row > *,
  .process-row > *,
  .record-strip > *,
  .value-grid > *{
    min-width:0;
  }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */

@media (max-width:640px){

  html{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  /* ---------- Container ---------- */

  .container{
    padding-left:18px;
    padding-right:18px;
  }

  .container-narrow{
    padding-left:18px;
    padding-right:18px;
  }

  /* ---------- Header ---------- */

  .site-header .bar{
    min-height:62px;
    padding:10px 0;
  }

  .brand{
    gap:8px;
    min-width:0;
  }

  .brand-mark{
    width:34px;
    height:34px;
  }

  .brand-name{
    font-size:17px;
    white-space:nowrap;
  }

  .nav-actions{
    gap:6px;
  }

  .nav-actions .btn{
    display:none;
  }

  .nav-toggle{
    display:flex;
    width:42px;
    height:42px;
    min-width:42px;
    min-height:42px;
    z-index:1100;
  }

  .main-nav{
    top:62px;
    height:calc(100vh - 62px);
    height:calc(100dvh - 62px);
    padding:14px 18px 30px;
    z-index:900;
  }

  .main-nav a{
    padding:15px 14px;
    font-size:16px;
    min-height:50px;
    display:flex;
    align-items:center;
  }

  /* ---------- General sections ---------- */

  .section{
    padding:60px 0;
  }

  .section-tight{
    padding:44px 0;
  }

  .section-head{
    margin-bottom:34px;
  }

  .section-head h2{
    font-size:30px;
  }

  .section-head p{
    font-size:15px;
  }

  /* ---------- Hero ---------- */

  .hero{
    padding:46px 0 70px;
  }

  .hero-grid{
    gap:34px;
  }

  .hero h1{
    font-size:clamp(34px,10vw,46px);
    line-height:1.08;
  }

  .hero-sub{
    font-size:16px;
    line-height:1.6;
  }

  .hero-cta{
    margin-top:26px;
    flex-direction:column;
    gap:10px;
  }

  .hero-cta .btn{
    width:100%;
  }

  .hero-meta{
    margin-top:28px;
    gap:20px 28px;
  }

  .hero-meta div strong{
    font-size:19px;
  }

  .hero-meta div span{
    font-size:11.5px;
  }

  .hero-photo{
    border-radius:14px;
  }

  .hero-card{
    position:static;
    width:100%;
    max-width:none;
    margin-top:-40px;
    padding:16px 18px;
  }

  .hero-badge{
    display:none;
  }

  /* ---------- Logo strip ---------- */

  .trust-strip{
    padding:22px 0;
  }

  .trust-strip .row{
    justify-content:center;
    gap:14px 20px;
  }

  .trust-strip .item{
    font-size:12.5px;
  }

  /* ---------- Grids ---------- */

  .grid-3,
  .grid-4,
  .tier-grid,
  .testi-grid,
  .stat-row,
  .process-row,
  .record-strip,
  .value-grid{
    grid-template-columns:1fr;
  }

  .grid-2{
    grid-template-columns:1fr;
  }

  /* ---------- Cards ---------- */

  .reason-card{
    padding:24px 22px;
  }

  /* ---------- Purpose ---------- */

  .purpose-block{
    gap:30px;
  }

  .purpose-copy h2{
    font-size:28px;
  }

  .purpose-copy p{
    font-size:15px;
  }

  .purpose-photo{
    border-radius:14px;
  }

  /* ---------- Record ---------- */

  .record-card{
    padding:30px 22px;
    border-radius:16px;
    gap:28px;
  }

  .record-copy h2{
    font-size:28px;
  }

  .record-copy p{
    font-size:14.5px;
  }

  .record-figure{
    padding:20px 18px;
  }

  .record-figure .rf-top{
    align-items:flex-start;
  }

  .record-figure .rf-row{
    font-size:13px;
  }

  .record-figure .rf-final .value{
    font-size:30px;
  }

  .record-strip{
    margin-top:24px;
    gap:12px;
  }

  /* ---------- Stats ---------- */

  .stat-item{
    padding:18px 12px;
  }

  .stat-item strong{
    font-size:34px;
  }

  /* ---------- Calculator ---------- */

  .calc-shell{
    border-radius:14px;
  }

  .calc-form,
  .calc-result{
    padding:28px 20px;
  }

  .calc-form h3{
    font-size:21px;
  }

  .field-row{
    grid-template-columns:1fr;
    gap:0;
  }

  .rr-grid{
    grid-template-columns:1fr;
  }

  .calc-result .rr-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .rr-line{
    font-size:13.5px;
  }

  /* ---------- Tiers ---------- */

  .tier-card{
    padding:26px 22px;
  }

  .tier-card.featured{
    transform:none;
  }

  /* ---------- Process ---------- */

  .process-row{
    gap:28px;
  }

  .process-num{
    font-size:30px;
  }

  /* ---------- Testimonials ---------- */

  .testi-filter{
    gap:8px;
    margin-bottom:26px;
  }

  .pill{
    padding:9px 14px;
    font-size:12.5px;
  }

  .testi-card{
    padding:22px 20px;
  }

  .testi-quote{
    min-height:0;
    font-size:14.5px;
  }

  /* ---------- Trustpilot ---------- */

  .trustpilot-banner{
    padding:18px 20px;
    margin-bottom:30px;
  }

  .tp-left{
    align-items:flex-start;
    gap:10px;
    flex-wrap:wrap;
  }

  .tp-score{
    font-size:20px;
  }

  /* ---------- Notes ---------- */

  .data-note{
    padding:14px 15px;
    font-size:12.5px;
  }

  /* ---------- Auth ---------- */

  .auth-shell{
    min-height:calc(100vh - 200px);
    padding:44px 18px;
  }

  .auth-card{
    padding:32px 22px;
    border-radius:15px;
  }

  /* ---------- Portfolio ---------- */

  .portfolio-lock{
    padding:70px 18px;
  }

  .portfolio-lock h2{
    font-size:26px;
  }

  /* ---------- About ---------- */

  .about-hero{
    padding:78px 0 64px;
  }

  .about-hero h1{
    font-size:clamp(32px,9vw,42px);
  }

  .about-hero p{
    font-size:15.5px;
  }

  .cert-card{
    align-items:flex-start;
    gap:16px;
    padding:22px;
    flex-direction:column;
  }

  .team-photo-strip{
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:30px;
  }

  /* ---------- Footer ---------- */

  .footer-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .site-footer{
    padding:50px 0 24px;
  }

  .footer-bottom{
    margin-top:36px;
    padding-top:20px;
    flex-direction:column;
    align-items:flex-start;
  }
}

/* ============================================================
   Very small phones
   ============================================================ */

@media (max-width:380px){

  .container,
  .container-narrow{
    padding-left:15px;
    padding-right:15px;
  }

  .brand-name{
    font-size:16px;
  }

  .brand-mark{
    width:32px;
    height:32px;
  }

  .nav-toggle{
    width:40px;
    height:40px;
    min-width:40px;
  }

  .hero{
    padding-top:38px;
  }

  .hero h1{
    font-size:32px;
  }

  .hero-cta .btn{
    padding-left:16px;
    padding-right:16px;
  }

  .record-card{
    padding:26px 18px;
  }

  .calc-form,
  .calc-result{
    padding:24px 16px;
  }

  .testi-card{
    padding:20px 17px;
  }

  .auth-card{
    padding:28px 18px;
  }
}

/* ============================================================
   Landscape phones
   ============================================================ */

@media (max-width:980px) and (orientation:landscape) and (max-height:600px){

  .main-nav{
    padding-top:10px;
    padding-bottom:20px;
  }

  .main-nav a{
    padding:10px 14px;
    min-height:44px;
  }

  .hero{
    padding-top:40px;
    padding-bottom:60px;
  }
}

/* ============================================================
   Touch devices
   ============================================================ */

@media (hover:none) and (pointer:coarse){

  .main-nav a,
  .btn,
  .nav-toggle,
  .pill,
  .row-btn{
    -webkit-tap-highlight-color:transparent;
  }

  .main-nav a:hover{
    background:transparent;
    color:inherit;
  }

  .btn-primary:hover{
    background:var(--navy-900);
  }

  .btn-ghost:hover{
    border-color:var(--line);
  }

  .pill{
    min-height:40px;
  }

  .row-btn{
    min-height:40px;
  }
}

/* ============================================================
   Focus visibility
   ============================================================ */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible{
  outline:2px solid var(--blue-500);
  outline-offset:2px;
}

/* ============================================================
   Prevent accidental horizontal overflow from long content
   ============================================================ */

h1,
h2,
h3,
h4,
p,
a,
span,
div{
  overflow-wrap:break-word;
}

table{
  max-width:100%;
}
