@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Fredoka-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Fredoka-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cream: #FFFDF4;
  --ink: #000;
  --muted: rgba(0, 0, 0, 0.62);
  --blush: #FFE5EC;
  --pink-soft: #FFD6E0;
  --pink: #FF70A6;
  --marker: #F72585;
  --cyan: #4CC9F0;
  --orange: #FF9F1C;
  --yellow: #FFBE0B;
}

* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Fredoka', system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--pink-soft); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 26px; letter-spacing: -0.3px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { font-weight: 600; font-size: 17px; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blush); }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 3px solid var(--ink); border-radius: 999px;
  background: #fff; box-shadow: 4px 4px 0 var(--ink);
  font: 700 18px/1 'Fredoka', system-ui, sans-serif; color: var(--ink); text-decoration: none;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
a.btn:hover { background: var(--blush); }
a.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.pink { background: var(--pink-soft); }
.btn.soon { cursor: default; }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.card { border: 4px solid var(--ink); border-radius: 22px; box-shadow: 8px 8px 0 var(--ink); overflow: hidden; background: #fff; position: relative; }
.card img { width: 100%; }
.card .loop { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--marker); pointer-events: none; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.3)); }

.keys { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.key {
  display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 14px;
  border: 3px solid var(--ink); border-radius: 14px; background: #fff; box-shadow: 4px 4px 0 var(--ink); font-size: 18px;
}
.key.pink { background: var(--blush); }

.label { font-weight: 700; font-size: 14px; letter-spacing: 0.9px; text-transform: uppercase; color: rgba(0,0,0,0.5); margin: 0 0 10px; }
.tag {
  display: inline-block; padding: 6px 14px; border: 3px solid var(--ink); border-radius: 999px; background: #fff;
  box-shadow: 3px 3px 0 var(--ink); font-weight: 700; font-size: 16px;
}
.tag.pink { background: var(--pink-soft); }

/* Hero */
.hero { position: relative; padding-top: 36px; padding-bottom: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(42px, 8vw, 80px); line-height: 1.02; letter-spacing: -1.5px; margin: 0; max-width: 12ch; }
.hero .lead { font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; color: var(--muted); margin: 18px 0 0; max-width: 34ch; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero figure { margin: 48px 0 0; }
.hero figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; font-weight: 600; color: var(--muted); }

/* The popup's shapes, peeking from the edges */
.shape { position: absolute; z-index: -1; pointer-events: none; }
.shape svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hero .s1 { right: -30px; top: 30px; width: 120px; height: 120px; }
.hero .s2 { right: 18%; top: 210px; width: 64px; height: 64px; transform: rotate(16deg); }
main { position: relative; isolation: isolate; overflow-x: clip; }

/* Features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 72px 0; border-top: 3px dashed rgba(0,0,0,0.12); }
.feature h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.06; letter-spacing: -0.8px; margin: 0; }
.feature p { color: var(--muted); font-weight: 600; font-size: 20px; margin: 16px 0 0; max-width: 32ch; }
.feature.flip .text { order: 2; }
.popup-shot { max-width: 320px; margin: 0 auto; border-radius: 24px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare figure { margin: 0; }
.compare .tag { margin-bottom: 12px; }
.shorts-shot { max-width: 340px; margin: 0 auto; }
.file { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.file .name {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 20px; border: 3px solid var(--ink); border-radius: 18px;
  background: var(--blush); box-shadow: 4px 4px 0 var(--ink); font-weight: 700; font-size: 17px; overflow-wrap: anywhere;
}
.file .name svg { width: 24px; height: 24px; flex-shrink: 0; }
.file .size { color: var(--muted); font-weight: 600; }

/* Plain text pages */
.doc { padding: 24px 0 64px; }
.doc h1 { font-weight: 700; font-size: clamp(38px, 6vw, 54px); line-height: 1.05; letter-spacing: -1px; margin: 12px 0 0; }
.doc .lead { font-size: 22px; font-weight: 600; margin: 14px 0 0; }
.doc .date { color: var(--muted); font-weight: 600; margin: 6px 0 0; }
.doc h2 { font-weight: 700; font-size: 24px; margin: 40px 0 0; }
.doc p, .doc li { color: rgba(0,0,0,0.8); }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-left: 22px; }
.doc li { margin: 6px 0 0; }
.doc .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* Footer */
footer { border-top: 3px dashed rgba(0,0,0,0.12); padding: 28px 0 40px; color: var(--muted); font-weight: 600; font-size: 16px; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer nav { display: flex; gap: 18px; }
footer a { text-decoration: none; color: var(--ink); }
footer a:hover { text-decoration: underline; }
footer .credit { font-size: 13px; margin-top: 10px; color: rgba(0,0,0,0.42); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .top { padding: 16px 0; }
  .brand { font-size: 22px; }
  .brand img { width: 34px; height: 34px; }
  .nav a { font-size: 15px; padding: 5px 9px; }
  .hero { padding-top: 20px; }
  .hero .s1 { width: 84px; height: 84px; right: -26px; top: 6px; }
  .hero .s2 { display: none; }
  .card { border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); border-width: 3px; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 52px 0; }
  .feature.flip .text { order: 0; }
  .feature p { font-size: 18px; }
  .compare { gap: 12px; }
  .compare .tag { font-size: 13px; padding: 4px 10px; }
}
