/* styles.css */

:root{
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #5b6676;

  --line: rgba(31,41,55,.12);
  --shadow: 0 14px 30px rgba(31,41,55,.08);

  --warm: #f4efe6;
  --warm2:#f7f2ea;

  --coral: #f07b6a;
  --teal:  #2fb7a0;
  --corn:  #5f86ff;
  --sun:   #f3c75e;

  --radius: 18px;
  --radius2: 14px;

  --max: 980px;

  --fs0: 16px;
  --fs1: clamp(18px, 1.2vw + 14px, 20px);
  --fs2: clamp(22px, 2.1vw + 14px, 30px);
  --fs3: clamp(30px, 3.2vw + 16px, 44px);

  --lh: 1.55;
}

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

html, body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  font-size: var(--fs0);
  line-height: var(--lh);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(95,134,255,.10), transparent 55%),
    radial-gradient(900px 520px at 90% 10%, rgba(47,183,160,.10), transparent 60%),
    radial-gradient(980px 640px at 70% 110%, rgba(240,123,106,.10), transparent 55%),
    linear-gradient(180deg, var(--bg), #fff);
}

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

a{ color: inherit; }

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

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left: 16px;
  top: 16px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background: var(--paper);
  border:1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 999;
}

/* Header / Mast */
.page-header{
  padding: 34px 0 18px;
}

.mast{
  display:grid;
  gap: 18px;
  align-items: stretch;
}

.mast__text{
  padding: 18px 6px 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 10px;
  font-weight: 650;
  letter-spacing: .02em;
  color: var(--muted);
  font-size: 14px;
}
.kicker::before{
  content:"";
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(47,183,160,.85), rgba(95,134,255,.85));
  box-shadow: 0 8px 18px rgba(31,41,55,.10);
}

.title{
  margin: 0 0 10px;
  font-size: var(--fs3);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.subtitle{
  margin: 0 0 16px;
  font-size: var(--fs1);
  color: var(--muted);
  max-width: 52ch;
}

.takeaway-strip{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.takeaway-strip li{
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.80));
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 12px 26px rgba(31,41,55,.06);
}
.takeaway-strip strong{
  font-weight: 750;
}

.mast__art{
  margin:0;
  background: linear-gradient(180deg, var(--warm2), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.mast__art img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.caption{
  padding: 10px 14px 12px;
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* Cards */
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: clip;
}

.card + .card{ margin-top: 18px; }

.card__head{
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(244,239,230,.85), rgba(255,255,255,.92));
  border-bottom: 1px solid var(--line);
}

.card__head h2{
  margin:0;
  font-size: clamp(20px, 1.6vw + 14px, 28px);
  letter-spacing: -0.01em;
}

.card__body{
  padding: 16px;
}

.card__foot{
  padding: 12px 16px 14px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,239,230,.60));
}

.prose p{ margin: 0 0 10px; }
.prose p:last-child{ margin-bottom: 0; }

/* Hook */
.hook .note{
  display:flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 12px;
  margin-top: 12px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(47,183,160,.10), rgba(95,134,255,.07));
}
.note__icon{
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: rgba(31,41,55,.75);
}
.note p{
  margin: 2px 0 0;
  color: var(--muted);
}
.note strong{ color: var(--ink); }

/* Stack spacing */
.stack{
  margin-top: 18px;
  display:grid;
  gap: 18px;
}

/* Type card header row */
.head-row{
  display:flex;
  gap: 12px;
  align-items: center;
}
.type-icon{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display:grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,239,230,.60));
  box-shadow: 0 10px 18px rgba(31,41,55,.06);
  color: rgba(31,41,55,.78);
}

.label{
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.label strong{ color: var(--ink); }

/* Grid inside type cards */
.grid{
  display:grid;
  gap: 14px;
}
.cell{
  background: linear-gradient(180deg, rgba(251,250,247,.65), rgba(255,255,255,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 12px;
}
.cell h3{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: .01em;
  color: rgba(31,41,55,.90);
}
.cell p{ margin:0 0 8px; color: var(--muted); }
.cell p:last-child{ margin-bottom: 0; }

.cell ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(31,41,55,.86);
}
.cell li + li{ margin-top: 6px; }

.quotes{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.quotes li{
  padding: 8px 10px;
  border: 1px dashed rgba(31,41,55,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.80);
  color: rgba(31,41,55,.84);
}
.quotes li + li{ margin-top: 8px; }
.quotes li::before{
  content:"“";
  color: rgba(31,41,55,.55);
  margin-right: 4px;
}

/* Reframe block */
.reframe{
  display:grid;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(243,199,94,.12), rgba(240,123,106,.08));
}
.reframe__tag{
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(31,41,55,.62);
}
.reframe__line{
  margin: 0;
  color: rgba(31,41,55,.90);
  font-weight: 650;
}
.reframe__arrow{
  display:flex;
  justify-content: flex-start;
  color: rgba(31,41,55,.60);
}

/* Release script */
.script{
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(47,183,160,.25);
  background: linear-gradient(135deg, rgba(47,183,160,.12), rgba(255,255,255,.88));
}
.script__lead{
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(31,41,55,.65);
}
.script__line{
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.01em;
  font-size: clamp(16px, 0.8vw + 14px, 18px);
}

.resonates{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Type accents */
.type--identity .card__head{
  background: linear-gradient(180deg, rgba(95,134,255,.14), rgba(255,255,255,.92));
}
.type--guilt .card__head{
  background: linear-gradient(180deg, rgba(240,123,106,.14), rgba(255,255,255,.92));
}
.type--aspirational .card__head{
  background: linear-gradient(180deg, rgba(243,199,94,.18), rgba(255,255,255,.92));
}
.type--scarcity .card__head{
  background: linear-gradient(180deg, rgba(47,183,160,.16), rgba(255,255,255,.92));
}

/* Comparison strip */
.compare .card__body{
  padding: 14px 16px 16px;
}
.band{
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  overflow: clip;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(244,239,230,.60));
}
.compare-table{
  width:100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td{
  text-align:left;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(31,41,55,.10);
  vertical-align: top;
}
.compare-table thead th{
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(31,41,55,.70);
  background: rgba(255,255,255,.75);
}
.compare-table tbody th{
  font-weight: 800;
  width: 40%;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td{
  border-bottom: none;
}
.microcopy{
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Closing */
.closing__grid{
  display:grid;
  gap: 14px;
}
.closing-quote{
  margin-top: 12px;
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(95,134,255,.22);
  background: linear-gradient(135deg, rgba(95,134,255,.10), rgba(255,255,255,.88));
}
.closing-quote__line{
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.closing-check{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(31,41,55,.86);
}
.closing-check li + li{ margin-top: 6px; }

.closing__art{
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: clip;
  background: linear-gradient(180deg, var(--warm2), #fff);
}
.closing__art img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.footer-line{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Layout upgrades */
@media (min-width: 860px){
  .mast{
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    align-items: center;
  }
  .mast__text{
    padding: 18px 0 0;
  }

  .grid{
    grid-template-columns: 1fr 1fr;
  }
  .cell--wide{
    grid-column: 1 / -1;
  }

  .reframe{
    grid-template-columns: 1fr auto 1fr;
  }
  .reframe__arrow{
    justify-content: center;
  }

  .closing__grid{
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
  }
}

/* Print friendliness */
@media print{
  body{
    background: #fff;
  }
  .card{
    box-shadow: none;
  }
  .mast__art,
  .closing__art{
    box-shadow: none;
  }
}