/* =========================================================
   Picacg — main stylesheet
   Edit the variables below to restyle the whole site.
   ========================================================= */
:root {
  /* Brand colours (taken from the Picacg logo) */
  --pink: #ec74a2;
  --pink-hot: #e43f86;
  --pink-deep: #b8236a;
  --blush: #ffd8eb;
  --blush-soft: #fff0f6;
  --cream: #fff8fb;
  --white: #ffffff;
  --ink: #2a0e1f;
  --ink-soft: #5c3a4d;
  --wine: #1e0a17;
  --wine-2: #3a1029;
  --gold: #e9c08c;
  --line: #f2d3e1;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Hero heading size — change these two values to resize the hero H1 */
  --hero-title-size: clamp(2.5rem, 5.6vw, 5.2rem);
  --hero-title-mobile: 11.4vw;

  --h2-size: clamp(1.9rem, 3.4vw, 2.85rem);
  --body-size: 1.05rem;

  /* Layout */
  --container: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -22px rgba(74, 16, 48, .35);
  --shadow-ink: 6px 6px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { color: var(--pink-hot); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
code { font-family: var(--font-mono); font-size: .9em; background: var(--blush-soft); color: var(--pink-deep); padding: .12em .4em; border-radius: 6px; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip-link:focus { left: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer; line-height: 1;
}
.btn img { width: 22px; height: 22px; border-radius: 6px; }
.btn-primary { background: linear-gradient(135deg, var(--pink-hot), var(--pink)); color: #fff; box-shadow: 0 12px 30px -10px rgba(228, 63, 134, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(228, 63, 134, .85); }
.btn-ghost { border-color: rgba(255, 216, 235, .45); color: #ffe6f1; }
.btn-ghost:hover { background: rgba(255, 216, 235, .1); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--pink-hot); color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--wine); color: #fff; position: relative; z-index: 20; border-bottom: 1px solid rgba(255, 216, 235, .08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255, 216, 235, .25); }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; letter-spacing: .01em; }
.brand-name em { font-style: italic; color: var(--pink); font-weight: 500; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: .35rem; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 216, 235, .1); border-radius: 999px; }
.main-nav a { display: block; padding: .5rem .95rem; border-radius: 999px; color: #f4d4e3; font-size: .95rem; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { background: var(--pink-hot); color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 216, 235, .25); background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 85% 20%, rgba(236, 116, 162, .32), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(184, 35, 106, .35), transparent 60%),
    linear-gradient(160deg, var(--wine) 0%, var(--wine-2) 55%, #4a1236 100%);
  padding: clamp(3rem, 6vw, 5.5rem) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 216, 235, .16) 1.4px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
  mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(233, 192, 140, .25); box-shadow: 0 0 0 40px rgba(233, 192, 140, .04), 0 0 0 90px rgba(233, 192, 140, .03);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem; }
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 { font-size: var(--hero-title-size); line-height: 1.02; color: #fff; margin-bottom: 1.4rem; font-weight: 600; letter-spacing: -.025em; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .accent { font-style: italic; font-weight: 500; background: linear-gradient(90deg, #ffb9d6, var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-lede { font-size: 1.14rem; color: #f2d2e1; max-width: 33rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.4rem; }
.hero-meta { display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start; border-top: 1px solid rgba(233, 192, 140, .25); padding-top: 1.3rem; max-width: 33rem; }
.hero-meta div { padding-right: 1.6rem; margin-right: 1.6rem; border-right: 1px solid rgba(233, 192, 140, .2); }
.hero-meta div:last-child { border-right: 0; margin-right: 0; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.55rem; color: #fff; font-weight: 600; }
.hero-meta span { font-size: .85rem; color: #d9b3c6; }
.hero-visual { position: relative; padding: 1rem 0 3.5rem 2.5rem; }
.hero-frame { position: relative; border-radius: 26px; padding: 10px; background: linear-gradient(140deg, rgba(255, 216, 235, .5), rgba(233, 192, 140, .35) 50%, rgba(236, 116, 162, .2)); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); transform: rotate(1.5deg); }
.hero-frame img { border-radius: 18px; }
.hero-phone { position: absolute; left: 0; bottom: 0; width: 31%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); transform: rotate(-5deg); }
.hero-phone img { border-radius: 26px; }
.hero-badge { position: absolute; right: -6px; bottom: 9%; background: #fff; color: var(--ink); border-radius: 16px; padding: .75rem 1rem; display: flex; align-items: center; gap: .65rem; box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3; }
.hero-badge img { width: 38px; height: 38px; border-radius: 10px; }
.hero-badge strong { display: block; font-size: .98rem; }
.hero-strip { position: relative; z-index: 1; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid rgba(255, 216, 235, .12); background: rgba(0, 0, 0, .18); overflow: hidden; }
.hero-strip-track { display: flex; gap: 3rem; padding: 1.05rem 0; width: max-content; animation: strip 38s linear infinite; }
.hero-strip span { font-family: var(--font-display); font-style: italic; color: #f4c6db; font-size: 1.1rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.hero-strip span::after { content: "✦"; font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes strip { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-alt { background: var(--white); }
.section-blush { background: linear-gradient(180deg, var(--blush-soft), var(--cream)); }
.section-dark { background: var(--wine); color: #f5dbe7; }
.section-dark h2, .section-dark h3 { color: #fff; }
.chapter { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-hot); margin-bottom: 1rem; }
.chapter b { display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 600; letter-spacing: 0; }
.section-dark .chapter { color: var(--gold); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--h2-size); }
.section-head h2 i { font-weight: 500; color: var(--pink-hot); }
.section-dark .section-head h2 i { color: var(--pink); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }
.section-dark .section-head p { color: #dcb6c8; }

/* ---------- What is ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ink-frame { position: relative; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 10px 10px 0 var(--pink); background: #fff; }
.about-copy p { color: var(--ink-soft); }
.pull-quote { margin: 1.8rem 0 0; padding: 1.3rem 1.5rem; border-left: 4px solid var(--pink-hot); background: var(--blush-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.6rem; }
.fact { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; background: #fff; }
.fact small { display: block; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.fact strong { font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- Features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.tile { grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink); }
.tile img.icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem; }
.tile h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.tile p { color: var(--ink-soft); margin: 0; font-size: .98rem; }
.tile-wide { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, var(--wine), #4a1236); color: #f2d2e1; border: 0; }
.tile-wide h3 { color: #fff; font-size: 1.55rem; }
.tile-wide p { color: #e8c3d5; }
.tile-wide img.shot { border-radius: var(--radius-sm); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }

/* ---------- How it works ---------- */
.story { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; margin-top: 2.6rem; }
.frame { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 2.6rem 1.4rem 1.5rem; box-shadow: var(--shadow-ink); }
.frame::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -1.15rem; left: 1.2rem; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; font-weight: 600; background: var(--pink-hot); color: #fff; padding: .1rem .85rem; border-radius: 999px; border: 2px solid var(--ink); }
.frame h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.frame p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.wide-shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- Installation tabs ---------- */
.install-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.tab-btn { font-family: var(--font-body); font-size: .95rem; font-weight: 600; padding: .6rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: .2s; }
.tab-btn[aria-selected="true"], .tab-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.3rem; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1rem 2.6rem; color: var(--ink-soft); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .1rem; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blush); color: var(--pink-deep); font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
pre { background: var(--wine); color: #ffe3ef; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); overflow-x: auto; font-family: var(--font-mono); font-size: .9rem; line-height: 1.6; margin: 0 0 1.3rem; }
pre code { background: none; color: inherit; padding: 0; }

/* ---------- Use cases ---------- */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.bubble { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 26px; padding: 1.6rem 1.5rem 1.5rem; }
.bubble::after { content: ""; position: absolute; left: 2.2rem; bottom: -14px; width: 24px; height: 24px; background: #fff; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: skewX(25deg) rotate(45deg); }
.bubble img { width: 48px; height: 48px; border-radius: 14px; margin-bottom: .9rem; }
.bubble h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.bubble p { margin: 0; font-size: .96rem; color: var(--ink-soft); }
.uses-shot { margin-top: 3.4rem; }

/* ---------- Download ---------- */
.download-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; background: linear-gradient(140deg, #fff, var(--blush-soft)); border: 1px solid var(--line); border-radius: 30px; padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.download-card img { border-radius: var(--radius); }
.spec-list { list-style: none; padding: 0; margin: 1.3rem 0 1.8rem; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.spec-list span { color: var(--ink-soft); }
.spec-list strong { text-align: right; }
.note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---------- Compare table ---------- */
.compare-shot { margin-bottom: 2.6rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .97rem; }
th, td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 600; font-family: var(--font-body); }
thead th:first-child { border-top-left-radius: var(--radius); }
thead th:last-child { border-top-right-radius: var(--radius); }
tbody tr:nth-child(even) td { background: var(--blush-soft); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: #2f8a57; font-weight: 600; }
td.no { color: #c0395b; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.chip img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Troubleshooting ---------- */
.trouble-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.acc { border-top: 1px solid rgba(255, 216, 235, .15); }
.acc details { border-bottom: 1px solid rgba(255, 216, 235, .15); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem .2rem; font-weight: 600; font-size: 1.05rem; color: #fff; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--pink); transition: transform .25s; flex-shrink: 0; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc details p { padding: 0 .2rem 1.2rem; margin: 0; color: #e0bfcf; }
.section-dark .ink-frame { border-color: rgba(255, 216, 235, .4); box-shadow: 10px 10px 0 var(--pink-deep); }

/* ---------- System requirements ---------- */
.req-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.req { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; position: relative; overflow: hidden; }
.req::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--pink-hot), var(--gold)); }
.req img { width: 50px; height: 50px; border-radius: 14px; margin-bottom: .9rem; }
.req h3 { font-size: 1.2rem; }
.req dl { margin: 0; font-size: .93rem; }
.req dt { color: var(--ink-soft); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .75rem; }
.req dd { margin: .1rem 0 0; font-weight: 500; }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .95rem; }
.checklist li { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.checklist img { width: 44px; height: 44px; border-radius: 12px; }
.checklist strong { display: block; font-size: 1.02rem; }
.checklist span { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Pros & cons ---------- */
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.pc { border-radius: var(--radius); padding: 2rem; border: 2px solid var(--ink); background: #fff; }
.pc.pros { box-shadow: 8px 8px 0 #9fd9b8; }
.pc.cons { box-shadow: 8px 8px 0 var(--blush); }
.pc-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.pc-head img { width: 44px; height: 44px; }
.pc-head h3 { margin: 0; font-size: 1.45rem; }
.pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px dashed var(--line); position: relative; color: var(--ink-soft); }
.pc li:last-child { border-bottom: 0; }
.pc.pros li::before { content: "✓"; position: absolute; left: 0; color: #2f8a57; font-weight: 700; }
.pc.cons li::before { content: "–"; position: absolute; left: .2rem; color: var(--pink-hot); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .85rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--pink); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-right: 2px solid var(--pink-hot); border-bottom: 2px solid var(--pink-hot); transform: rotate(45deg); transition: transform .25s; margin-top: -6px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--wine), var(--wine-2) 60%, #4a1236); color: #fff; padding: clamp(3rem, 6vw, 4.8rem) 0; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 216, 235, .14) 1.3px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 52rem; }
.page-hero p { color: #efcbdb; max-width: 44rem; font-size: 1.12rem; margin: 0; }
.crumbs { font-size: .88rem; color: #d7aec1; margin-bottom: 1.1rem; }
.crumbs a { color: var(--gold); }
.crumbs span { margin: 0 .45rem; opacity: .6; }
.post-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; font-size: .92rem; color: #e6bfd1; }
.post-meta b { color: #fff; font-weight: 600; }

/* ---------- Guides list ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.guide-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.guide-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.guide-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.guide-card:hover .thumb img { transform: scale(1.04); }
.guide-card .body { padding: 1.4rem 1.5rem 1.6rem; }
.guide-card .num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; color: var(--pink-hot); }
.guide-card h2, .guide-card h3 { font-size: 1.32rem; margin: .4rem 0 .5rem; }
.guide-card p { margin: 0 0 .9rem; color: var(--ink-soft); font-size: .97rem; }
.read-more { font-weight: 600; color: var(--pink-deep); }
.read-more::after { content: " →"; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.article-cover { margin: -3.2rem 0 2.4rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; position: relative; z-index: 2; }
.prose { font-size: 1.07rem; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 2.4rem 0 .9rem; padding-top: .3rem; }
.prose h3 { font-size: 1.28rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose li { color: #3e2234; }
.prose li { margin-bottom: .45rem; }
.prose blockquote { margin: 1.6rem 0; padding: 1.1rem 1.4rem; background: var(--blush-soft); border-left: 4px solid var(--pink-hot); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; }
.prose .table-wrap { margin: 1.5rem 0; }
.prose table { min-width: 520px; font-size: .95rem; }
.toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.toc h2 { font-size: 1.15rem; margin-bottom: .8rem; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: .93rem; }
.toc li { margin-bottom: .45rem; }
.toc a { color: var(--ink-soft); }
.toc a:hover { color: var(--pink-hot); }
.aside-card { margin-top: 1.4rem; background: var(--wine); color: #f0cddd; border-radius: var(--radius); padding: 1.6rem; }
.aside-card h2 { color: #fff; font-size: 1.2rem; }
.aside-card p { font-size: .95rem; }
.related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.6rem; margin-bottom: 1.4rem; }
.related .guide-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.related .guide-card h3 { font-size: 1.05rem; }

/* ---------- Legal / text pages ---------- */
.text-page { max-width: 820px; margin-inline: auto; }
.text-page h2 { font-size: 1.6rem; margin-top: 2.3rem; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin: 2rem 0; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-card img { width: 50px; height: 50px; border-radius: 14px; margin-bottom: .8rem; }
.contact-card h2 { font-size: 1.15rem; margin: 0 0 .3rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wine); color: #e1bccd; padding-top: clamp(3.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--pink-hot), var(--gold), var(--pink)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.8rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-brand p { margin: 1.1rem 0 0; font-size: .96rem; line-height: 1.75; max-width: 24rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: #f1d3e0; font-size: .96rem; }
.site-footer a:hover { color: var(--pink); }
.footer-contact li { display: flex; align-items: center; gap: .6rem; }
.footer-contact img { width: 26px; height: 26px; border-radius: 7px; }
.footer-bottom { border-top: 1px solid rgba(255, 216, 235, .12); padding: 1.4rem 0; }
.footer-bottom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; font-size: .92rem; }
.footer-bottom-inner p { margin: 0; }
.footer-bottom-inner p:last-child { text-align: right; }
.footer-bottom a { color: var(--pink); }
.footer-bottom strong { color: #fff; font-weight: 700; }

/* ---------- Scroll button ---------- */
.scroll-btn { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 30; width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); background: var(--pink-hot); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); transition: transform .25s ease, background .2s; }
.scroll-btn:hover { background: var(--pink-deep); }
.scroll-btn img { width: 22px; height: 22px; transition: transform .3s ease; }
.scroll-btn.is-up img { transform: rotate(180deg); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 6rem 0; }
.notfound h1 { font-size: clamp(4rem, 12vw, 8rem); color: var(--pink-hot); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .req-grid { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-aside { order: -1; }
  .aside-card { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--wine); border-bottom: 1px solid rgba(255, 216, 235, .12); display: none; padding: 1rem 1.25rem 1.4rem; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; border-radius: var(--radius); }
  .main-nav a { padding: .8rem 1rem; border-radius: 12px; }
  .hero-grid, .about-grid, .install-grid, .download-card, .trouble-grid, .safety-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile { grid-column: span 1; }
  .tile-wide { grid-column: span 2; grid-template-columns: 1fr; }
  .uses { grid-template-columns: repeat(2, 1fr); }
  .related .guide-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --body-size: 1rem; }
  .hero h1 { font-size: min(var(--hero-title-size), var(--hero-title-mobile)); }
  .hero-meta { grid-template-columns: repeat(3, 1fr); }
  .hero-meta div { padding-right: .6rem; margin-right: .6rem; }
  .hero-meta strong { font-size: 1.2rem; }
  .hero-visual { padding-left: 1.2rem; }
  .hero-badge { display: none; }
  .bento, .uses, .req-grid, .pc-grid, .guide-grid, .story, .related .guide-grid, .fact-row { grid-template-columns: 1fr; }
  .tile-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom-inner p:last-child { text-align: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: auto; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Images fill their frames */
.wide-shot img, .ink-frame img, .hero-frame img, .download-card > img, .safety-grid > img, .article-cover img, .tile-wide img.shot { width: 100%; }
.uses { row-gap: 2.2rem; }
.safety-grid > img, .download-card > img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Polished motion and resilient layouts */
.hero-brand { display:block; color:#ffb9d6; font-size:.48em; letter-spacing:.04em; margin-bottom:.55em; }
.hero-heading { display:block; font-size:.7em; line-height:1.12; }
.about-copy h2 i { color:var(--pink-hot); font-weight:500; }
.brand img { transform:perspective(500px) rotateY(-10deg); transition:transform .45s ease, box-shadow .45s ease; animation:logo-float 5s ease-in-out infinite; }
.brand:hover img { transform:perspective(500px) rotateY(14deg) rotate(-4deg) scale(1.06); box-shadow:0 10px 24px rgba(236,116,162,.4); }
.hero-frame { animation:hero-float 7s ease-in-out infinite; transform-style:preserve-3d; }
.hero-phone { animation:phone-float 6s ease-in-out infinite; }
#how-it-works .wide-shot { position:relative; transform:perspective(1400px) rotateX(2deg); box-shadow:0 30px 65px -30px rgba(74,16,48,.45); }
#how-it-works .wide-shot img { animation:scene-breathe 8s ease-in-out infinite; }
.ink-frame, .wide-shot, .download-card > img, .safety-grid > img { transition:box-shadow .4s ease, transform .4s ease; }
.ink-frame:hover, .wide-shot:hover { box-shadow:0 26px 55px -24px rgba(74,16,48,.5); }
.tile, .bubble, .frame, .req, .pc, .contact-card { transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; box-shadow:0 12px 30px -24px rgba(74,16,48,.45); }
.tile:hover, .bubble:hover, .frame:hover, .req:hover, .pc:hover, .contact-card:hover { transform:translateY(-5px); box-shadow:0 20px 38px -24px rgba(74,16,48,.5); }
.main-nav a, .site-footer a { transition:color .2s ease, background-color .2s ease; }
@keyframes logo-float { 50% { translate:0 -3px; } }
@keyframes hero-float { 0%,100% { transform:perspective(1400px) rotateY(-3deg) rotate(1deg) translateY(0); } 50% { transform:perspective(1400px) rotateY(2deg) rotate(0deg) translateY(-10px); } }
@keyframes phone-float { 0%,100% { transform:rotate(-5deg) translateY(0); } 50% { transform:rotate(-3deg) translateY(-12px); } }
@keyframes scene-breathe { 0%,100% { transform:scale(1); } 50% { transform:scale(1.035); } }
@media (min-width:961px) {
  .about-grid, .install-grid, .trouble-grid { align-items:start; }
  .about-grid > .ink-frame, .install-grid > .ink-frame, .trouble-grid > .ink-frame { position:sticky; top:2rem; }
  #how-it-works .container { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:2rem 3rem; align-items:start; }
  #how-it-works .section-head { grid-column:1 / -1; margin-bottom:1rem; }
  #how-it-works .wide-shot { position:sticky; top:2rem; }
  #how-it-works .story { grid-template-columns:1fr; margin-top:1rem; gap:2rem; }
}
@media (max-width:960px) { .hero h1 { font-size:clamp(2.5rem,7vw,4.5rem); } .footer-grid > *, .hero-grid > *, .install-grid > * { min-width:0; } }
@media (max-width:640px) {
  .container { width:min(100% - 2rem, var(--container)); }
  .hero h1 { font-size:clamp(2.6rem,10vw,3.8rem); }
  .hero-heading { font-size:.72em; }
  .hero-meta { gap:.5rem; }
  .hero-meta div { padding-right:.4rem; margin-right:0; min-width:0; }
  .hero-meta span { font-size:.75rem; }
  .spec-list li { flex-wrap:wrap; }
  .spec-list strong { overflow-wrap:anywhere; }
  .tab-panel { padding:1.25rem; min-width:0; }
  .footer-grid { gap:2rem; }
}
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }

/* Hero hierarchy and continuously animated comparison artwork */
.hero-brand { font-size: 1.05em; line-height: 1; margin-bottom: .35em; }
.hero-heading { font-size: .48em; line-height: 1.25; letter-spacing: -.01em; }
.compare-shot { position: relative; isolation: isolate; }
.compare-shot img { animation: comparison-drift 9s ease-in-out infinite; transform-origin: center; }
.compare-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.16) 48%, transparent 65%); transform: translateX(-120%); animation: comparison-glow 7s ease-in-out infinite; }
@keyframes comparison-drift { 0%, 100% { transform: scale(1.02) translateY(0); } 50% { transform: scale(1.06) translateY(-.5%); } }
@keyframes comparison-glow { 0%, 20% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }
@media (max-width:640px) { .hero-brand { font-size: 1em; } .hero-heading { font-size: .52em; } }
@media (prefers-reduced-motion:reduce) { .compare-shot img, .compare-shot::after { animation:none !important; } }
