/* Kykie website, Proof Sheet direction. Tokens mirror brand/tokens.css.
   Rule of the brand: the red china-marker circle appears once per page; edge-print amber only on film black. */
:root {
  --table: #F3F5F4;     /* ground: the light table */
  --print: #FFFFFF;     /* cards: prints on the table */
  --film: #101112;      /* film black: text and strips */
  --film-2: #1B1C1E;    /* frames inside a strip */
  --silver: #63686D;    /* captions, secondary text */
  --body: #3C4044;      /* body copy */
  --line: #E4E7E6;
  --marker: #E0281F;    /* the circle and live dots only */
  --edge: #F2A93B;      /* film-edge print, only on black */
  --on-film: #C9CDD1;   /* body copy on black */
  --error: #B3261E;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Martian Mono', ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --shadow: 0 1px 2px rgba(16, 17, 18, .06), 0 12px 28px rgba(16, 17, 18, .07);
  --holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='9'%3E%3Crect width='12' height='9' rx='2' fill='%23D9DDDB'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* .join sets display: grid, which would otherwise beat the hidden attribute */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--table); color: var(--film); font-family: var(--sans); font-size: 17px; line-height: 1.5;
       -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--silver); }
:focus-visible { outline: 2px solid var(--film); outline-offset: 3px; border-radius: 2px; }
.dark :focus-visible, .strip :focus-visible { outline-color: #FFFFFF; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 14px; background: var(--film); color: #FFFFFF; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 600; font-stretch: 75%; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(54px, 8.4vw, 132px); line-height: .9; letter-spacing: -.04em; }
h2 { margin: 0; font-size: clamp(38px, 4.6vw, 66px); line-height: .95; letter-spacing: -.03em; }
h3 { margin: 0; letter-spacing: -.02em; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.logo { font-size: 36px; line-height: 1; font-weight: 600; font-stretch: 75%; letter-spacing: -.045em; text-decoration: none; }
.logo:hover { color: var(--film); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--film); color: #FFFFFF; }
.pill:hover { background: #2A2C2E; color: #FFFFFF; }
@media (max-width: 680px) { .nav a:not(.pill) { display: none; } }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 80px); padding-top: clamp(16px, 4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-text { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.eyebrow { margin: 0; color: var(--silver); }
.circled { position: relative; display: inline-block; margin-right: .12em; }
.circled svg { position: absolute; left: -11%; top: -16%; width: 122%; height: 134%; overflow: visible; transform: rotate(-4deg); pointer-events: none; }
.circled path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .35s cubic-bezier(.65, 0, .25, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { margin: 0; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); color: var(--body); text-wrap: pretty; }
.hero-photo { flex: 1 1 400px; min-width: 0; margin: 0; padding: 14px 14px 0; border-radius: 4px; background: var(--film); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.edge { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 14px; color: var(--edge); font-family: var(--mono);
        font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* the waitlist form (used twice) */
.join { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 10px; max-width: 580px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--email { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--silver); }
.join input, .join select { width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--film); border-radius: 10px;
                            background: var(--print); color: var(--film); font: inherit; font-size: 16px; }
.join select { appearance: none; -webkit-appearance: none; padding-right: 42px; background-repeat: no-repeat; background-position: right 16px center;
               background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23101112' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.join button { align-self: end; height: 52px; padding: 0 24px; border: 0; border-radius: 10px; background: var(--film); color: #FFFFFF;
               font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.join button:hover { background: #2A2C2E; }
.join button:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--silver); }
.form-msg { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 600; color: var(--error); }
.done { max-width: 580px; padding: 20px 22px; border-radius: 12px; background: var(--print); box-shadow: var(--shadow); }
.done:focus { outline: none; }
.done-title { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.done p { margin: 0; color: var(--body); }
@media (max-width: 480px) { .join { grid-template-columns: 1fr; } .join button { width: 100%; } }

/* film strip: how it works */
.strip { padding: 16px 0; background: var(--film); color: #FFFFFF; }
.holes { height: 9px; background: var(--holes) repeat-x 12px 0; }
.strip-body { display: flex; flex-direction: column; gap: 28px; padding-top: 40px; padding-bottom: 44px; }
.strip-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.strip-head .mono { margin: 0; color: var(--edge); font-size: 11px; }
.frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 10px; }
.frame { min-height: 232px; padding: 22px 22px 26px; border-radius: 3px; background: var(--film-2); display: flex; flex-direction: column; gap: 14px; }
.frame .no { color: var(--edge); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.frame h3 { font-size: 34px; line-height: 1; }
.frame p { margin: 0; color: var(--on-film); font-size: 16px; text-wrap: pretty; }

/* a quick look */
.look { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 80px); padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(64px, 7vw, 104px); }
.print-photo { flex: 1 1 520px; min-width: 0; margin: 0; padding: 12px; background: var(--print);
               box-shadow: 0 1px 2px rgba(16, 17, 18, .06), 0 24px 48px rgba(16, 17, 18, .10); transform: rotate(-1deg); }
.print-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.look-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.look-text .mono { margin: 0; color: var(--silver); text-transform: none; letter-spacing: .04em; }
.copy { margin: 0; max-width: 32em; font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.alert { max-width: 460px; padding: 20px 22px; border-radius: 12px; background: var(--print); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.alert-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--silver); font-size: 11px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--film); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--marker); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.alert-title { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 600; }
.alert-stats { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.alert-note { margin: 0; font-size: 15px; color: var(--body); }

/* sections with prints */
.section { display: flex; flex-direction: column; gap: 32px; padding-bottom: clamp(64px, 7vw, 104px); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card { padding: 24px 24px 28px; background: var(--print); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 28px; line-height: 1.05; }
.card p { margin: 0; font-size: 16px; color: var(--body); }
.card .mono { margin: 0; color: var(--silver); font-size: 11px; }
.nos { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.8; letter-spacing: .08em; text-transform: uppercase; }
.plans { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.price { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.price b { font-size: 68px; line-height: 1; font-weight: 600; font-stretch: 75%; letter-spacing: -.03em; }
.price span, .card .tokens + p { color: var(--body); }
.tokens { margin: 0; font-size: 18px; font-weight: 600; }
.plan--pick { background: var(--film); color: #FFFFFF; box-shadow: 0 1px 2px rgba(16, 17, 18, .10), 0 18px 36px rgba(16, 17, 18, .16); }
.plan--pick .mono { color: var(--edge); }
.plan--pick p, .plan--pick .price span, .plan--pick .tokens + p { color: var(--on-film); }
.plan--pick .tokens { color: #FFFFFF; }
.ledger { padding: 12px 0; border-radius: 4px; background: var(--film); color: #FFFFFF; }
.ledger .holes { margin: 0 12px; }
.ledger-body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 18px clamp(16px, 3vw, 28px); }
.ledger h3 { font-size: 18px; font-stretch: 100%; letter-spacing: 0; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--edge);
             font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.small { margin: 0; font-size: 15px; color: var(--silver); }
.drive { margin: 0; font-size: 17px; }

/* questions */
.faq { max-width: 880px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--print); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
               min-height: 44px; padding: 20px 22px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-size: 20px; color: var(--silver); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 22px 22px; color: var(--body); }

/* closing call to action */
.dark { background: var(--film); color: #FFFFFF; }
.cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px;
       padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.cta h2 { flex: 1 1 460px; font-size: clamp(44px, 6vw, 88px); line-height: .92; }
.cta-form { flex: 1 1 400px; min-width: 0; }
.dark .join input, .dark .join select { border-color: #FFFFFF; background-color: var(--film); color: #FFFFFF; }
.dark .join select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23FFFFFF' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); }
.dark .join select option { background: #FFFFFF; color: var(--film); }
.dark .join button { background: #FFFFFF; color: var(--film); }
.dark .join button:hover { background: var(--table); }
.dark .form-note, .dark .field label span { color: var(--on-film); }
.dark .form-msg { color: #FF8A80; }
.dark .done { background: var(--film-2); box-shadow: none; }
.dark .done p { color: var(--on-film); }

/* footer */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 28px; padding-bottom: 40px;
        font-size: 14px; color: var(--body); }
.foot-brand { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.foot .logo { font-size: 26px; color: var(--film); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* privacy notice and other plain pages */
.doc { max-width: 780px; padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.doc h1 { font-size: clamp(48px, 7vw, 96px); }
.doc h2 { margin-top: 44px; font-size: clamp(26px, 3vw, 34px); }
.doc p, .doc li { color: var(--body); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc .updated { color: var(--silver); }
.fill { padding: 0 .25em; border-radius: 2px; background: #FFF1B8; color: var(--film); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .circled path { animation: none; stroke-dashoffset: 0; }
  .live::before { animation: none; }
}
