/* Shrimpz Appz — studio site. No web fonts, cookies or trackers: system type, set with care. */
:root {
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --card: #ffffff;
  --ink: #15201c;
  --muted: #5b6560;
  --line: rgba(21, 32, 28, 0.1);
  --coral: #ee624c;
  --coral-deep: #c9452f;
  --cream: #fff6ee;
  --shadow: 0 1px 2px rgba(21, 32, 28, 0.06), 0 12px 32px -12px rgba(21, 32, 28, 0.18);
  --radius: 28px;
  --max: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1412;
    --paper-2: #131b18;
    --card: #18211e;
    --ink: #f2efe8;
    --muted: #a3ada7;
    --line: rgba(242, 239, 232, 0.12);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 10px; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); background: color-mix(in srgb, var(--paper) 82%, transparent); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand span b { color: var(--coral); font-weight: 800; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.button-small { color: #fff; background: var(--ink); }
@media (prefers-color-scheme: dark) { .nav a.button-small { color: var(--paper); } }
@media (max-width: 640px) { .nav a:not(.button-small) { display: none; } }

/* Type */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
h1, h2, h3 { letter-spacing: -0.035em; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 850; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.lede { font-size: clamp(19px, 2.1vw, 23px); line-height: 1.5; color: var(--muted); max-width: 40ch; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform 0.15s ease, background 0.15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--coral) 80%, transparent); }
.button.primary:hover { background: var(--coral-deep); }
.button.ghost { border-color: var(--line); background: var(--card); }
.button svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .buttons { margin-top: 34px; }
.icon-stack { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: end; width: 100%; }
.icon-stack img { position: absolute; width: 46%; border-radius: 22%; box-shadow: 0 30px 60px -24px rgba(21, 32, 28, 0.45), 0 2px 6px rgba(21, 32, 28, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.icon-stack img:nth-child(1) { left: 6%; top: 10%; transform: rotate(-9deg); }
.icon-stack img:nth-child(2) { right: 4%; top: 2%; transform: rotate(8deg); }
.icon-stack img:nth-child(3) { left: 27%; bottom: 4%; transform: rotate(-2deg); z-index: 2; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; z-index: -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .icon-stack { justify-self: center; max-width: 360px; } }

/* Sections */
section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0; font-size: 18px; }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .apps { grid-template-columns: 1fr; } }
.app-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 220px; background: var(--tint); opacity: 0.95; z-index: 0; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); mask-image: linear-gradient(180deg, #000 35%, transparent); }
.app-card > * { position: relative; z-index: 1; }
.app-card .icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.app-card p { margin: 0; color: var(--muted); }
.app-card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.pill.status { background: color-mix(in srgb, var(--coral) 14%, transparent); color: var(--coral-deep); }
@media (prefers-color-scheme: dark) { .pill.status { color: #ff9a86; } }
.app-card .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.app-card .links a { font-size: 15px; font-weight: 700; text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.app-card .links a.main { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.app-card .links a:hover { border-color: var(--ink); }
.tint-toytill { --tint: linear-gradient(135deg, #d9f2fc 0%, #fff1c2 55%, #ffe1e4 100%); }
.tint-paranoia { --tint: linear-gradient(135deg, #1b1430 0%, #3a1c4e 60%, #12313a 100%); }
.tint-wedding { --tint: linear-gradient(135deg, #f7e9df 0%, #efd9c8 55%, #e9dfee 100%); }
@media (prefers-color-scheme: dark) {
  .tint-toytill { --tint: linear-gradient(135deg, #12313a 0%, #3a3216 55%, #3b1d22 100%); }
  .tint-wedding { --tint: linear-gradient(135deg, #3a2a22 0%, #33261d 55%, #2c2433 100%); }
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 28px; border-radius: var(--radius); background: var(--paper-2); }
.principle .mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--card); margin-bottom: 18px; }
.principle .mark svg { width: 22px; height: 22px; color: var(--coral); }
.principle p { color: var(--muted); margin: 10px 0 0; }

/* Contact band */
.band { border-radius: calc(var(--radius) + 8px); padding: clamp(36px, 6vw, 64px); background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: center; }
.band p { color: color-mix(in srgb, var(--paper) 72%, transparent); margin: 14px 0 0; font-size: 18px; }
.band .button.primary { justify-self: end; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band .button.primary { justify-self: start; } }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Article pages (privacy, support) */
.article { padding: clamp(40px, 7vw, 88px) 0; }
.article .wrap { max-width: 760px; }
.article h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 14px; }
.article .updated { color: var(--muted); margin: 0 0 32px; }
.article h2 { font-size: 26px; letter-spacing: -0.02em; margin: 40px 0 10px; }
.article p, .article li { color: color-mix(in srgb, var(--ink) 82%, var(--muted)); }
.article .summary { padding: 22px 24px; border-radius: 20px; background: var(--paper-2); font-size: 18px; color: var(--ink); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

.faq { display: grid; gap: 12px; margin-top: 24px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 750; font-size: 18px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--coral); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 28px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card strong { display: block; font-size: 20px; letter-spacing: -0.01em; }
.contact-card span { color: var(--muted); }

/* ToyTill page */
.toytill { --tt-teal: #0a6c6e; --tt-sun: #ffc93c; --tt-coral: #c8324a; --tt-mint: #d3f3e4; --tt-sky: #d9f2fc; --tt-parch: #fff5df; --tt-ink: #1b2a4a; }
.tt-hero { background: linear-gradient(180deg, var(--tt-sky) 0%, var(--tt-parch) 100%); color: var(--tt-ink); padding: clamp(48px, 8vw, 104px) 0 0; overflow: hidden; }
.tt-hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: end; }
.tt-hero .app-id { display: flex; align-items: center; gap: 16px; font-weight: 800; font-size: 22px; letter-spacing: -0.01em; }
.tt-hero .app-id img { width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 14px 30px -12px rgba(27, 42, 74, 0.5); }
.tt-hero h1 { font-size: clamp(42px, 6.4vw, 78px); margin: 26px 0 20px; color: var(--tt-ink); }
.tt-hero .lede { color: #3a4763; }
.tt-hero .copy { padding-bottom: clamp(140px, 13vw, 170px); }
.tt-hero .stage { position: relative; height: clamp(320px, 38vw, 470px); }
.tt-hero .stage .counter { position: absolute; left: -100vw; right: -100vw; bottom: 0; height: 26%; background: linear-gradient(180deg, #fbefd6, #f3e0bc); }
.tt-hero .stage .counter::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 22px; background: linear-gradient(#fff8e8 0 8px, var(--tt-teal) 8px); box-shadow: 0 6px 14px -6px rgba(27, 42, 74, 0.35); }
.tt-hero .stage img.bear { position: absolute; left: 4%; bottom: 20%; width: 52%; }
.tt-hero .stage img.till { position: absolute; right: 0; bottom: 6%; width: 48%; filter: drop-shadow(0 18px 24px rgba(27, 42, 74, 0.25)); }
@media (max-width: 860px) { .tt-hero .wrap { grid-template-columns: 1fr; } .tt-hero .copy { padding-bottom: 0; } .tt-hero .stage .counter { left: -40px; right: -40px; } }
/* The ToyTill hero stays light in dark mode, so its buttons do too. */
.tt-hero .button.ghost { background: #fff; color: var(--tt-ink); border-color: rgba(27, 42, 74, 0.14); }
.tt-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--tt-ink); font-weight: 750; font-size: 15px; box-shadow: 0 6px 18px -8px rgba(27, 42, 74, 0.35); }
.tt-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tt-sun); box-shadow: 0 0 0 4px rgba(255, 201, 60, 0.35); }
.tt-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tt-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tt-features { grid-template-columns: 1fr; } }
.tt-feature { padding: 26px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tt-feature .dot { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.tt-feature .dot svg { width: 24px; height: 24px; }
.tt-feature p { color: var(--muted); margin: 8px 0 0; }
.promises { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.promises span { padding: 10px 16px; border-radius: 999px; font-weight: 700; background: var(--tt-mint, #d3f3e4); color: #0a5c5e; }
@media (prefers-color-scheme: dark) { .promises span { background: #143b33; color: #9fe3c9; } }

/* Language menu */
.lang { position: relative; }
.lang select { appearance: none; -webkit-appearance: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 32px 8px 14px; cursor: pointer; }
.lang::after { content: "▾"; position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--muted); pointer-events: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
