/* MIKODES Shop (2026-11-10). Paper white, indigo ink, one brand indigo; Geist; Geist Mono only for money and times. */
:root {
  --paper: #FBFBFD;
  --sheet: #FFFFFF;
  --ink: #16123A;
  --ink-2: #4A4766;
  --ink-3: #77748F;
  --line: #E4E1F2;
  --indigo: #3B2DFF;
  --indigo-deep: #2A1FD1;
  --cyan: #00B4FF;
  --ok: #17A673;
  --sans: Geist, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 40px); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 50; background: var(--sheet); padding: 8px 12px; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.03em; line-height: 1.08; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 251, 253, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 17px; }
.brand img { border-radius: 8px; }
.brand b { font-weight: 800; letter-spacing: -.02em; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }
.top-cta { padding: 9px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.top-cta:hover { background: var(--indigo); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; border: 0;
  background: var(--indigo); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--indigo-deep); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.big { width: 100%; padding: 18px 22px; font-size: 17px; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* hero: the order ticket is the one memorable thing */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -0.045em; }
.lede { max-width: 56ch; margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ticket { margin: 0; position: relative; background: var(--sheet); border-radius: 18px; padding: 26px 26px 18px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -34px rgba(22, 18, 58, .45); transform: rotate(1.6deg); }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: radial-gradient(circle at 8px -2px, transparent 7px, var(--sheet) 7.5px) 0 0 / 16px 12px repeat-x; }
.ticket-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1.5px dashed var(--line); }
.ticket-head img { border-radius: 10px; }
.ticket-head b { display: block; font-size: 18px; }
.ticket-head span { font: 500 13px var(--mono); color: var(--ink-3); }
.steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
.steps li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line); }
.steps li.done::before { background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: none; }
.steps li.next::before { box-shadow: inset 0 0 0 2px var(--indigo); }
.steps b { font-weight: 500; font-size: 15px; }
.steps .mono { font-size: 13px; color: var(--ink-3); }
.steps li { opacity: 0; animation: tick .42s cubic-bezier(.2, .7, .2, 1) forwards; }
.steps li:nth-child(1) { animation-delay: .25s; } .steps li:nth-child(2) { animation-delay: .65s; }
.steps li:nth-child(3) { animation-delay: 1.05s; } .steps li:nth-child(4) { animation-delay: 1.45s; }
@keyframes tick { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ticket figcaption { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

/* catalog */
.catalog { padding: 24px 0 40px; }
.cat-head { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 18px 0 8px;
  position: sticky; top: 64px; z-index: 10; background: var(--paper); }
.cat-head h2 { font-size: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 13px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink-2); font: 500 14px var(--sans); cursor: pointer; }
.chip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-3); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.search input { width: 260px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--sheet); font: 15px var(--sans); color: var(--ink); }
.search input:focus { border-color: var(--indigo); outline: none; }
.group { padding-top: 34px; }
.group h3 { font-size: 15px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; margin-bottom: 16px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.item-link { display: block; color: inherit; text-decoration: none; }
.item-img { display: block; overflow: hidden; border-radius: 14px; background: #ECEAF7; aspect-ratio: 590 / 300; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.item-link:hover .item-img img { transform: scale(1.025); }
.item-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start; margin-top: 14px; }
.item-logo { border-radius: 9px; }
.item-txt b { display: block; font-size: 17px; letter-spacing: -.01em; }
.item-txt small { display: block; color: var(--ink-2); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.item-link:hover .item-txt b { color: var(--indigo); }
.price { font: 600 17px var(--mono); white-space: nowrap; color: var(--ink); }
.price .from { font: 400 12px var(--sans); color: var(--ink-3); margin-right: 2px; }
.price.ask { font: 500 13px var(--sans); color: var(--ink-3); }
.empty { padding: 40px 0; color: var(--ink-2); }

/* how + faq */
.how, .faq { padding: 64px 0; border-top: 1px solid var(--line); }
.how h2, .faq h2 { font-size: 34px; margin-bottom: 28px; }
.how-list { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.how-list li { counter-increment: s; }
.how-list li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font: 600 15px var(--mono); margin-bottom: 14px; }
.how-list b { font-size: 18px; }
.how-list p { margin: 6px 0 0; color: var(--ink-2); }
.faq details { max-width: 760px; border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font: 500 22px var(--mono); color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); max-width: 66ch; }

/* product page */
.crumbs { padding: 22px 0 0; font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.prod { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; padding: 20px 0 80px; }
.prod-title { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.prod-title img { border-radius: 14px; }
.prod-title h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 800; }
.prod-title p { margin: 6px 0 0; color: var(--ink-2); font-size: 18px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; background: #ECEAF7; }
.shot img { width: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .65; box-shadow: inset 0 0 0 1px var(--line); background: none; }
.thumbs button img { width: 140px; height: 94px; object-fit: cover; }
.thumbs button.on, .thumbs button:hover { opacity: 1; box-shadow: 0 0 0 2px var(--indigo); }
.summary { font-size: 19px; line-height: 1.6; max-width: 66ch; margin: 30px 0 0; }
.prod-main h2 { font-size: 24px; margin: 40px 0 14px; }
.feat, .req { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 70ch; }
.feat li, .req li { position: relative; padding-left: 26px; color: var(--ink-2); }
.feat li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.req li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.buybox { position: sticky; top: 88px; }
.buy-in { background: var(--sheet); border-radius: 18px; padding: 26px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(22, 18, 58, .35); }
.buy-in > .price { display: block; font-size: 34px; margin-bottom: 18px; }
.buy-in > .price .from { font-size: 14px; }
.lic { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.lic legend { font-weight: 600; margin-bottom: 8px; }
.lic label { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.lic label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--indigo); background: #F6F5FF; }
.lic input { accent-color: var(--indigo); width: 18px; height: 18px; margin: 0; }
.lic b { display: block; font-size: 15px; }
.lic small { color: var(--ink-3); font-size: 13px; }
.lic em { font-style: normal; font-weight: 600; }
.fine, .help { font-size: 13px; color: var(--ink-3); margin: 12px 0 0; }
.ask-note { color: var(--ink-2); margin: 0 0 16px; }
.gets { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 15px; }
.gets li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }
.try { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.try a { padding: 8px 12px; border-radius: 10px; background: #F1F0F8; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.try a:hover { background: #E6E4F4; }
.err { color: #C2412D; font-size: 14px; margin: 10px 0 0; }

/* thanks / order */
.done { padding: 80px 0 100px; max-width: 720px; }
.done h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; }
.dl { display: grid; gap: 12px; margin-top: 30px; }
.dl a.file { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--sheet);
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(22, 18, 58, .4); color: var(--ink); text-decoration: none; }
.dl a.file img { border-radius: 10px; }
.dl a.file b { display: block; }
.dl a.file small { color: var(--ink-3); }
.dl a.file span.go { padding: 10px 16px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 600; }
.next-steps { margin-top: 36px; padding: 22px; border-radius: 16px; background: #F1F0F8; }
.next-steps h2 { font-size: 20px; margin-bottom: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 60px; background: var(--sheet); }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--ink-2); max-width: 44ch; font-size: 15px; }
.foot h3 { font-size: 14px; letter-spacing: 0; color: var(--ink-3); font-weight: 600; margin-bottom: 12px; }
.foot-in > div:not(:first-child) a { display: block; color: var(--ink); text-decoration: none; padding: 3px 0; font-size: 15px; }
.foot-in > div a:hover { color: var(--indigo); }

@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
  .ticket { max-width: 460px; transform: rotate(1deg); }
  .cat-head { grid-template-columns: 1fr; position: static; }
  .search input { width: 100%; }
  .prod { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .how-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .top nav { display: none; }
  .top-cta { margin-left: auto; }
  .grid { grid-template-columns: 1fr; }
  .how-list { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chip { flex: none; }
}
