/* amberpereza.digital — light grey page, white rounded tiles, one red accent */
:root{
  --page:#EEF0F3;
  --white:#FFFFFF;
  --black:#111111;
  --grey:#6B6F76;
  --line:#DDE0E5;
  --red:#E10600;
  --red-dark:#B80500;
  --head:"Inter Tight","Inter",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --text:"Inter",system-ui,-apple-system,"Segoe UI",Helvetica,Arial,sans-serif;
  --pad:clamp(16px,3vw,48px);
  --r-lg:28px;
  --r-md:18px;
  --wide:1360px;
}
*{box-sizing:border-box}
html{scroll-padding-top:5rem;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--page);color:var(--black);font-family:var(--text);font-size:16px;line-height:1.55}
a{color:inherit}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:4px}
h1,h2,h3{font-family:var(--head);margin:0;letter-spacing:-.03em;line-height:1.02;text-wrap:balance}
.jump{position:absolute;left:-999px;top:0;background:var(--black);color:#fff;padding:.5rem .9rem;border-radius:999px}
.jump:focus{left:1rem;top:1rem;z-index:20}

/* ---- top bar ---- */
.topbar{
  max-width:var(--wide);margin:0 auto;padding:1.3rem var(--pad);
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;
  font-size:.86rem;font-weight:600;letter-spacing:.01em;
}
.topbar-name{text-decoration:none;font-family:var(--head);font-weight:700;font-size:1.05rem;letter-spacing:-.02em}
.topbar-tag{justify-self:center;color:var(--red);font-weight:500;font-size:.8rem;border:1px solid currentColor;border-radius:999px;padding:.25rem .75rem;white-space:nowrap}
.topbar-links{justify-self:end;display:flex;gap:1.5rem}
.topbar-links a{text-decoration:none;text-transform:uppercase;font-size:.78rem;letter-spacing:.06em;padding-bottom:3px;border-bottom:2px solid transparent}
.topbar-links a:hover,.topbar-links a[aria-current="page"]{border-bottom-color:var(--red)}

/* ---- masthead ---- */
.masthead{max-width:var(--wide);margin:0 auto;padding:clamp(2.4rem,7vh,5.5rem) var(--pad) clamp(2rem,5vh,3.5rem);text-align:center}
.masthead h1{font-weight:800;font-size:clamp(3rem,10vw,9.5rem);letter-spacing:-.045em;line-height:.9;text-transform:uppercase}
.masthead-sub h1{font-size:clamp(2.6rem,7.5vw,7rem)}
.masthead-lede{max-width:60ch;margin:1.8rem auto 0;font-size:1.08rem;color:var(--black)}
.masthead-disc{max-width:64ch;margin:1.4rem auto 0;font-size:.86rem;color:var(--grey);line-height:1.5}

/* ---- white board with tiles ---- */
.board{max-width:var(--wide);margin:0 auto;padding:0 var(--pad) 2rem}
.board>*{max-width:100%}
.board-head{background:var(--white);border-radius:var(--r-lg) var(--r-lg) 0 0;padding:clamp(2rem,4vw,3.5rem) clamp(1.2rem,3vw,3rem) 0;text-align:center}
.board-head h2{font-size:clamp(1.6rem,3vw,2.6rem);font-weight:700}
.board-head p{margin:.8rem auto 0;max-width:56ch;color:var(--grey)}
.tiles{
  background:var(--white);padding:clamp(1.6rem,3vw,3rem) clamp(1.2rem,3vw,3rem) 0;
  display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;
}
.tiles-3{grid-template-columns:repeat(3,1fr)}
.tile{
  background:var(--page);border-radius:var(--r-md);padding:.75rem .75rem 1.4rem;
  display:flex;flex-direction:column;
}
.tile-cover{display:block;width:100%;height:auto;aspect-ratio:400/240;border-radius:12px;margin-bottom:1.2rem}
.tile-title{font-size:1.3rem;font-weight:700;letter-spacing:-.025em;line-height:1.1;padding:0 .6rem;margin-bottom:.7rem}
.tile-text{margin:0 0 1.2rem;padding:0 .6rem;font-size:.9rem;color:var(--grey);line-height:1.5;flex:1}
.tile-link{
  align-self:flex-start;margin-left:.6rem;text-decoration:none;font-family:var(--head);font-weight:700;
  text-transform:uppercase;letter-spacing:.06em;font-size:.82rem;display:inline-flex;align-items:center;gap:.4rem;
}
.tile-link svg{width:.9em;height:.9em}
.tile-link:hover{color:var(--red)}
.board-cta{background:var(--white);border-radius:0 0 var(--r-lg) var(--r-lg);padding:clamp(2rem,4vw,3.5rem) var(--pad);text-align:center}
.board-tight .board-head{padding-bottom:0}
.board-tight .tiles{border-radius:0 0 var(--r-lg) var(--r-lg);padding-bottom:clamp(1.6rem,3vw,3rem)}

/* ---- buttons ---- */
.button-red,.button-white{
  display:inline-block;font-family:var(--head);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.9rem;
  padding:.95rem 2.2rem;border-radius:999px;text-decoration:none;border:0;cursor:pointer;font-family:var(--head);
}
.button-red{background:var(--red);color:#fff}
.button-red:hover{background:var(--red-dark)}
.button-white{background:#fff;color:var(--black)}
.button-white:hover{background:var(--page)}

/* ---- pair cards ---- */
.pair{max-width:var(--wide);margin:0 auto;padding:0 var(--pad) 1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.pair-card{background:var(--white);border-radius:var(--r-lg);padding:clamp(1.6rem,3vw,2.8rem)}
.pair-card h2{font-size:clamp(1.5rem,2.4vw,2.1rem);font-weight:700;margin-bottom:1rem}
.pair-card p{margin:0 0 .9rem;color:#333}
.pair-card p:last-child{margin-bottom:0}
.pair-dark .pair-card{background:var(--black);color:#fff}
.pair-dark .pair-card p{color:#cfd2d6}
.ticks{list-style:none;margin:0;padding:0}
.ticks li{position:relative;padding-left:1.7rem;margin-bottom:.6rem;color:#333}
.ticks li::before{content:"";position:absolute;left:0;top:.5em;width:.75rem;height:.75rem;border-radius:50%;background:var(--red)}
.pair-dark .ticks li{color:#cfd2d6}
.ticks-no li::before{background:none;border:2px solid var(--red);width:.55rem;height:.55rem}

/* ---- red strip ---- */
.strip{max-width:var(--wide);margin:0 auto;padding:1rem var(--pad) 2rem}
.strip-inner{
  background:var(--red);color:#fff;border-radius:var(--r-lg);padding:clamp(1.8rem,4vw,3.2rem) clamp(1.4rem,4vw,3.2rem);
  display:flex;align-items:center;justify-content:space-between;gap:2rem;
}
.strip-text h2{font-size:clamp(1.5rem,2.8vw,2.4rem);font-weight:700;text-transform:uppercase;letter-spacing:-.02em}
.strip-text p{margin:.7rem 0 0;font-size:1rem;max-width:44ch;color:#ffe3e1}
.strip .button-white{flex:none}

/* ---- caution ---- */
.caution{max-width:var(--wide);margin:0 auto;padding:0 var(--pad) 2rem}
.caution-inner{background:var(--white);border-radius:var(--r-lg);padding:clamp(1.6rem,3vw,2.8rem);border-left:8px solid var(--red)}
.caution-inner h2{font-size:1.5rem;font-weight:700;margin-bottom:.8rem}
.caution-inner p{margin:0;max-width:72ch;color:#333}

/* ---- ask (big black question + mailto) ---- */
.ask{max-width:var(--wide);margin:0 auto;padding:clamp(3rem,8vh,6rem) var(--pad) clamp(3rem,8vh,6rem);text-align:center}
.ask h2{font-size:clamp(2.6rem,7vw,6.5rem);font-weight:800;text-transform:uppercase;letter-spacing:-.045em;line-height:.9}
.ask p{max-width:46ch;margin:1.4rem auto 0;color:var(--grey)}
.ask-mail{
  display:inline-block;margin-top:2rem;background:var(--white);border-radius:999px;padding:1.1rem 2.2rem;
  font-family:var(--head);font-weight:700;font-size:clamp(1.05rem,2.2vw,1.6rem);letter-spacing:-.02em;text-decoration:none;
  word-break:break-all;
}
.ask-mail:hover{color:var(--red)}
.ask-small{font-size:.85rem}
.ask-page{padding-top:0;padding-bottom:1rem}
.ask-page .ask-mail{margin-top:0}

/* ---- reading pages ---- */
.chapters{
  max-width:var(--wide);margin:0 auto;padding:0 var(--pad);display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;
}
.chapters a{text-decoration:none;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;background:var(--white);border-radius:999px;padding:.5rem 1rem}
.chapters a:hover{color:var(--red)}
.reading{max-width:var(--wide);margin:0 auto;padding:1.5rem var(--pad) 3rem;display:grid;gap:1rem}
.chapter{background:var(--white);border-radius:var(--r-lg);padding:clamp(1.6rem,3vw,3rem)}
.chapter h2{font-size:clamp(1.5rem,2.6vw,2.3rem);font-weight:700;margin-bottom:1rem;max-width:26ch}
.chapter p{margin:0 0 1em;font-size:1.05rem;line-height:1.6;max-width:68ch;color:#222}
.chapter p:last-child{margin-bottom:0}
.chapter address{font-style:normal;font-size:1.05rem;line-height:1.6}
.chapter-note{background:var(--black);color:#fff;border-radius:var(--r-lg);padding:clamp(1.4rem,3vw,2.4rem)}
.chapter-note p{margin:0;max-width:68ch;color:#cfd2d6}

/* ---- the list ---- */
.listwrap{max-width:var(--wide);margin:0 auto;padding:0 var(--pad) 3rem}
.listwrap-top{
  background:var(--white);border-radius:var(--r-lg) var(--r-lg) 0 0;padding:clamp(1.6rem,3vw,2.8rem);
  display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;border-bottom:1px solid var(--line);
}
.listwrap-disc{margin:0;font-size:.9rem;color:var(--grey);max-width:60ch;padding-left:1rem;border-left:4px solid var(--red)}
.listwrap-tools{display:flex;flex-direction:column;align-items:flex-end;gap:.6rem;text-align:right}
.listwrap-hint{font-size:.78rem;color:var(--grey);max-width:24ch}
.steps{list-style:none;margin:0;padding:0;background:var(--white);border-radius:0 0 var(--r-lg) var(--r-lg);overflow:hidden}
.step{display:grid;grid-template-columns:auto 1fr;column-gap:1.2rem;padding:1.5rem clamp(1.6rem,3vw,2.8rem);border-bottom:1px solid var(--line)}
.step:last-child{border-bottom:0}
.step-box{
  appearance:none;-webkit-appearance:none;margin:.2rem 0 0;width:1.6rem;height:1.6rem;border:2px solid var(--black);border-radius:8px;
  background:#fff;cursor:pointer;position:relative;flex:none;grid-row:1/3;
}
.step-box:checked{background:var(--red);border-color:var(--red)}
.step-box:checked::after{content:"";position:absolute;left:.42rem;top:.14rem;width:.4rem;height:.85rem;border:solid #fff;border-width:0 3px 3px 0;transform:rotate(45deg)}
.step-label{display:flex;gap:1rem;align-items:baseline;cursor:pointer}
.step-num{font-family:var(--head);font-weight:700;color:var(--red);font-size:.95rem;letter-spacing:0;flex:none}
.step-title{font-family:var(--head);font-weight:700;font-size:clamp(1.15rem,1.8vw,1.45rem);letter-spacing:-.02em;line-height:1.15}
.step-box:checked~.step-label .step-title{text-decoration:line-through;text-decoration-thickness:2px;color:var(--grey)}
.step-text{grid-column:2;margin:.6rem 0 0;color:#444;max-width:66ch;line-height:1.55}
.listwrap-end{max-width:68ch;margin:2rem 0 0;color:#333}

/* ---- footer ---- */
.bottom{background:var(--black);color:#fff;margin:1rem var(--pad) var(--pad);border-radius:var(--r-lg)}
.bottom-inner{max-width:var(--wide);margin:0 auto;padding:clamp(1.8rem,4vw,3rem) clamp(1.4rem,4vw,3.2rem) clamp(1.6rem,3vw,2.4rem)}
.bottom-row{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap}
.bottom-name{text-decoration:none;font-family:var(--head);font-weight:700;font-size:1rem}
.bottom-links{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem}
.bottom-links a{text-decoration:none;text-transform:uppercase;font-size:.75rem;letter-spacing:.06em;font-weight:600;color:#cfd2d6}
.bottom-links a:hover{color:#fff}
.bottom-big{
  font-family:var(--head);font-weight:800;text-transform:uppercase;letter-spacing:-.045em;line-height:.9;
  font-size:clamp(3rem,11vw,10.5rem);margin:clamp(2rem,5vw,4rem) 0 clamp(1.5rem,4vw,3rem);text-align:center;
}
.bottom-big span{display:block;color:var(--red)}
.bottom-row-2{align-items:flex-start;border-top:1px solid #333;padding-top:1.6rem}
.bottom-addr{margin:0;font-size:.9rem;color:#cfd2d6;line-height:1.6}
.bottom-disc{margin:0;font-size:.8rem;color:#9a9ea5;max-width:62ch;line-height:1.55}
.bottom-disc a,.bottom-addr a{color:#fff}

/* ---- responsive ---- */
@media (max-width:1100px){
  .tiles{grid-template-columns:repeat(2,1fr)}
  .tiles-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:820px){
  .topbar{grid-template-columns:1fr auto;grid-template-rows:auto auto;row-gap:.7rem}
  .topbar-tag{grid-column:1/-1;grid-row:2;justify-self:start}
  .topbar-links{gap:1rem}
  .pair{grid-template-columns:1fr}
  .strip-inner{flex-direction:column;align-items:flex-start}
  .listwrap-top{grid-template-columns:1fr}
  .listwrap-tools{align-items:flex-start;text-align:left}
  .bottom-row-2{flex-direction:column}
}
@media (max-width:560px){
  .tiles,.tiles-3{grid-template-columns:1fr}
  .masthead h1{font-size:clamp(2.6rem,14vw,4.6rem)}
  .masthead-sub h1{font-size:clamp(2.2rem,12vw,3.8rem)}
  .ask h2{font-size:clamp(2.2rem,11vw,3.6rem)}
  .topbar-links a{font-size:.72rem}
  .step{grid-template-columns:auto 1fr;padding-left:1.2rem;padding-right:1.2rem}
  .step-label{flex-direction:column;gap:.2rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---- print (the list) ---- */
@media print{
  body{background:#fff;color:#000;font-size:11pt}
  .topbar,.listwrap-tools,.bottom-big,.bottom-links,.chapters,.jump{display:none}
  .masthead{padding:0 0 1rem;text-align:left}
  .masthead h1{font-size:30pt;text-transform:none}
  .masthead-lede,.masthead-disc{margin-left:0;font-size:10pt}
  .listwrap{padding:0}
  .listwrap-top,.steps,.chapter{border-radius:0;box-shadow:none;background:#fff;padding:0}
  .listwrap-disc{border-left-color:#000;font-size:9.5pt}
  .step{padding:.6rem 0;border-bottom:1px solid #999;break-inside:avoid}
  .step-box{border-color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .step-num{color:#000}
  .step-text,.listwrap-end{color:#000;font-size:10pt}
  a{text-decoration:none;color:#000}
  .bottom{background:#fff;color:#000;margin:1rem 0 0;border-top:1px solid #000;border-radius:0}
  .bottom-inner{padding:.8rem 0}
  .bottom-disc,.bottom-addr{color:#000}
  .bottom-disc a,.bottom-addr a{color:#000}
}
