/* WordCamp PWA Studio landing. Its own identity, kept deliberately plain:
   near-black ink, white, one WordPress blue, system type, hairlines not shadows.
   The event colours only ever appear inside the phone screenshots. */
:root{
  --ink:#1d2327;        /* WordPress admin near-black */
  --body:#3c434a;       /* readable grey for prose */
  --muted:#6b7178;
  --line:#e3e5e8;
  --line-soft:#eef0f2;
  --bg:#ffffff;
  --soft:#f6f7f7;       /* WP admin surface, used sparingly */
  --blue:#3858e9;       /* WordPress blue accent */
  --blue-ink:#2036c2;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --maxw:1080px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--body);background:var(--bg);
  font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{color:var(--ink);margin:0;line-height:1.15;letter-spacing:-.02em;font-weight:800}
p{margin:0}
a{color:var(--blue-ink);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;display:block}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;color:var(--ink);background:var(--soft);padding:2px 6px;border-radius:4px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
.lead{font-size:20px;line-height:1.6;color:var(--body)}
.muted{color:var(--muted)}
.small{font-size:14px}

/* buttons: rectangular, flat, deliberate */
.btn{display:inline-block;font-family:inherit;font-size:16px;font-weight:600;padding:12px 20px;border-radius:8px;
  border:1px solid transparent;cursor:pointer;transition:background .12s,border-color .12s}
.btn.primary{background:var(--blue);color:#fff}
.btn.primary:hover{background:var(--blue-ink);text-decoration:none}
.btn.line{background:#fff;color:var(--ink);border-color:var(--line)}
.btn.line:hover{border-color:var(--ink);text-decoration:none}
.btn.lg{font-size:17px;padding:14px 24px}
.btn.sm{font-size:14px;padding:9px 15px}
.btnrow{display:flex;gap:12px;flex-wrap:wrap}
.btnrow.center{justify-content:center}

/* nav */
.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.9);backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--line-soft)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:62px}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700;font-size:16px}
.logo:hover{text-decoration:none}
.mark{width:22px;height:22px;border-radius:6px;background:var(--blue);position:relative;flex:none}
.mark::after{content:"";position:absolute;inset:6px;border-radius:2px;background:#fff;opacity:.9}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{color:var(--body);font-weight:500;font-size:15px}
.nav-links a:hover{color:var(--ink);text-decoration:none}
.nav-links .btn{color:#fff}
@media(max-width:720px){.nav-links a:not(.btn){display:none}}

/* section rhythm */
.section{padding:76px 0}
.section.tight{padding:52px 0}
.section.soft{background:var(--soft);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.head{max-width:660px}
.head.center{margin:0 auto;text-align:center}
.head h2{font-size:clamp(26px,3.4vw,34px)}
.head p{margin-top:12px;font-size:18px;color:var(--muted)}
hr.rule{border:0;border-top:1px solid var(--line);margin:0}

/* hero */
.hero{padding:84px 0 40px}
.hero h1{font-size:clamp(38px,6vw,66px);font-weight:800;letter-spacing:-.03em;max-width:15ch}
.hero .lead{margin-top:22px;max-width:52ch}
.hero .btnrow{margin-top:30px}
.hero .microcopy{margin-top:14px;font-size:14px;color:var(--muted)}

/* device filmstrip: upright, thin bezel, quiet shadow, no tilt */
.strip{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:8px}
.device figure{margin:0}
.device .screen{border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 28px rgba(29,35,39,.08)}
.device .screen img{width:100%;height:auto}
.device figcaption{margin-top:12px;font-size:14px;color:var(--muted);text-align:center}
@media(max-width:760px){.strip{grid-template-columns:1fr;max-width:340px;margin-inline:auto}}

/* scan */
.scan{display:grid;grid-template-columns:auto 1fr;gap:40px;align-items:center}
.qrbox{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:inline-block}
.qrbox img,.qrbox canvas{display:block}
.scan .cap{margin-top:10px;font-size:13px;color:var(--muted);text-align:center;font-weight:500}
.scan h2{font-size:clamp(24px,3.2vw,32px)}
.scan p{margin-top:12px;font-size:18px;color:var(--body)}
@media(max-width:680px){.scan{grid-template-columns:1fr;justify-items:start}}

/* reasons: a plain definition list, hairline separated */
.reasons{display:grid;grid-template-columns:1fr 1fr;gap:0 48px}
.reasons .row{display:grid;grid-template-columns:1fr;gap:4px;padding:20px 0;border-top:1px solid var(--line)}
.reasons .row h4{font-size:17px;font-weight:700}
.reasons .row p{color:var(--muted);font-size:15.5px}
@media(max-width:680px){.reasons{grid-template-columns:1fr}}

/* two-up (image + prose) */
.twoup{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.twoup.flip .prose{order:-1}
.twoup .shot .screen{border:1px solid var(--line);border-radius:22px;overflow:hidden;max-width:300px;margin:0 auto;
  box-shadow:0 12px 28px rgba(29,35,39,.08)}
.twoup .prose h2{font-size:clamp(24px,3.2vw,32px)}
.twoup .prose p{margin-top:14px;font-size:18px;color:var(--body)}
.plainlist{list-style:none;padding:0;margin:18px 0 0}
.plainlist li{position:relative;padding-left:22px;margin:10px 0;color:var(--body);font-size:16px}
.plainlist li::before{content:"";position:absolute;left:0;top:10px;width:7px;height:7px;border-radius:2px;background:var(--blue)}
@media(max-width:760px){.twoup{grid-template-columns:1fr;gap:28px}.twoup.flip .prose{order:0}}

/* console shot */
.console{border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 12px 30px rgba(29,35,39,.08)}
.console img{width:100%}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:28px 40px;margin-top:36px}
.grid3 h4{font-size:16px;font-weight:700}
.grid3 p{margin-top:4px;color:var(--muted);font-size:15px}
@media(max-width:760px){.grid3{grid-template-columns:1fr;gap:22px}}

/* steps: numbered, quiet */
.steps{list-style:none;padding:0;margin:0;counter-reset:s;max-width:760px}
.steps li{counter-increment:s;display:grid;grid-template-columns:auto 1fr;gap:18px;padding:22px 0;border-top:1px solid var(--line)}
.steps li:first-child{border-top:0}
.steps li::before{content:counter(s);font-size:15px;font-weight:700;color:var(--blue);border:1px solid var(--line);
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center}
.steps h4{font-size:18px;font-weight:700}
.steps p{margin-top:4px;color:var(--muted);font-size:16px}
.exportnote{margin-top:26px;padding:18px 20px;background:var(--soft);border:1px solid var(--line-soft);border-radius:10px;max-width:760px}
.exportnote h4{font-size:16px;font-weight:700}
.exportnote p{margin-top:4px;color:var(--muted);font-size:15.5px}

/* run band */
.run{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  padding:34px 32px;border:1px solid var(--line);border-radius:14px}
.run h3{font-size:22px}
.run p{margin-top:6px;color:var(--muted);max-width:52ch}

/* final */
.final{text-align:center}
.final h2{font-size:clamp(28px,4vw,42px);max-width:18ch;margin:0 auto}
.final p{margin:16px auto 26px;max-width:54ch;font-size:19px;color:var(--body)}

/* footer */
.foot{border-top:1px solid var(--line);padding:34px 0;color:var(--muted);font-size:14px}
.foot .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}

/* let the logo shrink instead of colliding with the nav CTA */
.logo{min-width:0}

/* ---------- Mobile ---------- */
@media (max-width:600px){
  body{font-size:16px}
  .wrap{padding:0 20px}
  .section{padding:52px 0}
  .section.tight{padding:34px 0}

  /* nav: keep it a clean logo bar; the hero carries the same call to action */
  .nav .wrap{height:56px}
  .nav-links .btn{display:none}
  .logo{font-size:15px}

  /* hero */
  .hero{padding:36px 0 24px}
  .hero h1{font-size:clamp(31px,8.2vw,42px);letter-spacing:-.02em;max-width:none}
  .hero .lead{font-size:17px;margin-top:18px}
  .hero .btnrow{margin-top:24px;flex-direction:column;align-items:stretch}
  .lead{font-size:17px}

  /* full-width, comfortable tap targets */
  .btnrow .btn{width:100%;text-align:center}
  .btnrow.center{flex-direction:column;align-items:stretch}

  /* headings and prose */
  .head h2{font-size:clamp(23px,6.4vw,28px)}
  .head p{font-size:16px}
  .scan h2,.twoup .prose h2,.final h2{font-size:clamp(23px,6.4vw,28px)}
  .scan p,.twoup .prose p,.final p{font-size:16px}

  /* filmstrip: one phone at a time, not oversized */
  .strip{gap:22px}
  .device .screen{max-width:300px;margin:0 auto}

  /* scan block stacks with the code centered */
  .scan{gap:22px;justify-items:center;text-align:center}
  .scan .cap{margin-top:8px}

  /* the console shot is a wide desktop view: let it scroll rather than shrink to dust */
  .console{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:10px}
  .console img{width:820px;max-width:none}

  /* run band and steps */
  .run{padding:24px 20px;flex-direction:column;align-items:stretch}
  .run .btn{width:100%;text-align:center}
  .steps li{gap:14px;padding:18px 0}
  .exportnote{padding:16px 18px}

  /* footer reads better stacked */
  .foot .wrap{flex-direction:column;align-items:flex-start;gap:8px}
}

/* very small phones */
@media (max-width:360px){
  .hero h1{font-size:29px}
  .logo{font-size:14px}
}
