/* Foil Pop (~/AI Projects/Design Systems/Foil Pop/DESIGN.md) */
:root {
  --canvas: #FAF8FC; --paper: #FFFFFF; --bone: #F4F0F8; --ink: #2A1F3D;
  --line: rgb(42 31 61 / 0.10); --edge: rgb(42 31 61 / 0.06);
  --orchid: #D9ACE5; --mauve: #CD92CB; --aqua: #7DECF0;
  --lilac: #F2E6F7; --ice: #E0F8F9; --peach: #FDF0E2; --sky: #E7EDFC; --mint: #E3F8F3;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, Menlo, monospace;
  --shadow-card: 0 1px 2px rgb(80 50 120 / 0.04), 0 12px 32px -18px rgb(80 50 120 / 0.22);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans);
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: #E9D5FF; color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tight { letter-spacing: -0.045em; }

/* nav */
.nav {
  position: sticky; top: 12px; z-index: 10; margin: 12px auto 0; width: calc(100% - 24px); max-width: 1192px;
  height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 16px; border-radius: 999px;
  background: rgb(255 255 255 / 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--edge); box-shadow: 0 8px 24px -14px rgb(80 50 120 / 0.3);
}
.brand { display: flex; align-items: center; gap: 10px; font: 500 15px/1 var(--sans); text-decoration: none; margin-right: auto; }
.links { display: flex; gap: 4px; }
.links a { font-size: 14px; color: rgb(42 31 61 / 0.68); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.links a:hover { color: var(--ink); background: rgb(42 31 61 / 0.05); }
@media (max-width: 560px) { .links { display: none; } }

/* buttons, chips, labels */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1 var(--sans);
  padding: 13px 22px; border-radius: 999px; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orchid); color: var(--ink); box-shadow: 0 6px 16px -8px rgb(140 90 180 / 0.5); }
.btn-primary:hover { background: var(--mauve); }
.btn-secondary { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { background: rgb(42 31 61 / 0.04); }
.btn-small { font-size: 14px; padding: 9px 14px; }
.chip { display: inline-flex; background: var(--ink); color: #fff; font: 500 13px/1 var(--sans); padding: 6px 10px; border-radius: 999px; rotate: -2deg; }
.label { font: 500 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: 0.14em; color: rgb(42 31 61 / 0.68); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5ED6C8; display: inline-block; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgb(94 214 200 / 0); } 0%, 100% { box-shadow: 0 0 0 0 rgb(94 214 200 / 0.5); } }
.highlight { background-image: linear-gradient(90deg, #D9ACE5, #ADC1F1 28%, #7DECF0 50%, #F3F6B6 72%, #FAC1C5);
  background-size: 100% 0.45em; background-position: 0 88%; background-repeat: no-repeat; padding: 0 0.1em; }

/* layout */
main { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { main { padding: 0 12px; } }
.section { padding: 80px 0 0; }
@media (max-width: 640px) { .section { padding-top: 56px; } }
h2 { font-size: clamp(36px, 6vw, 60px); line-height: 1.02; font-weight: 500; margin: 0 0 40px; max-width: 768px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding-top: 80px; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 0.98; font-weight: 500; margin: 0 0 24px; }
.lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 500; letter-spacing: -0.025em; color: rgb(42 31 61 / 0.8); margin: 0 0 32px; max-width: 34ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; height: 380px; }
.hero-art .bob:first-child { position: absolute; top: 10px; left: 12%; }
.hero-art .bob:last-child { position: absolute; bottom: 0; right: 8%; }
.sticker.big { width: min(300px, 60vw); }
.sticker.small { width: 150px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-art { order: -1; height: 240px; }
  .sticker.big { width: 200px; } .sticker.small { width: 110px; }
}

/* cards */
.card { background: var(--paper); border-radius: 24px; border: 1px solid var(--edge); box-shadow: var(--shadow-card); }
.features { display: grid; gap: 16px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 24px; border: 1px solid var(--edge);
  box-shadow: var(--shadow-card); overflow: hidden; min-height: 560px; }
.feature.flip .feature-art { order: 2; }
.feature-art { position: relative; overflow: hidden; display: grid; place-items: center; }
/* The band runs off the panel's top and bottom on purpose: the watch face is the point */
.feature-art img { width: 380px; height: auto; max-width: none; filter: drop-shadow(0 24px 30px rgb(80 50 120 / 0.28)); transition: transform .5s var(--ease); }
.feature:hover .feature-art img { transform: translateY(-6px); }
.feature-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.feature-body p { font-size: 18px; line-height: 1.625; color: rgb(42 31 61 / 0.68); margin: 0; max-width: 44ch; }
.feature-body .btn { margin-top: 8px; }
.app-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.app-head .icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 8px 18px -10px rgb(80 50 120 / 0.5); }
.feature h3 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; font-weight: 500; letter-spacing: -0.045em; margin: 0; }
.feature.small { min-height: 380px; grid-template-columns: 1fr 1.3fr; }
.feature.small .feature-art img { width: 260px; }
.feature.small .app-head .icon { width: 48px; height: 48px; border-radius: 12px; }
.feature.small h3 { font-size: clamp(26px, 2.6vw, 32px); }
.feature.small.flip { grid-template-columns: 1.3fr 1fr; }
.more { font: 400 12px/1.4 var(--mono); color: rgb(42 31 61 / 0.68); }
@media (max-width: 820px) {
  .feature, .feature.small, .feature.small.flip { grid-template-columns: 1fr; min-height: 0; }
  .feature.flip .feature-art { order: 0; }
  .feature-art { height: 420px; }
  .feature-art img { width: 300px; }
  .feature.small .feature-art { height: 320px; }
  .feature.small .feature-art img { width: 220px; }
  .feature-body { padding: 28px 24px 32px; }
}
.tilt { rotate: var(--tilt, 0deg); transition: rotate .4s var(--ease), translate .4s var(--ease); }
.tilt:hover { rotate: 0deg; translate: 0 -3px; }

.about { position: relative; }
.card.text { padding: 40px 48px; max-width: 860px; }
.card.text h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; margin-bottom: 24px; }
.card.text p:not(.label) { font-size: 18px; line-height: 1.625; color: rgb(42 31 61 / 0.68); margin: 0 0 16px; max-width: 62ch; }
.card.text { position: relative; }
.sticker.about-sticker { position: absolute; width: 140px; right: -36px; top: -40px; }
@media (max-width: 640px) { .sticker.about-sticker { width: 96px; right: -4px; top: -48px; } }
@media (max-width: 640px) { .card.text { padding: 24px 24px 12px; } }

.cta { background: var(--lilac); border-radius: 24px; padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cta p { font-size: clamp(26px, 3vw, 30px); font-weight: 500; margin: 0; }
@media (max-width: 640px) { .cta { padding: 24px; } }

/* stickers */
.sticker { position: relative; display: block; transform: perspective(600px) rotate(var(--rot, 0deg)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s var(--ease); filter: drop-shadow(0 6px 10px rgb(80 50 120 / 0.14)) drop-shadow(0 1px 1px rgb(80 50 120 / 0.08)); }
.sticker img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.sticker::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .75) 42%, rgb(255 200 240 / .55) 48%, rgb(180 240 255 / .55) 54%, rgb(255 255 255 / .6) 58%, transparent 70%);
  background-size: 300% 300%; background-position: var(--sx, 120%) 50%; mix-blend-mode: soft-light; transition: background-position .35s ease; }
.sticker:hover { --rot: 0deg; }
.sticker.mark { width: 24px; }
@media (hover: none) { .sticker::after { animation: foil-drift 6s ease-in-out infinite alternate; } }
@keyframes foil-drift { from { background-position: 120% 50%; } to { background-position: -20% 50%; } }
.bob { animation: bob 5s ease-in-out infinite; animation-delay: var(--bob-delay, 0s); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* footer */
.footer { max-width: 1192px; width: calc(100% - 24px); margin: 80px auto 12px; background: var(--ink); color: rgb(255 255 255 / 0.7); border-radius: 28px; padding: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.foot-name { color: #fff; font-size: 20px; font-weight: 500; letter-spacing: -0.025em; margin: 0 0 6px; }
.foot-line { color: rgb(255 255 255 / 0.55); margin: 0; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links a { text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; }
.mono { font: 400 12px/1.4 var(--mono); color: rgb(255 255 255 / 0.55); display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 640px) { .footer { padding: 28px 24px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bob, .sticker::after, .dot { animation: none; }
  .tilt, .sticker { transition: none; }
}
