/* H5.4-R2 — approved 1:1 homepage hero treatment */
.home-hero-approved{
  min-height:720px;
  padding:96px 0 74px;
  grid-template-columns:minmax(0,1.08fr) minmax(520px,.92fr);
  gap:74px;
  align-items:center;
}
.home-hero-approved .home-hero-copy{align-self:center}
.home-hero-approved .home-kicker{
  margin-bottom:18px;
  font-size:13px;
  font-weight:600;
}
.home-hero-approved h1{
  margin:0 0 24px;
  max-width:760px;
  font-family:Baskerville,"Baskerville Old Face","Iowan Old Style","Times New Roman",serif;
  font-weight:400;
  font-style:normal;
  line-height:.98;
  letter-spacing:-.035em;
}
.home-hero-approved .hero-line{
  display:block;
  font-size:clamp(66px,6.25vw,104px);
  font-weight:400;
}
.home-hero-approved .hero-line-light{color:#f4f7fa}
.home-hero-approved .hero-line-signal{color:var(--signal)}
.home-hero-approved .home-lead{
  max-width:760px;
  font-size:17px;
  line-height:1.62;
}
.home-hero-approved .home-actions{margin-top:24px}
.home-hero-approved .home-trustline{
  max-width:760px;
  margin-top:18px;
  font-size:11.5px;
  line-height:1.55;
}
.home-hero-approved .home-hero-visual{
  min-height:560px;
  border-color:var(--line-bright);
  background:
    radial-gradient(circle at 86% 12%,rgba(54,216,242,.16),transparent 32%),
    linear-gradient(145deg,#0a1720 0%,#101f2b 56%,#0b1821 100%);
}
.home-hero-approved .home-hero-visual::before{
  opacity:.18;
}
.home-hero-approved .home-hero-visual::after{
  content:"";
  position:absolute;
  top:-1px;
  left:-1px;
  width:20px;
  height:20px;
  border-top:2px solid var(--signal);
  border-left:2px solid var(--signal);
  border-radius:0;
  background:none;
  filter:none;
}
.home-hero-brand-approved{
  position:absolute;
  left:42px;
  right:42px;
  top:46px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:24px;
}
.home-hero-brand-mark{
  width:132px;
  height:132px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 0 24px rgba(54,216,242,.28);
}
.home-hero-brand-word{
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:-.04em;
  background:linear-gradient(90deg,#f4f7fa 0%,#dfe7ec 44%,#36d8f2 60%,#22cbe8 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.home-hero-brand-word{
  font-size:74px;
  line-height:1;
}
.home-hero-approved .home-hero-stack{
  left:42px;
  right:42px;
  bottom:34px;
  gap:12px;
}
.home-hero-approved .home-status-card{
  min-height:210px;
  padding:22px;
  border-color:var(--line-bright);
  background:rgba(17,31,42,.74);
  backdrop-filter:none;
}
.home-hero-approved .home-status-card b{
  margin-bottom:18px;
  font-size:12px;
}
.home-hero-approved .home-status-card strong{
  margin-bottom:10px;
  font-size:20px;
  line-height:1.16;
  font-weight:600;
}
.home-hero-approved .home-status-card span{
  font-size:13px;
  line-height:1.55;
}
@media(max-width:1120px){
  .home-hero-approved{
    grid-template-columns:1fr;
    gap:34px;
  }
  .home-hero-approved .home-hero-visual{min-height:540px}
}
@media(max-width:680px){
  .home-hero-approved{
    min-height:0;
    padding:48px 0 54px;
  }
  .home-hero-approved .hero-line{
    font-size:clamp(52px,15vw,76px);
  }
  .home-hero-approved .home-lead{font-size:15.5px}
  .home-hero-approved .home-hero-visual{min-height:710px}
  .home-hero-brand-approved{
    left:20px;
    right:20px;
    top:24px;
    gap:14px;
  }
  .home-hero-brand-mark{
    width:82px;
    height:82px;
    border-radius:16px;
  }
  .home-hero-brand-word{font-size:42px}
  .home-hero-approved .home-hero-stack{
    left:20px;
    right:20px;
    bottom:20px;
    grid-template-columns:1fr;
  }
  .home-hero-approved .home-status-card{min-height:0}
}

.index-shell{
  --home-max:1180px;
  width:min(var(--home-max),calc(100% - 32px));
  margin-inline:auto;
}
.home-hero{
  padding:78px 0 54px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:52px;
  align-items:center;
}
.home-kicker{
  color:var(--signal);
  font-family:var(--mono);
  font-size:12px;
  font-weight:600;
  letter-spacing:.02em;
}
.home-hero h1{
  margin:14px 0 18px;
  max-width:780px;
  font-size:clamp(44px,6.2vw,76px);
  line-height:.98;
  letter-spacing:-.045em;
  font-weight:700;
}
.home-hero h1 span{color:var(--signal)}
.home-lead{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}
.home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:26px;
}
.home-trustline{
  margin-top:18px;
  color:var(--muted-dim);
  font-family:var(--mono);
  font-size:11px;
  line-height:1.6;
}
.home-hero-visual{
  position:relative;
  min-height:470px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at 75% 20%,var(--signal-dim),transparent 34%),
    linear-gradient(145deg,var(--screen),color-mix(in srgb,var(--screen) 82%,var(--surface)));
}
.home-hero-visual::before,
.home-hero-visual::after{
  content:"";
  position:absolute;
  pointer-events:none;
}
.home-hero-visual::before{
  inset:0;
  background:
    linear-gradient(90deg,transparent 0 31px,var(--grid-dot) 31px 32px) 0 0/32px 100%,
    linear-gradient(0deg,transparent 0 31px,var(--grid-dot) 31px 32px) 0 0/100% 32px;
  opacity:.65;
}
.home-hero-visual::after{
  width:220px;
  height:220px;
  right:-54px;
  top:-64px;
  border-radius:50%;
  background:var(--signal-dim);
  filter:blur(28px);
}
.home-hero-brand{
  position:absolute;
  left:34px;
  right:34px;
  top:34px;
  z-index:2;
}
.home-hero-brand img{
  display:block;
  width:min(520px,100%);
  height:auto;
}
.home-hero-stack{
  position:absolute;
  left:34px;
  right:34px;
  bottom:34px;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.home-status-card{
  min-height:124px;
  padding:18px;
  border:1px solid var(--line-bright);
  background:color-mix(in srgb,var(--surface) 86%,transparent);
  backdrop-filter:blur(8px);
}
.home-status-card b{
  display:block;
  margin-bottom:12px;
  color:var(--signal);
  font-family:var(--mono);
  font-size:11px;
  font-weight:600;
}
.home-status-card strong{
  display:block;
  margin-bottom:5px;
  font-size:15px;
  font-weight:600;
}
.home-status-card span{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.home-section{
  padding:78px 0 0;
}
.home-section-head{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(280px,.55fr);
  gap:36px;
  align-items:end;
  margin-bottom:24px;
}
.home-section-head h2{
  margin:8px 0 0;
  font-size:clamp(30px,4vw,48px);
  line-height:1.04;
  letter-spacing:-.035em;
  font-weight:650;
}
.home-section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.home-core-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.home-core-card{
  padding:24px;
  border:1px solid var(--line);
  background:var(--surface);
}
.home-core-card .home-num{
  display:block;
  margin-bottom:30px;
  color:var(--signal);
  font-family:var(--mono);
  font-size:12px;
}
.home-core-card h3{
  margin:0 0 8px;
  font-size:20px;
  font-weight:600;
}
.home-core-card p{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.6;
}

.layers-showcase{
  margin-top:92px;
  padding:34px;
  border:1px solid var(--line-bright);
  background:
    radial-gradient(circle at 87% 18%,var(--signal-dim),transparent 28%),
    linear-gradient(150deg,var(--screen),color-mix(in srgb,var(--screen) 84%,var(--surface)));
  overflow:hidden;
}
.layers-top{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:42px;
  align-items:start;
}
.layers-top h2{
  margin:10px 0 14px;
  max-width:760px;
  color:#f3f7fa;
  font-size:clamp(34px,4.8vw,58px);
  line-height:1.02;
  letter-spacing:-.04em;
}
.layers-top p{
  margin:0;
  max-width:720px;
  color:#aebac5;
  font-size:16px;
  line-height:1.65;
}
.layers-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#7ce9f7;
  font-family:var(--mono);
  font-size:11px;
}
.layers-badge::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#4be89a;
  box-shadow:0 0 8px rgba(75,232,154,.55);
}

.layers-availability{
  margin-top:22px;
  padding:14px 16px;
  display:grid;
  gap:4px;
  border:1px solid rgba(255,171,46,.42);
  background:rgba(255,171,46,.08);
}
.layers-availability strong{
  color:#ffd28f;
  font-size:13px;
}
.layers-availability span{
  color:#aebac5;
  font-size:12px;
  line-height:1.5;
}
.layers-disabled{
  cursor:not-allowed;
  opacity:.68;
  pointer-events:none;
}
.layers-real-ui{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  grid-template-rows:auto auto;
  gap:10px;
  margin-top:30px;
}
.layers-shot{
  margin:0;
  min-width:0;
  overflow:hidden;
  border:1px solid #314352;
  background:#07131c;
}
.layers-shot-main{
  grid-row:1 / span 2;
}
.layers-shot img{
  display:block;
  width:100%;
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:top left;
}
.layers-shot-main img{
  aspect-ratio:16 / 9;
}
.layers-shot:not(.layers-shot-main) img{
  aspect-ratio:16 / 8.25;
}
.layers-shot figcaption{
  padding:9px 11px;
  border-top:1px solid #314352;
  color:#92a2af;
  background:#0d1a23;
  font-family:var(--mono);
  font-size:10.5px;
}

.layers-flow{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
  margin-top:30px;
}
.layers-flow div{
  min-height:108px;
  padding:15px;
  border:1px solid #314352;
  background:rgba(20,30,39,.78);
}
.layers-flow b{
  display:block;
  margin-bottom:18px;
  color:#36d8f2;
  font-family:var(--mono);
  font-size:10px;
}
.layers-flow strong{
  display:block;
  color:#f2f6f8;
  font-size:14px;
  font-weight:600;
}
.layers-flow span{
  display:block;
  margin-top:4px;
  color:#92a2af;
  font-size:11.5px;
  line-height:1.45;
}
.layers-features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px;
}
.layers-feature{
  padding:16px;
  border:1px solid #314352;
  background:rgba(20,30,39,.7);
}
.layers-feature strong{
  display:block;
  margin-bottom:5px;
  color:#f2f6f8;
  font-size:13px;
}
.layers-feature span{
  color:#92a2af;
  font-size:11.5px;
  line-height:1.45;
}
.layers-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.layers-actions .btn-secondary{
  background:rgba(24,33,42,.85);
  color:#eef3f7;
  border-color:#556777;
}

.home-cap-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.home-cap{
  min-height:168px;
  padding:20px;
  border:1px solid var(--line);
  background:var(--surface);
}
.home-cap-icon{
  width:34px;
  height:34px;
  margin-bottom:22px;
  display:grid;
  place-items:center;
  border:1px solid var(--line-bright);
  background:var(--surface-raised);
  color:var(--signal);
  font-family:var(--mono);
  font-size:13px;
}
.home-cap h3{
  margin:0 0 6px;
  font-size:16px;
  font-weight:600;
}
.home-cap p{
  margin:0;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.55;
}

.home-agency{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:12px;
}
.home-agency-copy,
.home-agency-grid{
  border:1px solid var(--line);
  background:var(--surface);
}
.home-agency-copy{padding:30px}
.home-agency-copy h2{
  margin:8px 0 12px;
  font-size:36px;
  line-height:1.05;
  letter-spacing:-.03em;
}
.home-agency-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}
.home-agency-grid{
  padding:14px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:10px;
}
.home-agency-item{
  padding:18px;
  background:var(--surface-raised);
  border:1px solid var(--line);
}
.home-agency-item strong{
  display:block;
  margin-bottom:6px;
  font-size:14px;
}
.home-agency-item span{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.home-plans{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.home-plan{
  padding:24px;
  border:1px solid var(--line);
  background:var(--surface);
}
.home-plan.featured{border-color:var(--signal)}
.home-plan h3{margin:0 0 8px;font-size:18px}
.home-plan p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.55}

.home-guides{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.home-guide-card{
  padding:24px;
  border:1px solid var(--line);
  background:var(--surface);
}
.home-guide-card h3{margin:0 0 8px;font-size:18px}
.home-guide-card p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.55}

.home-final{
  margin-top:92px;
  margin-bottom:20px;
  padding:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border:1px solid var(--line-bright);
  background:var(--surface-raised);
}
.home-final h2{
  margin:0 0 7px;
  font-size:32px;
  letter-spacing:-.025em;
}
.home-final p{margin:0;color:var(--muted)}
.home-final .home-actions{margin-top:0}

@media(max-width:980px){
  .home-hero{grid-template-columns:1fr}
  .home-hero-visual{min-height:430px}
  .home-section-head{grid-template-columns:1fr}
  .home-core-grid{grid-template-columns:1fr 1fr}
  .layers-top{grid-template-columns:1fr}
  .layers-real-ui{grid-template-columns:1fr 1fr;grid-template-rows:auto auto}
  .layers-shot-main{grid-column:1 / -1;grid-row:auto}
  .layers-flow{grid-template-columns:repeat(3,1fr)}
  .home-cap-grid{grid-template-columns:repeat(2,1fr)}
  .home-agency{grid-template-columns:1fr}
}
@media(max-width:680px){
  .index-shell{width:min(100% - 22px,var(--home-max))}
  .home-hero{padding-top:42px;gap:26px}
  .home-hero h1{font-size:clamp(40px,13vw,58px)}
  .home-lead{font-size:16px}
  .home-hero-visual{min-height:510px}
  .home-hero-brand{left:20px;right:20px;top:24px}
  .home-hero-stack{
    left:20px;right:20px;bottom:20px;
    grid-template-columns:1fr;
  }
  .home-status-card{min-height:0}
  .home-section{padding-top:56px}
  .home-core-grid,
  .home-cap-grid,
  .home-plans,
  .home-guides,
  .home-agency-grid{grid-template-columns:1fr}
  .layers-showcase{margin-top:64px;padding:22px}
  .layers-real-ui{grid-template-columns:1fr}
  .layers-shot-main{grid-column:auto}
  .layers-flow{grid-template-columns:1fr}
  .layers-features{grid-template-columns:1fr}
  .home-final{margin-top:64px;padding:24px;align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  .home-hero-visual::after{filter:none}
}


/* H5.4-R5 — keep the existing logo above; show the original editor image below it without cropping */
.home-hero-original-image{
  position:absolute;
  left:42px;
  right:42px;
  top:220px;
  bottom:34px;
  z-index:2;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow:hidden;
}
.home-hero-original-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
  border:1px solid var(--line-bright);
}
@media(max-width:680px){
  .home-hero-original-image{
    left:20px;
    right:20px;
    top:140px;
    bottom:20px;
  }
}

