/* Tama Collector site — kawaii neobrutalism (Claude Design canvas, "Landing v2"). */

@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Palanquin'; src: url('fonts/Palanquin-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Palanquin'; src: url('fonts/Palanquin-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Palanquin'; src: url('fonts/Palanquin-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Press Start 2P'; src: url('fonts/PressStart2P-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root {
  --bg: #FFF5FA;
  --ink: #1a1030;
  --text2: #3d2f5c;
  --muted: #5c5270;
  --primary: #7C4DFF;
  --primary2: #651FFF;
  --accent: #FFD740;
  --pink: #FFC7DE;
  --hot-pink: #FF4081;
  --mint: #C8F7DC;
  --butter: #FFF1B8;
  --lilac: #E9DDFF;
  --sky: #CFF3FF;
  --egg: #CDB8FF;
  --night: #2d1b5e;
  --ok-text: #0b6b3a;
  --rose-text: #a3134a;
  --round: Fredoka, 'Palanquin', system-ui, sans-serif;
  --pixel: 'Press Start 2P', monospace;
  --line: 3px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background-color: var(--bg); color: var(--ink);
  font-family: Palanquin, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(rgba(26,16,48,.10) 1.5px, transparent 1.6px); background-size: 18px 18px;
}
img { max-width: 100%; }
a { color: var(--text2); }
a:hover { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.px { image-rendering: pixelated; image-rendering: crisp-edges; }
.lcd {
  background-image: linear-gradient(rgba(26,16,48,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26,16,48,.07) 1px, transparent 1px);
  background-size: 6px 6px;
}
.eyebrow { font-family: var(--pixel); font-size: 11px; line-height: 1.6; color: var(--primary); }
.sec-title { font-family: var(--round); font-size: 52px; line-height: 1.05; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px;
  border: var(--line); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--round); font-weight: 600; font-size: 19px; color: var(--ink); text-decoration: none;
  white-space: nowrap; transition: transform .1s, box-shadow .1s;
}
.btn:hover { color: var(--ink); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-primary { background: var(--accent); }
.btn-secondary { background: #fff; }
.btn-soon { color: var(--muted); border-style: dashed; box-shadow: none; cursor: default; }
.btn-soon:hover, .btn-soon:active { color: var(--muted); transform: none; box-shadow: none; }
.btn-sm { min-height: 48px; padding: 0 22px; font-size: 17px; box-shadow: 4px 4px 0 var(--ink); }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 14px; border: var(--line); }
.brand span { font-family: var(--pixel); font-size: 12px; line-height: 1.5; }
.brand em { font-style: normal; color: var(--primary); }
.nav { display: flex; align-items: center; gap: 8px; padding: 6px; background: #fff; border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); font-size: 16px; }
.nav a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.nav a:hover { background: var(--pink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 88px; }
.hero-copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  background: var(--mint); border: var(--line); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--round); font-weight: 600; font-size: 15px; transform: rotate(-2deg);
}
.hero h1 { font-family: var(--round); font-size: 76px; line-height: 0.98; font-weight: 700; letter-spacing: -1.5px; }
.hero h1 mark {
  display: inline-block; padding: 0 14px; color: inherit; background: var(--pink);
  border: var(--line); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg);
}
.hero .lead { font-size: 20px; line-height: 1.5; max-width: 500px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.fine { font-size: 15px; color: var(--muted); }

/* Egg device + stickers */
.hero-visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.stage { position: relative; width: 460px; max-width: 100%; aspect-ratio: 1 / 1.05; }
.blob { position: absolute; inset: 8% 6% 4% 10%; background: var(--lilac); border: var(--line); border-radius: 50%; transform: rotate(-8deg); }
.egg-pos { position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 0.84 / 1; transform: translate(-50%, -50%); }
.egg {
  position: relative; width: 100%; height: 100%; background: var(--egg); border: 4px solid var(--ink);
  border-radius: 50% 50% 46% 46% / 58% 58% 42% 42%; box-shadow: 10px 10px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8%;
}
.egg-shine { position: absolute; top: 12%; left: 18%; width: 22%; height: 7%; background: rgba(255,255,255,.75); border-radius: 999px; transform: rotate(-28deg); }
.egg-screen { width: 58%; aspect-ratio: 1.15 / 1; background-color: var(--mint); border: 4px solid var(--ink); border-radius: 18px; display: flex; align-items: center; justify-content: center; }
.egg-screen img { width: 72%; height: auto; }
.egg-buttons { display: flex; gap: 10px; align-items: center; }
.egg-buttons i { width: 24px; height: 24px; background: var(--accent); border: var(--line); border-radius: 50%; }
.egg-buttons i:nth-child(2) { transform: translateY(6px); }
.sticker { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sticker-tile { display: flex; align-items: center; justify-content: center; border: var(--line); box-shadow: 4px 4px 0 var(--ink); }
.bubble { padding: 6px 12px; background: #fff; border: var(--line); border-radius: 16px 16px 16px 4px; box-shadow: 3px 3px 0 var(--ink); font-family: var(--round); font-weight: 600; font-size: 15px; }
.s-mochi { left: 0; top: 6%; }
.s-mochi .sticker-tile { width: 84px; height: 84px; background: var(--butter); border-radius: 24px; transform: rotate(-8deg); }
.s-mochi img { width: 64px; height: 64px; }
.s-axolotl { right: 0; top: 18%; }
.s-axolotl .sticker-tile { width: 76px; height: 76px; background: var(--sky); border-radius: 50%; transform: rotate(8deg); }
.s-axolotl img { width: 56px; height: 56px; }
.s-heart {
  right: 2%; bottom: 10%; flex-direction: row; gap: 8px; padding: 8px 14px; background: var(--pink);
  border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(4deg);
  font-family: var(--round); font-weight: 600; font-size: 16px;
}
.s-chick { left: 4%; bottom: 6%; }
.s-chick .sticker-tile { width: 72px; height: 72px; background: #fff; border-radius: 22px; transform: rotate(-6deg); }
.s-chick img { width: 54px; height: 54px; }
.sparkle { position: absolute; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.bob { animation: bob 3.2s ease-in-out infinite; }
.bob2 { animation: bob 2.6s ease-in-out .6s infinite; }
@media (prefers-reduced-motion: reduce) { .bob, .bob2 { animation: none; } }

/* Models ticker */
.ticker-wrap { padding: 8px 0 24px; overflow: hidden; }
.ticker { background: var(--accent); border-top: var(--line); border-bottom: var(--line); transform: rotate(-1.5deg); margin: 0 -40px; padding: 18px 0; overflow: hidden; }
.ticker-track { display: flex; gap: 28px; align-items: center; justify-content: center; white-space: nowrap; font-family: var(--round); font-weight: 600; font-size: 22px; }

/* How it works */
.how { padding-top: 96px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.step { background: #fff; border: var(--line); border-radius: 28px; box-shadow: 7px 7px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1deg); }
.step:nth-child(2) { transform: translateY(16px) rotate(1deg); }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-family: var(--pixel); font-size: 20px; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border: var(--line); border-radius: 18px; }
.step-top img { width: 56px; height: 56px; }
.step h3 { font-family: var(--round); font-size: 26px; font-weight: 600; }
.step p { font-size: 17px; line-height: 1.5; color: var(--text2); }

/* Features */
.features { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tile { border: var(--line); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.tile h3 { font-family: var(--round); font-size: 24px; font-weight: 600; }
.tile p { font-size: 16px; line-height: 1.5; color: var(--text2); }
.tile .big { font-family: var(--pixel); font-size: 34px; }
.tile img { width: 48px; height: 48px; }

/* Community */
.community { background: var(--lilac); border-top: var(--line); border-bottom: var(--line); }
.community-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.community-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.community-copy .eyebrow { color: var(--primary2); }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pills span { padding: 10px 16px; background: #fff; border: var(--line); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: 15px; }
.cards { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; padding: 16px 0 40px; }
.collector { width: 46%; max-width: 210px; background: #fff; border: var(--line); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.collector:first-child { transform: rotate(-5deg) translateX(12px); }
.collector:last-child { transform: rotate(4deg) translateY(28px) translateX(-12px); }
.collector-art { aspect-ratio: 1 / 1; border: var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.collector-art img { width: 62%; height: auto; }
.collector-meta { display: flex; align-items: center; justify-content: space-between; font-family: var(--round); font-weight: 600; font-size: 16px; }
.collector-meta span:last-child { color: var(--hot-pink); }

/* PRO line */
.pro-line { padding-top: 72px; }
.pro-pill { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; padding: 18px 24px; background: var(--night); color: #fff; border: var(--line); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink); text-align: center; }
.pro-pill b { font-family: var(--pixel); font-weight: 400; font-size: 10px; padding: 7px 10px; background: var(--accent); color: var(--ink); border-radius: 999px; }
.pro-pill span { font-family: var(--round); font-weight: 500; font-size: 18px; }

/* Final CTA */
.final { padding-top: 72px; padding-bottom: 112px; }
.final-box { background: var(--pink); border: var(--line); border-radius: 40px; box-shadow: 9px 9px 0 var(--ink); padding: 64px 32px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.final-box .sec-title { font-size: 56px; max-width: 720px; }
.final-box p { font-size: 18px; font-weight: 600; color: var(--rose-text); }
.final-sprites { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.final-sprites div { width: 76px; height: 76px; background: #fff; border: var(--line); border-radius: 22px; display: flex; align-items: center; justify-content: center; }
.final-sprites div:nth-child(1) { transform: rotate(-6deg); }
.final-sprites div:nth-child(2) { transform: rotate(4deg); }
.final-sprites div:nth-child(3) { transform: rotate(-3deg); }
.final-sprites img { width: 58px; height: 58px; }

/* Footer */
.site-footer { border-top: var(--line); background: #fff; }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer-about { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.footer-about b { font-family: var(--pixel); font-weight: 400; font-size: 11px; }
.footer-about p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; font-weight: 600; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 24px 96px; }
.legal-box { background: #fff; border: var(--line); border-radius: 28px; box-shadow: 7px 7px 0 var(--ink); padding: 48px; }
.legal h1 { font-family: var(--round); font-size: 44px; line-height: 1.1; font-weight: 700; margin-bottom: 8px; }
.legal .updated { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.legal .lang { font-size: 15px; margin-bottom: 32px; }
.legal h2 { font-family: var(--round); font-size: 24px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 17px; line-height: 1.6; color: var(--text2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 2px solid var(--lilac); vertical-align: top; color: var(--text2); }
.legal th { color: var(--ink); }
.table-scroll { overflow-x: auto; }
.legal ol { padding-left: 22px; margin: 12px 0; }

/* Support page */
.contact-card { background: var(--butter); border: var(--line); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); padding: 24px; margin: 8px 0 12px; }
.contact-card p { color: var(--ink); }
.contact-card .btn { margin-top: 14px; }
.legal details { border: var(--line); border-radius: 16px; background: #fff; margin: 12px 0; }
.legal details[open] { background: var(--lilac); }
.legal summary { cursor: pointer; padding: 14px 18px; font-family: var(--round); font-size: 18px; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: '+'; font-weight: 700; }
.legal details[open] summary::after { content: '–'; }
.legal details > :not(summary) { padding: 0 18px; }
.legal details > :last-child { padding-bottom: 16px; }
.legal details ul, .legal details ol { padding-left: 40px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .brand span { font-size: 10px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 46px; }
  .sec-title, .final-box .sec-title { font-size: 34px; }
  .s-chick { display: none; }
  .ticker-track { justify-content: flex-start; padding-left: 56px; font-size: 18px; }
  .legal-box { padding: 28px 20px; }
  .legal h1 { font-size: 32px; }
}
