:root{
  --text: #0b1320;
  --muted: rgba(11, 19, 32, 0.70);
  --border: rgba(11, 19, 32, 0.10);
  --shadow: 0 16px 40px rgba(11, 19, 32, 0.08);
  --shadow2: 0 10px 24px rgba(11, 19, 32, 0.10);
  --accent: #1f6b3a;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
}

body::before{ content:none !important; background:none !important; }
body::after{
  content:"";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(31,107,58,0.07), transparent 60%),
    radial-gradient(700px 360px at 70% 0%, rgba(11,79,120,0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.wrap{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.page{ padding: 18px 0 34px 0; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 18px 0; /* Clearframe match */
}

.brand-mark{
  height: 56px;      /* Clearframe match */
  width: auto;
  display:block;
}

.nav{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav a{
  font-weight: 650;
  font-size: 14px;
  color: rgba(11, 19, 32, 0.88);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background .15s ease;
}

.nav a:hover{ background: rgba(11,19,32,0.06); }

.nav .nav-cta{
  font-weight: 800;
  background: rgba(31,107,58,0.10);
  border: 1px solid rgba(31,107,58,0.18);
}

.nav .nav-cta:hover{ background: rgba(31,107,58,0.14); }

.hero{
  padding: 24px 0 12px 0;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.hero-copy h1{
  margin: 0 0 10px 0;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.lead{
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 6px;
}

.btn{
  border: 1px solid rgba(11,19,32,0.16);
  background: rgba(255,255,255,0.8);
  color: rgba(11,19,32,0.92);
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration:none;
  display:inline-flex;
  gap:10px;
  align-items:center;
  box-shadow: 0 8px 18px rgba(11,19,32,0.08);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.95); border-color: rgba(11,19,32,0.22); }
.btn:active{ transform: translateY(0px); }

.btn.primary{
  background: rgba(31,107,58,0.10);
  border-color: rgba(31,107,58,0.18);
}

.micro{
  font-size: 12px;
  color: rgba(11,19,32,0.62);
  padding: 2px 6px;
}

.checks{
  margin: 14px 0 0 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 8px;
}

.checks li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(11,19,32,0.78);
  font-size: 14px;
}

.checks li::before{
  content:"✓";
  display:inline-grid;
  place-items:center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(31,107,58,0.10);
  color: rgba(11,19,32,0.92);
  font-weight: 950;
  margin-top: 1px;
  flex: 0 0 18px;
}

.card-shell{
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow:hidden;
}

.hero-card{
  display:flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 18px;
  text-align: left;
  min-height: 260px;
}

.hero-card-top{ width:100%; }

.hero-card-title{ font-weight: 900; }

.hero-card-sub{
  font-size: 14px;
  color: rgba(11, 19, 32, 0.68);
  margin-top: 2px;
  max-width: 42ch;
}

/* Hero card logo (match Clearframe sizing/placement) */
.hero-logo-center{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-logo-center img{
  width: 230px;   /* FINAL: ~30% smaller */
  height: auto;
  display:block;
}

/* Examples */
.examples-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.example-card{ padding: 14px; }

.pair{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shot{
  position:relative;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--border);
  background: rgba(11,19,32,0.02);
}

.shot img{
  display:block;
  width:100%;
  height: 260px;
  object-fit: cover;
}

.shot figcaption{
  font-size: 12px;
  color: rgba(11,19,32,0.72);
  padding: 10px 10px 12px 10px;
  border-top: 1px solid rgba(11,19,32,0.08);
  background: rgba(255,255,255,0.72);
}

.section{ padding: 18px 0; }

.section h2{
  margin: 0 0 10px 0;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.card{
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow2);
  padding: 14px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.bullets{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.bullets li{ margin: 8px 0; }

.steps{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 950;
  background: rgba(11,19,32,0.08);
  border: 1px solid rgba(11,19,32,0.12);
}

.step p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

.fit-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.fit h3{
  margin: 0 0 8px 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.fit p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.start-actions{
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap:wrap;
  margin-top: 8px;
}

.hr{
  height: 1px;
  background: rgba(11,19,32,0.10);
  margin: 12px 0;
}

.footer{
  padding: 18px 0 26px 0;
  border-top: 1px solid rgba(11, 19, 32, 0.08);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}

.footer-left{
  display:flex;
  gap: 10px;
  align-items:center;
}

/* Match Clearframe footer icon size */
.footer-icon{
  height: 44px;
  width: auto;
  display: block;
}

.footer-title{ font-weight: 900; }
.footer-sub{ font-size: 13px; color: var(--muted); }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .examples-grid{ grid-template-columns: 1fr; }
}

/* On small screens, let it breathe a bit but keep it controlled */
@media (max-width: 560px){
  .hero-logo-center img{ width: 210px; }
}
