/* The Patorana landing page only; the legal pages keep styles.css. No JavaScript and no external requests
   (ADR-0008): the fonts are self-hosted and the signal demo is a checkbox. Colours follow the app's asset catalog. */

@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1f1d1a;
  --muted: #5c5750;
  --green: #2f6b4f;
  --green-deep: #1f4d38;
  --sun: #e7b75f;
  --ochre: #8a5a12;
  --line: #ddd4c4;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
a { color: var(--green); text-underline-offset: 0.15em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.section { padding-block: 104px; }
.eyebrow { margin-bottom: 16px; font: 500 0.875rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ochre); }
.sr { position: absolute; opacity: 0; width: 1px; height: 1px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 30; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 10px; }
.skip:focus { top: 12px; color: var(--paper); }

.top { position: sticky; top: 0; z-index: 20; background: rgb(246 241 231 / 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.top-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font: 800 1.625rem/1 var(--display); letter-spacing: -0.02em; color: var(--green); text-decoration: none; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--green); }
.menu { display: none; position: relative; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; list-style: none; border-radius: 12px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; min-width: 210px; padding: 8px; display: grid; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgb(31 29 26 / 0.15); }
.menu nav a { padding: 12px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.menu nav a:hover { background: var(--paper); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 16px; font-weight: 600; text-decoration: none; transition: transform 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-small { min-height: 44px; padding: 0 20px; border-radius: 999px; }
.btn-ink, .btn-ink:hover { background: var(--ink); color: var(--paper); }
.btn-sun, .btn-sun:hover { background: var(--sun); color: var(--ink); flex: none; }
.btn-green, .btn-green:hover { background: var(--green); color: var(--paper); }

.hero { padding-top: 40px; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6.75rem); line-height: 0.95; letter-spacing: -0.035em; max-width: 13em; }
h1 em { font-style: normal; color: var(--green); }
.hero-foot { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; margin-top: 30px; }
.lead { max-width: 31em; font-size: 1.25rem; color: var(--muted); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.stores.center { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 20px 8px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.15; }
.store small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--muted); }
a.store { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.store small { color: #cfc7ba; }

.photo { margin-top: 44px; }
.photo figure { position: relative; margin: 0; border-radius: 32px; overflow: hidden; background: #c9b07a; }
.photo img { width: 100%; height: clamp(320px, 42vw, 560px); object-fit: cover; object-position: 38% 45%; }
.chip { position: absolute; left: 24px; top: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(31 29 26 / 0.84); color: var(--paper); font: 500 0.8125rem/1.3 var(--mono); }
.fact-card { position: absolute; right: 24px; bottom: 24px; width: min(350px, calc(100% - 48px)); padding: 18px 20px; display: grid; gap: 8px; background: var(--card); border-radius: 22px; box-shadow: 0 24px 60px rgb(31 29 26 / 0.3); }
.fact-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.fact-head strong { font: 700 1.25rem/1.2 var(--display); }
.fact-head small { color: var(--muted); }
.fact-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.fact-row span { color: var(--muted); }
.mini-stamp { justify-self: start; margin-top: 4px; transform: rotate(-3deg); padding: 3px 10px; border: 2px solid #2563a6; border-radius: 6px; color: #2563a6; font: 500 0.75rem/1.5 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }

.split-head { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.split-head h2 { max-width: 12em; }
.split-head p { max-width: 28em; color: var(--muted); }
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 30px 22px; }
.stamps li { display: grid; gap: 16px; justify-items: start; align-content: start; }
.stamps p { font-size: 0.9375rem; color: #3d3a34; }
.stamp { --c: var(--ink); display: grid; gap: 2px; padding: 14px 16px; background: var(--card); color: var(--c); border: 3px solid var(--c); border-radius: 10px; outline: 1.5px dashed var(--c); outline-offset: 4px; font: 500 0.71875rem/1.45 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.stamp b { font-size: 1.25rem; font-weight: 500; letter-spacing: 0.08em; }
.stamps li:nth-child(odd) .stamp { transform: rotate(-2.5deg); }
.stamps li:nth-child(even) .stamp { transform: rotate(2deg); }
.s-official { --c: #1e7a4c; }
.s-verified { --c: #2563a6; }
.s-owner { --c: #6d4fa3; }
.s-community { --c: #8a5a12; }
.s-unverified { --c: #5b6270; }
.ageing { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 48px; font-size: 0.9375rem; }
.ageing small { color: var(--muted); font-size: 0.9375rem; }
.pill { padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.p-warn { background: #fdf0df; color: #a14a08; }
.p-bad { background: #fde7e5; color: #b42318; }

.dark { background: var(--ink); color: var(--paper); }
.try { position: relative; padding-block: 104px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.try-copy { flex: 999 1 440px; min-width: 0; }
.try-copy .eyebrow { color: var(--sun); }
.try-copy > p:not(.eyebrow) { max-width: 30em; margin-top: 18px; color: #cfc7ba; }
.toggle { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; margin-top: 30px; padding: 0 24px 0 10px; border-radius: 999px; background: #2a2723; font-weight: 600; cursor: pointer; }
.track { display: flex; align-items: center; width: 64px; height: 36px; padding: 4px; border-radius: 999px; background: #5c5750; transition: background 0.2s ease; }
.knob { width: 28px; height: 28px; border-radius: 999px; background: var(--paper); transition: transform 0.2s ease; }
.when-on { display: none; }
#signal:focus-visible ~ .try-copy .toggle { outline: 3px solid var(--sun); outline-offset: 3px; }
#signal:checked ~ .try-copy .track { background: var(--green); }
#signal:checked ~ .try-copy .knob { transform: translateX(28px); }
#signal:checked ~ * .when-on { display: inline; }
#signal:checked ~ * .when-off { display: none; }
.phone { flex: 1 1 360px; min-width: 0; max-width: 410px; margin-inline: auto; padding: 18px; display: grid; gap: 12px; background: var(--paper); color: var(--ink); border-radius: 30px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.45); }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fdf0df; color: #a14a08; font-size: 0.875rem; font-weight: 600; transition: background 0.2s ease, color 0.2s ease; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: currentColor; }
#signal:checked ~ .phone .banner { background: #dff1e6; color: #1e7a4c; }
.search { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.row b { display: block; font-weight: 600; }
.row small { color: var(--muted); font-size: 0.8125rem; }
.tag { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.t-verified { background: #e3eef8; color: #2563a6; }
.t-official { background: #dff1e6; color: #1e7a4c; }
.t-community { background: #f6ebd6; color: #8a5a12; }
.t-owner { background: #ede6f7; color: #6d4fa3; }
.foot { display: flex; justify-content: space-between; gap: 12px; padding: 0 4px; font: 500 0.75rem/1.4 var(--mono); color: var(--muted); }

.plan { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-bottom: 56px; }
.plan-copy { flex: 1 1 340px; min-width: 0; }
.plan-copy p { max-width: 28em; margin-top: 18px; color: var(--muted); }
.receipt { flex: 999 1 520px; min-width: 0; display: flex; flex-wrap: wrap; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgb(47 107 79 / 0.14); }
.lines { flex: 999 1 320px; min-width: 0; padding: 26px 28px; display: grid; gap: 14px; }
.r-head { display: flex; justify-content: space-between; gap: 12px; font: 500 0.8125rem/1.4 var(--mono); text-transform: uppercase; color: var(--muted); }
.line { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; padding-bottom: 0; }
.line b { display: block; font-weight: 600; }
.line small { color: var(--muted); font-size: 0.8125rem; }
.line > span { flex: none; font: 500 0.9375rem/1.5 var(--mono); }
small.c-official { color: #1e7a4c; }
small.c-owner { color: #6d4fa3; }
small.c-warn { color: #a14a08; }
.total { flex: 1 1 190px; padding: 26px 24px; display: grid; align-content: space-between; gap: 18px; background: var(--green); color: var(--paper); border-left: 2px dashed var(--paper); }
.total small { display: block; font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #cfe3d6; }
.total strong { font: 800 1.875rem/1.15 var(--display); }
.total p { font-size: 0.8125rem; color: #dcebdf; }

.journal { display: flex; flex-wrap: wrap-reverse; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 72px; }
.journal > div:last-child { flex: 1 1 340px; min-width: 0; }
.journal > div:last-child p { max-width: 28em; margin-top: 18px; color: var(--muted); }
.notes { flex: 999 1 480px; min-width: 0; padding: 28px 30px; display: grid; background-color: var(--card); background-image: repeating-linear-gradient(var(--card) 0 31px, #e8dfcf 31px 32px); border-radius: 22px; box-shadow: 0 14px 40px rgb(31 29 26 / 0.1); font: 500 0.9375rem/32px var(--mono); transform: rotate(-1deg); }
.notes b { font-weight: 500; color: var(--green); }
.notes .warn { color: var(--ochre); }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 96px; }
.values > div { padding-top: 18px; border-top: 3px solid var(--green); }
.values p { margin-top: 6px; color: var(--muted); }

.band { background: var(--green); color: var(--paper); }
.band-row { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; padding-block: 88px; }
.band-row > div { flex: 999 1 520px; min-width: 0; }
.band .eyebrow { color: var(--sun); }
.band h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.band-row p:last-child { max-width: 36em; margin-top: 14px; color: #dcebdf; }

.get { display: grid; justify-items: center; gap: 22px; text-align: center; }
.get img { border-radius: 22px; box-shadow: 0 14px 34px rgb(47 107 79 / 0.25); }
.get > p { max-width: 34em; color: var(--muted); }

.end { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }
.end-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-block: 28px 14px; }
.end nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.end a { color: var(--green-deep); }
.legal { display: grid; gap: 4px; padding-bottom: 36px; font-size: 0.8125rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stamp { animation: thump linear both; animation-timeline: view(); animation-range: entry 10% entry 45%; }
    @keyframes thump { from { opacity: 0; scale: 1.25; } }
  }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .top-row > .btn { margin-left: auto; }
  .menu { display: block; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .section { padding-block: 72px; }
  .try { padding-block: 72px; }
  .top-row { gap: 10px; min-height: 66px; }
  .brand { font-size: 1.375rem; }
  .brand img { width: 34px; height: 34px; }
  .lead { font-size: 1.125rem; }
  .stores { width: 100%; }
  .store { flex: 1 1 100%; }
  .photo figure { display: grid; background: var(--card); border-radius: 24px; }
  .photo img { height: 260px; }
  .chip { left: 14px; top: 14px; }
  .fact-card { position: static; width: 100%; box-shadow: none; border-radius: 0; }
  .total { border-left: 0; border-top: 2px dashed var(--paper); }
  .notes { padding: 22px; font-size: 0.8125rem; transform: none; }
  .notes span { line-height: 1.5; padding-block: 5px; }
  .notes { background-image: none; }
  .btn-sun { width: 100%; }
}
