/* Shotwise: a stockroom of hanging tags. Limestone paper, Futura headlines, monospaced tag labels, petrol for
   actions, coral for private things, and the eight shelf colours from the app. */
:root {
  --paper: #f4f1ec; --paper2: #ebe5db; --card: #fff; --line: #e0d8cc;
  --ink: #1c1a17; --ink2: #5f584f; --ink3: #948a7e;
  --petrol: #0e7c86; --petrol-d: #0a5d65; --coral: #e5484d;
  --ids: #d93f45; --bills: #2e8b57; --tickets: #2f64d6; --chats: #7a4bd8; --code: #4a5568; --shopping: #d9821a; --maps: #13897e; --other: #8c8378;
  --display: Futura, "Futura PT", "Century Gothic", "Jost", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-d); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(42px, 6.4vw, 78px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 21px; letter-spacing: 0; }
p { margin: 0; }

/* ── The signature: tags ─────────────────────────────────────────── */
.tag {
  --c: var(--petrol);
  display: inline-flex; align-items: center; gap: 7px; position: relative;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  background: var(--c); padding: 7px 12px 7px 20px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  border-radius: 0 5px 5px 0; white-space: nowrap;
}
.tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }
.tag.ids { --c: var(--ids); } .tag.bills { --c: var(--bills); } .tag.tickets { --c: var(--tickets); } .tag.chats { --c: var(--chats); }
.tag.code { --c: var(--code); } .tag.shopping { --c: var(--shopping); } .tag.maps { --c: var(--maps); } .tag.other { --c: var(--other); }
.tag.sm { font-size: 10px; padding: 5px 9px 5px 17px; }
.tag.sm::before { left: 9px; width: 4px; height: 4px; margin-top: -2px; }
.kicker { display: inline-block; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); margin-bottom: 18px; }
/* One phrase per heading sits on a tag. */
.tagged { position: relative; display: inline-block; color: #fff; padding: 0 .28em 0 .55em; margin-left: .05em; background: var(--c, var(--petrol));
  clip-path: polygon(.32em 0, 100% 0, 100% 100%, .32em 100%, 0 50%); border-radius: 0 .12em .12em 0; }
.tagged::before { content: ""; position: absolute; left: .3em; top: 50%; width: .14em; height: .14em; margin-top: -.07em; border-radius: 50%; background: var(--paper); }
.tagged.coral { --c: var(--coral); }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 241, 236, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--display); color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--ink2); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 16px/1 system-ui, sans-serif; text-decoration: none; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-go { background: var(--petrol); color: #fff; }
.btn-go:hover { background: var(--petrol-d); }
.nav .btn-go { padding: 10px 18px; font-size: 15px; color: #fff; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.fine { font-size: 14px; color: var(--ink3); }
.fine a { color: var(--ink2); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lead { font-size: 20px; color: var(--ink2); margin: 24px 0 30px; max-width: 34em; }
.hero .fine { margin-top: 18px; }
.rail { position: relative; height: 470px; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 10px; border-radius: 5px; background: linear-gradient(#cfc6b8, #b9ae9d); box-shadow: 0 6px 14px rgba(60, 45, 25, .18); }
.hang { position: absolute; top: 40px; transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
.hang::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: var(--s, 40px); background: #a89c8a; }
.hang .tag { position: absolute; left: 50%; top: var(--s, 40px); transform: translateX(-28%) rotate(var(--r, 0deg)); }
.print { position: absolute; background: #fff; padding: 7px; border-radius: 6px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 14px 30px rgba(60, 45, 25, .18); }
.print img { border-radius: 3px; }
.print.blur img { filter: blur(9px); }
.print .pin { position: absolute; top: -9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8f88, var(--coral)); box-shadow: 0 2px 4px rgba(0,0,0,.25); }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .rail { height: 400px; } }
@media (max-width: 520px) { .rail { transform: scale(.78); transform-origin: 0 0; height: 320px; width: 128%; } }

/* ── Sections ────────────────────────────────────────────────────── */
.sec { padding: 96px 0; }
.sec.alt { background: var(--paper2); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head p.sub { font-size: 19px; color: var(--ink2); margin-top: 18px; }
.center-head { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Demo ────────────────────────────────────────────────────────── */
.demo { background: var(--card); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(60, 45, 25, .35); overflow: hidden; }
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #faf8f4; }
.dots { display: flex; gap: 7px; margin-right: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; }
.search:focus-within { border-color: var(--petrol); }
.search svg { flex: none; color: var(--ink3); }
.search input { flex: 1; border: 0; outline: 0; font: 16px system-ui, sans-serif; padding: 11px 0; background: transparent; color: var(--ink); min-width: 0; }
.shelve-btn { padding: 11px 18px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.chip { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink2); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 11px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; }
.stage { position: relative; min-height: 560px; padding: 22px 18px 26px; background: radial-gradient(circle at 20% 10%, #fbfaf7, #f1ede6); }
.status { font-size: 15px; color: var(--ink2); padding: 0 4px 14px; min-height: 36px; }
.status b { color: var(--ink); }
.pile { position: relative; height: 520px; }
.shelves { display: grid; gap: 14px; }
.shelf { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.65); border: 1px solid var(--line); position: relative; }
.shelf::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -5px; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(#ddd4c6, #cbbfae); }
.shelf[hidden] { display: none; }
.shelf .row { display: flex; flex-wrap: wrap; gap: 12px; min-height: 92px; align-items: flex-end; }
.shelf .count { display: block; font-size: 13px; color: var(--ink3); margin-top: 8px; }
.card { position: relative; width: 116px; background: #fff; padding: 5px 5px 7px; border-radius: 7px; box-shadow: 0 6px 16px rgba(60,45,25,.16); transition: opacity .25s, filter .25s; cursor: default; }
.card .img { position: relative; height: 92px; border-radius: 4px; overflow: hidden; background: #ece6dc; }
.card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card .t { font-size: 12px; line-height: 1.3; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .tag { position: absolute; top: 10px; left: 1px; z-index: 2; }
.card.private img { filter: blur(8px); transform: scale(1.1); }
.card.private.shown img { filter: none; transform: none; }
.card .reveal-btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: rgba(28,26,23,.28); color: #fff; font: 600 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.card.shown .reveal-btn { display: none; }
.card.dim { opacity: .18; filter: grayscale(1); }
.card .hit { display: none; position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); max-width: 220px; width: max-content; background: var(--ink); color: #fff; font: 12px/1.35 var(--mono); padding: 6px 8px; border-radius: 6px; z-index: 5; white-space: normal; }
.card .hit mark { background: #ffd66b; color: var(--ink); border-radius: 2px; padding: 0 1px; }
.searching .card.match .hit { display: block; }
.pile .card { position: absolute; }
.searching .card.match { box-shadow: 0 0 0 2.5px var(--petrol), 0 8px 20px rgba(14,124,134,.3); }
.demo-note { font-size: 14px; color: var(--ink3); padding: 14px 18px; border-top: 1px solid var(--line); background: #faf8f4; }
@media (max-width: 700px) { .shelf { grid-template-columns: 1fr; } .card { width: 96px; } .card .img { height: 78px; } .pile { height: 600px; } }

/* ── Three benefits ──────────────────────────────────────────────── */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ben { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; }
.ben .tag { position: absolute; top: -13px; left: 20px; }
.ben h3 { margin: 10px 0 10px; }
.ben p { color: var(--ink2); }
@media (max-width: 860px) { .three { grid-template-columns: 1fr; } }

/* ── Shelves board ───────────────────────────────────────────────── */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 20px; }
.peg { position: relative; padding-top: 34px; }
.peg::before { content: ""; position: absolute; left: 24px; top: 0; width: 1.5px; height: 30px; background: #a89c8a; }
.peg::after { content: ""; position: absolute; left: 19px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: #c9bfae; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.peg p { color: var(--ink2); font-size: 15px; margin-top: 12px; }
.peg p em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; }
@media (max-width: 900px) { .board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .board { grid-template-columns: 1fr; } }

/* ── App shots ───────────────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs button { font: 600 15px/1 system-ui, sans-serif; color: var(--ink2); background: transparent; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.shot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 30px 60px -34px rgba(60,45,25,.45); }
.shot img { border-radius: 9px; }
.shot figcaption { font-size: 15px; color: var(--ink2); padding: 14px 8px 4px; }
[role="tabpanel"][hidden] { display: none; }

/* ── Tidy ────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; color: var(--ink2); }
.ticks li b { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.filename { font: 14px/1.5 var(--mono); background: var(--card); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 22px; color: var(--ink2); }
.filename b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ── Features list ───────────────────────────────────────────────── */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feat { padding: 24px 20px 26px 0; border-bottom: 1px solid var(--line); }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--ink2); font-size: 15.5px; }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* ── Privacy facts ───────────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { border-left: 4px solid var(--c, var(--petrol)); padding: 4px 0 4px 18px; }
.fact h3 { font-size: 19px; margin-bottom: 8px; }
.fact p { color: var(--ink2); font-size: 16px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }

/* ── Compare ─────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15.5px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 600 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); background: #faf8f4; }
tbody th { font-weight: 600; width: 24%; }
td.us { background: rgba(14,124,134,.06); }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.table-note { font-size: 14px; color: var(--ink3); margin-top: 12px; }

/* ── Pricing ─────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 34px 26px 28px; text-align: center; position: relative; }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); }
.plan .price { font: 700 46px/1 var(--display); margin: 14px 0 10px; }
.plan p { color: var(--ink2); font-size: 15px; margin-bottom: 22px; min-height: 1.6em; }
.plan .btn { width: 100%; }
.plan .btn[aria-disabled="true"] { background: var(--paper2); color: var(--ink3); pointer-events: none; }
.soon { text-align: center; margin-top: 18px; color: var(--ink2); }
.soon[hidden] { display: none; }
.owned { text-align: center; margin-top: 16px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/1.4 system-ui, sans-serif; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 26px/1 var(--display); color: var(--petrol); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink2); padding: 0 0 20px; max-width: 46em; }

/* ── Closing ─────────────────────────────────────────────────────── */
.closing { text-align: center; }
.closing h2 { margin-bottom: 30px; }
.closing .fine { margin-top: 18px; }

/* ── Footer (shared structure) ───────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 15px; background: var(--paper2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h2 { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--ink2); text-decoration: none; }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { color: var(--ink2); margin-top: 12px; max-width: 26em; }
.pw-mark { width: 28px; height: 28px; }
.pw-mark .t1 { fill: var(--coral); } .pw-mark .t2 { fill: #f2b648; } .pw-mark .p { fill: var(--petrol); } .pw-mark .s { stroke: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink3); font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ── Reveal ──────────────────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hang { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .card { transition: none; }
}
/* On the messy Desktop nothing is shelved yet: no tags until Shelve them. */
.pile .card .tag { display: none; }
