@font-face{font-family:'Cinzel';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cinzel-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cinzel-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cinzel-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cinzel';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cinzel-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/cormorant-garamond-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-latin-ext-500-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500;font-display:swap;src:url(/fonts/cormorant-garamond-latin-500-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/eb-garamond-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'EB Garamond';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/eb-garamond-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'EB Garamond';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/eb-garamond-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Arca's public pages (the 78 card pages, the list, and the two "find your card" pages): the same colours, type and
   manners as the app (see the Arca design system).
   Night is the home look; Day follows the reader's own light setting. One column like a reading table on a phone;
   on a wide screen the card stays beside the words as you read. Only the card moves slowly. */
:root {
  color-scheme: dark;
  --bg: #0F0D13; --panel: #17141D; --panel-2: #201B28; --fg: #EEE7D7; --muted: #A89F8E; --faint: #857D8F;
  --gold: #C8A866; --gold-hi: #E4CB92; --on-gold: #17130D;
  --line: rgba(200, 168, 102, 0.28); --line-soft: rgba(238, 231, 215, 0.09); --glow: rgba(228, 203, 146, 0.22);
  --shadow: 0 22px 44px rgba(0, 0, 0, 0.5); --shadow-sm: 0 8px 18px rgba(0, 0, 0, 0.35);
  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --f-label: "Cinzel", "Trajan Pro", "Cormorant Garamond", "Times New Roman", serif;
  --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.625rem; --step-3: 2.125rem; --step-4: 2.875rem;
  --t-press: .18s; --t-state: .3s; --t-enter: .5s; --t-turn: 1.05s;
  --ease: cubic-bezier(.2, .8, .2, 1); --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --radius: 14px; --radius-card: 12px; --card-ar: 560 / 972;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F1ECE1; --panel: #FAF7F0; --panel-2: #EDE6D8; --fg: #1D1922; --muted: #675E51; --faint: #6F6558;
    --gold: #7D632D; --gold-hi: #6E5520; --on-gold: #FBF7EE;
    --line: rgba(140, 111, 51, 0.34); --line-soft: rgba(29, 25, 34, 0.09); --glow: rgba(140, 111, 51, 0.16);
    --shadow: 0 18px 36px rgba(70, 52, 22, 0.2); --shadow-sm: 0 6px 14px rgba(70, 52, 22, 0.12);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
/* the table the cards lie on: a soft candle glow from above, and the dotted night of the card backs fading down the page */
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 100vh; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 46% at 50% 0%, color-mix(in srgb, var(--gold) 11%, transparent), transparent 72%), radial-gradient(54% 40% at 88% 4%, rgba(124, 92, 196, .1), transparent 70%); }
body::after { content: ""; position: fixed; inset: 0 0 auto 0; height: 78vh; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--gold) 46%, transparent) .8px, transparent 1.3px); background-size: 22px 22px; background-position: 50% 6px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%); mask-image: linear-gradient(to bottom, #000, transparent 88%); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; text-wrap: balance; line-height: 1.1; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
.label { font-family: var(--f-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.st { width: 12px; height: 12px; fill: var(--gold); flex: none; }
.chev { width: 15px; height: 15px; fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ic .solid { fill: var(--gold); stroke: none; }

/* the top of the page */
.top { max-width: 1020px; margin: 0 auto; padding: calc(14px + env(safe-area-inset-top, 0px)) 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wm { display: flex; align-items: center; line-height: 0; color: var(--gold-hi); padding: 8px 0; }
.wm svg { display: block; height: 17px; width: 75px; fill: currentColor; }
.pill { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); font-family: var(--f-label); font-size: 0.6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: transform var(--t-press) var(--ease), background var(--t-state); }
.pill:active { transform: scale(.95); background: var(--panel-2); }
.wrap { max-width: 500px; margin: 0 auto; padding: 4px 20px 56px; }

/* the card, and its name */
.hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.crumb a { color: var(--gold); padding: 8px 0; }
.card3d { position: relative; width: min(60vw, 236px); aspect-ratio: var(--card-ar); margin: 12px 0 16px; perspective: 1200px; }
.card3d::before { content: ""; position: absolute; inset: -16% -30% -10%; z-index: -1; background: radial-gradient(closest-side, var(--glow), transparent 78%); }
.flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; transition: transform .25s var(--ease-soft); }
.face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); box-shadow: var(--shadow); backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--panel-2); }
.face.back { transform: rotateY(180deg); }
.sheen { position: absolute; inset: 0; border-radius: var(--radius-card); overflow: hidden; pointer-events: none; }
.sheen::before { content: ""; position: absolute; top: -10%; bottom: -10%; left: -70%; width: 46%; transform: skewX(-14deg); background: linear-gradient(100deg, transparent, rgba(255, 244, 214, .34), transparent); }
.hero h1 { font-size: var(--step-4); line-height: 1.02; }
.kicker { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 4px; }
.chip { font-family: var(--f-display); font-size: 1rem; font-weight: 500; line-height: 1.4; padding: 4px 14px 5px; border: 1px solid var(--line); border-radius: 999px; }
.hook { max-width: 26em; margin-top: 6px; font-family: var(--f-display); font-style: italic; font-size: 1.3125rem; line-height: 1.35; color: var(--gold); text-wrap: balance; }
/* arriving: the card turns over once, catches the light once, and its name follows. Nothing loops. */
@keyframes turn { from { transform: rotateY(180deg) scale(.9); } 60% { transform: rotateY(0deg) scale(1.03); } to { transform: rotateY(0deg) scale(1); } }
@keyframes sheen { from { left: -70%; } to { left: 130%; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.card-page .flip { animation: turn var(--t-turn) cubic-bezier(.3, .7, .2, 1) .3s both; }
.card-page .sheen::before { animation: sheen 1.1s var(--ease-soft) 1.45s both; }
.card-page .hero > .crumb { animation: fade var(--t-enter) var(--ease-soft) both; }
.card-page .hero > .kicker { animation: rise var(--t-enter) var(--ease) .95s both; }
.card-page .hero > h1 { animation: rise var(--t-enter) var(--ease) 1.05s both; }
.card-page .hero > .chips { animation: rise var(--t-enter) var(--ease) 1.17s both; }
.card-page .hero > .hook { animation: rise var(--t-enter) var(--ease) 1.29s both; }
/* further down, each part rises as it comes into view (only when the page's script is running) */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity var(--t-enter) var(--ease-soft), transform var(--t-enter) var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* the reading */
.body { margin-top: 30px; }
section { scroll-margin-top: 16px; }
section > h2 { font-size: var(--step-2); margin-bottom: 12px; }
section p + p { margin-top: 12px; }
.lead { font-family: var(--f-display); font-size: 1.4375rem; line-height: 1.32; text-wrap: pretty; }
.rule { display: flex; align-items: center; gap: 14px; margin: 30px 0; }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.advice { margin-top: 18px; padding: 14px 16px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; gap: 4px; }
.advice .label { color: var(--gold); }
.advice p { font-family: var(--f-display); font-style: italic; font-size: 1.3125rem; line-height: 1.35; }
.rev-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rev-head h2 { font-size: var(--step-2); margin-bottom: 8px; }
.rev-head .chips { justify-content: flex-start; gap: 6px; margin: 0; }
.rev-head .chip { font-size: 0.9375rem; padding: 2px 11px 3px; }
.rev-card { width: 78px; height: auto; flex: none; border-radius: 6px; box-shadow: var(--shadow-sm); transform: rotate(180deg); }
.js .rv .rev-card { transform: rotate(0deg); transition: transform var(--t-turn) cubic-bezier(.3, .7, .2, 1) .25s; }
.js .rv.in .rev-card { transform: rotate(180deg); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 4px; border-radius: 999px; border: 1px solid var(--line-soft); background: var(--panel); }
.seg button { min-height: 40px; border-radius: 999px; font-family: var(--f-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color var(--t-state), background var(--t-state), box-shadow var(--t-state); }
.seg button[aria-selected="true"] { background: var(--panel-2); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
html:not(.js) .seg { display: none; }
.area { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.area .ic { grid-row: 1 / span 3; margin-top: 2px; }
.area h3 { font-size: var(--step-1); line-height: 1.2; }
.area p { grid-column: 2; margin: 0; color: var(--muted); }
.js .life[data-side="up"] .rev, .js .life[data-side="rev"] .up { display: none; }
html:not(.js) .area .rev::before { content: "Reversed: "; color: var(--fg); }
.area p.swap { animation: fade var(--t-state) var(--ease-soft) both; }
.moment { position: relative; padding: 2px 0 2px 18px; border-left: 2px solid var(--line); font-family: var(--f-display); font-style: italic; font-size: 1.3125rem; line-height: 1.35; }
.moment + .moment { margin-top: 14px; }
.ask { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 38px 0 34px; padding: 26px 18px 28px; text-align: center; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.ask .label { color: var(--gold); }
.question { font-family: var(--f-display); font-style: italic; font-size: var(--step-2); line-height: 1.22; text-wrap: balance; }
.details > div { display: grid; grid-template-columns: 7.2em minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.details > div:first-child { border-top: 1px solid var(--line-soft); }
.details dt { padding-top: 5px; line-height: 1.5; }
.details dd { color: var(--fg); }

/* the way in to Arca */
.cta { margin-top: 40px; padding: 26px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%), var(--panel); }
.cta-fan { position: relative; width: 150px; height: 118px; margin-bottom: 6px; }
.cta-fan img { position: absolute; left: 50%; top: 4px; width: 62px; height: auto; margin-left: -31px; border-radius: 6px; box-shadow: var(--shadow-sm); transform-origin: 50% 118%; transition: transform .9s var(--ease) .15s; }
.cta-fan img:nth-child(1) { transform: rotate(-17deg); } .cta-fan img:nth-child(3) { transform: rotate(17deg); }
.js .cta.rv:not(.in) .cta-fan img { transform: rotate(0deg); }
.cta h2 { font-size: var(--step-2); }
.cta p { max-width: 24em; color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 8px; padding: 0 28px; border-radius: 999px; font-family: var(--f-label); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 22px -10px var(--gold); transition: transform var(--t-press) var(--ease), box-shadow var(--t-state) var(--ease); }
.btn:active { transform: scale(.97); box-shadow: 0 4px 12px -8px var(--gold); }
.cta .note { font-size: 0.875rem; }

/* on to other cards */
.kin { margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.kin-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kin-row a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.kin-row img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform var(--t-state) var(--ease); }
.kin-row b, .tile b, .near-c b { font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; line-height: 1.15; text-wrap: balance; }
.near { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.near-c { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--panel); transition: border-color var(--t-state); }
.near-c:nth-child(2) { flex-direction: row-reverse; text-align: right; }
.near-c img { width: 40px; height: auto; flex: none; border-radius: 4px; box-shadow: var(--shadow-sm); }
.near-c > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.all { margin-top: 18px; text-align: center; }
.link { display: inline-block; padding: 10px 6px; font-family: var(--f-label); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }

/* the list of all 78 */
.intro { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 18px; text-align: center; }
.intro h1 { font-size: var(--step-4); }
.intro .lead { max-width: 24em; }
.find { width: 100%; max-width: 340px; margin-top: 12px; display: flex; flex-direction: column; gap: 6px; text-align: left; }
.find input { width: 100%; font: inherit; font-size: 16px; color: var(--fg); background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 14px; -webkit-appearance: none; appearance: none; transition: border-color var(--t-state), box-shadow var(--t-state); }
.find input:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 3px var(--glow); }
.find input::placeholder { color: var(--faint); }
.find input::-webkit-search-cancel-button { -webkit-appearance: none; }
html:not(.js) .find { display: none; }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 6px; }
.jump a { padding: 8px 0; font-family: var(--f-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.group { margin-top: 40px; }
.group > h2 { font-size: var(--step-3); margin-bottom: 6px; }
.grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.tile img { width: 100%; height: auto; margin-bottom: 6px; border-radius: 8px; box-shadow: var(--shadow-sm); background: var(--panel-2); transition: transform var(--t-state) var(--ease); }
.tile span { font-size: 0.875rem; line-height: 1.3; color: var(--muted); }
.tile[hidden], .group[hidden] { display: none; }
.none { margin-top: 40px; text-align: center; }

/* ---------- the two "find your card" pages (finders.js): the birth card sum, and "Which tarot card are you?" ----------
   They look and move as they do in the app: the opening rises a piece at a time, a question slides in from the right,
   the sum folds line by line into its total, and the card turns over once. */
.tool-page { padding-top: 8px; }
.stage { scroll-margin-top: 12px; min-height: min(540px, 72vh); display: flex; flex-direction: column; justify-content: center; }
.stage > [hidden] { display: none; }
.opening { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 14px 0 8px; }
.opening > * { animation: rise var(--t-enter) var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
.opening h1 { font-size: var(--step-3); }
.opening > .muted { max-width: 30em; }
.opening > .btn { max-width: 340px; margin-top: 4px; }
.note { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
button.btn { cursor: pointer; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); box-shadow: none; }
.btn[disabled] { opacity: .45; box-shadow: none; cursor: default; }
.btn svg { width: 16px; height: 16px; margin-right: 8px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bc-art { width: 84px; aspect-ratio: var(--card-ar); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 6px; }
.bc-art img { width: 100%; height: 100%; object-fit: cover; }
.pt-fan { position: relative; width: 150px; height: 150px; margin-bottom: 6px; }
.pt-fan img { position: absolute; left: 50%; top: 10px; width: 78px; height: auto; margin-left: -39px; border-radius: 8px; box-shadow: var(--shadow); transform-origin: 50% 110%; }
.pt-fan img:nth-child(1) { transform: rotate(-17deg); } .pt-fan img:nth-child(3) { transform: rotate(17deg); }
.pt-fan img:nth-child(odd) { animation: fanOpen .9s var(--ease) .4s backwards; }
@keyframes fanOpen { from { transform: rotate(0deg); } }
/* three numbers */
.bc-form { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 10px; width: 100%; max-width: 300px; margin-top: 4px; }
.bc-f { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.bc-f input { width: 100%; min-width: 0; font-family: var(--f-display); font-size: var(--step-2); font-weight: 500; line-height: 1.2; font-variant-numeric: lining-nums; text-align: center; color: var(--fg); background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius-card); padding: 10px 4px; -webkit-appearance: none; appearance: none; transition: border-color var(--t-state), box-shadow var(--t-state); }
.bc-f input:focus { outline: none; border-color: var(--line); box-shadow: 0 0 0 3px var(--glow); }
.bc-f input::placeholder { color: var(--faint); font-family: var(--f-label); font-size: 0.6875rem; letter-spacing: .14em; }
.bc-err { min-height: 1.45em; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); }
.opening > .btn.bc-go { animation: none; transition: opacity var(--t-state), transform var(--t-press) var(--ease), box-shadow var(--t-state) var(--ease); } /* (no entrance: it would hold a waiting button at full strength) */
html:not(.js) .bc-form, html:not(.js) .bc-err, html:not(.js) .opening > .btn, html:not(.js) .opening > .note { display: none; }
/* the sum, worked through */
.bc-sum { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 4px; font-family: var(--f-display); font-variant-numeric: lining-nums; }
.bc-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .32em; font-size: var(--step-2); line-height: 1.25; color: var(--muted); }
.bc-line b { font-weight: 500; color: var(--fg); }
.bc-line.last b { color: var(--gold-hi); }
.bc-res.fresh > .bc-sum { animation: none; }
.bc-res.fresh .bc-terms { animation: rise var(--t-state) var(--ease) both; animation-delay: calc(var(--k) * .9s); }
.bc-res.fresh .bc-eq { animation: bcFold var(--t-state) var(--ease) both; animation-delay: calc(var(--k) * .9s + .45s); }
@keyframes bcFold { from { opacity: 0; transform: translateX(-10px) scale(.9); } to { opacity: 1; transform: none; } }
.bc-how { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
/* the card, and what it says */
.pt-res { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 6px 0 10px; }
.pt-res > * { animation: rise var(--t-enter) var(--ease) both; }
.pt-res.fresh > * { animation-delay: 1.55s; }
.pt-res.fresh > .pt-you, .pt-res.fresh > .pt-card { animation-delay: 0s; }
.pt-res.fresh > .pt-name { animation-delay: 1.15s; } .pt-res.fresh > .pt-tag { animation-delay: 1.3s; } .pt-res.fresh > .chips { animation-delay: 1.42s; }
.bc-res.fresh > * { animation-delay: calc(var(--t0) + 1.55s); }
.bc-res.fresh > .pt-you, .bc-res.fresh > .pt-card { animation-delay: var(--t0); }
.bc-res.fresh > .pt-name { animation-delay: calc(var(--t0) + 1.15s); } .bc-res.fresh > .pt-tag { animation-delay: calc(var(--t0) + 1.3s); } .bc-res.fresh > .chips { animation-delay: calc(var(--t0) + 1.42s); }
.pt-card { width: min(48vw, 196px); aspect-ratio: var(--card-ar); perspective: 1100px; flex: none; }
.pt-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.pt-res.fresh .pt-flip { animation: ptFlip 1.15s cubic-bezier(.3, .7, .2, 1) .3s both; }
.bc-res.fresh .pt-flip { animation-delay: calc(var(--t0) + .3s); }
@keyframes ptFlip { from { transform: rotateY(180deg) scale(.86); } 60% { transform: rotateY(0deg) scale(1.04); } to { transform: rotateY(0deg) scale(1); } }
.pt-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--shadow); background: var(--panel-2); }
.pt-back { transform: rotateY(180deg); }
.pt-you { color: var(--muted); }
.pt-name { font-size: var(--step-4); line-height: 1.05; margin-top: 4px; }
.pt-tag { font-family: var(--f-display); font-style: italic; font-size: 1.3125rem; line-height: 1.3; color: var(--gold); margin-top: -8px; }
.pt-why { font-size: 1.0625rem; line-height: 1.55; text-align: left; }
.pt-note { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); text-align: left; padding: 10px 14px; border-left: 2px solid var(--line); align-self: stretch; }
.sec { display: flex; flex-direction: column; gap: 6px; }
.sec h3 { font-family: var(--f-label); font-size: 0.6875rem; line-height: 1.5; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.pt-sec { align-self: stretch; text-align: left; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pt-sides { display: flex; flex-direction: column; gap: 12px; }
.pt-side { display: flex; flex-direction: column; gap: 3px; }
.pt-side p { font-size: 1.0625rem; line-height: 1.5; }
.pt-pair { display: flex; gap: 14px; align-items: flex-start; }
.pt-pair-th { width: 48px; height: auto; flex: none; border-radius: 6px; box-shadow: var(--shadow-sm); }
.pt-pair .txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pt-pair-nm { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.15; }
.pt-pair p { font-size: 1rem; line-height: 1.45; color: var(--muted); }
.panel { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.panel.gilt { border-color: var(--line); }
.pt-lock, .keep { align-self: stretch; text-align: left; gap: 10px; }
.pt-lock .label, .keep .label { color: var(--gold); }
.pt-lock h3, .keep h3 { font-size: 1.4375rem; line-height: 1.15; }
.keep > p:not(.buy-note) { color: var(--muted); }
.panel .btn { margin-top: 4px; }
.pt-list { display: flex; flex-direction: column; gap: 6px; padding-bottom: 2px; }
.pt-list li { position: relative; padding-left: 20px; font-size: 1rem; line-height: 1.4; color: var(--muted); }
.pt-list li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.buy-note { font-size: 0.875rem; color: var(--muted); text-align: center; line-height: 1.45; }
.pt-res > .btn { align-self: stretch; margin-top: 0; }
.pt-res > .near-c { align-self: stretch; }
.near-c.row, .near-c.row:nth-child(2) { flex-direction: row; text-align: left; }
.near-c.row > span { flex: 1; }
.kin.also { gap: 10px; }
.kin.also .near-c { padding: 12px 14px; }
.pt-again { margin-top: 2px; }
/* the questions */
.quiz { display: flex; flex-direction: column; gap: 22px; padding: 6px 0 10px; min-height: calc(100vh - 36px); min-height: calc(100svh - 36px); } /* a question has the screen to itself, as in the app */
.q-top { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; column-gap: 14px; }
.q-top .tnum { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-soft); transition: transform .2s var(--ease), border-color .2s; }
.icon-btn:active { transform: scale(.94); }
.icon-btn[hidden] { display: grid; visibility: hidden; }
.icon-btn .chev { width: 18px; height: 18px; stroke: var(--muted); transform: scaleX(-1); }
.segs { display: grid; gap: 5px; }
.segs i { height: 3px; border-radius: 4px; background: var(--line-soft); position: relative; overflow: hidden; }
.segs i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.segs i.on::after { transform: scaleX(1); }
.q { flex: 1; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.q.anim > * { animation: qIn .4s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes qIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.q-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pt-q { font-size: var(--step-2); line-height: 1.18; text-wrap: balance; }
.q-opts { display: flex; flex-direction: column; gap: 9px; }
.opt { width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 12px; text-align: left; border: 1px solid var(--line-soft); background: var(--panel); font-family: var(--f-display); font-size: 1.25rem; line-height: 1.2; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: border-color .3s, background .3s, opacity .4s, transform .15s var(--ease); }
.opt:active { background: var(--panel-2); transform: scale(.985); }
.pt-opt { font-size: 1.125rem; min-height: 58px; }
.pt-opt.on { border-color: var(--gold); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--gold); }
.pt-opt.dim { opacity: .45; }
.tool-page[data-state="quiz"] .body { display: none; } /* while the questions are being asked, nothing else is on the page */
/* the parts below: how it works, and every card it can come to */
.tool-page .body { margin-top: 34px; }
.eg { margin: 16px 0; padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.eg .label { color: var(--gold); }
.eg .bc-sum { margin: 2px 0; }
.eg .bc-line { font-size: 1.4375rem; }
.eg > p:last-child { font-family: var(--f-display); font-style: italic; font-size: 1.3125rem; line-height: 1.3; }
.sides { justify-content: flex-start; margin: 14px 0 16px; }
.cta + section, .cta + .kin { margin-top: 34px; }
section > .pt-list { margin-top: 12px; }
.tool-page .grid { gap: 22px 12px; }
.tile i { font-family: var(--f-display); font-style: italic; font-size: 0.9375rem; line-height: 1.25; color: var(--muted); text-wrap: balance; }
.res-more { margin-top: 30px; }
.res-more .near-c { padding: 12px 14px; }
/* small gold stars, and a short message */
.sparkles { position: fixed; z-index: 100; width: 0; height: 0; pointer-events: none; }
.sparkles svg { position: absolute; left: 0; top: 0; fill: var(--gold-hi); filter: drop-shadow(0 0 4px rgba(228, 203, 146, .8)); }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); width: fit-content; max-width: min(calc(100% - 32px), 440px); margin-inline: auto; z-index: 90; pointer-events: none; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); padding: 10px 18px; border-radius: 24px; font-family: var(--f-display); font-size: 1rem; line-height: 1.3; text-align: center; text-wrap: balance; box-shadow: var(--shadow-sm); animation: toastIn .5s cubic-bezier(.34, 1.4, .64, 1) both; }
.toast.bye { animation: fadeOut .35s var(--ease-soft) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeOut { to { opacity: 0; } }
@media (max-height: 700px) { .opening { gap: 10px; padding: 6px 0; } .bc-art { width: 56px; margin-bottom: 2px; } .pt-fan { width: 120px; height: 112px; } .pt-fan img { width: 58px; margin-left: -29px; } }

/* the foot of the page */
.foot { max-width: 500px; margin: 0 auto; padding: 30px 20px calc(40px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; border-top: 1px solid var(--line-soft); color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 4px 0; }
.foot nav a { padding: 8px 0; font-family: var(--f-label); font-size: 0.6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.credit { font-size: 0.875rem; }

@media (hover: hover) {
  .tile:hover img, .kin-row a:hover img { transform: translateY(-4px); }
  .near-c:hover { border-color: var(--line); }
  .pill:hover { background: var(--panel-2); }
}
/* a wide screen: the card keeps you company down the left while you read on the right */
@media (min-width: 940px) {
  .card-page { max-width: 1020px; display: grid; grid-template-columns: 340px minmax(0, 560px); justify-content: space-between; align-items: start; padding-top: 20px; }
  .card-page .hero { position: sticky; top: 28px; }
  .card3d { width: clamp(170px, calc((100vh - 400px) * 0.576), 270px); } /* the card, its name and its line always fit the window, so nothing hides below it */
  .body { margin-top: 44px; }
  .list-page { max-width: 1020px; }
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 18px; }
  .foot { max-width: 1020px; }
  .tool-page { max-width: 560px; }
  .tool-page .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 16px; }
}
@media (min-width: 600px) and (max-width: 939px) { .list-page { max-width: 640px; } .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tool-page { max-width: 560px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-page .flip, .card-page .sheen::before, .card-page .hero > .crumb, .card-page .hero > .kicker, .card-page .hero > h1, .card-page .hero > .chips, .card-page .hero > .hook { animation: none; }
  .js .rv, .js .rv .rev-card, .cta-fan img, .area p.swap { transition: none; animation: none; }
  .js .rv { opacity: 1; transform: none; }
  .js .rv .rev-card { transform: rotate(180deg); }
  .js .cta.rv:not(.in) .cta-fan img:nth-child(1) { transform: rotate(-17deg); } .js .cta.rv:not(.in) .cta-fan img:nth-child(3) { transform: rotate(17deg); }
  .opening > *, .pt-fan img:nth-child(odd), .pt-res > *, .pt-res.fresh .pt-flip, .bc-res.fresh .bc-terms, .bc-res.fresh .bc-eq, .q.anim > *, .toast, .toast.bye { animation: none; }
  .segs i::after { transition: none; }
}
