/* Daftik landing page. One loud theme on purpose: the brand is the joke, so no dark variant. */
:root {
  --ink: #141414;
  --paper: #fffaf0;
  --yellow: #ffe14d;
  --pink: #ff4fa3;
  --blue: #3d6bff;
  --green: #22c55e;
  --muted: #555;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 18px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

main, .top, .foot { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3, .logo { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }

a { color: inherit; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; }
.logo { font-size: 30px; text-decoration: none; }
.logo .dot { color: var(--pink); }
.pill {
  font-weight: 700; text-decoration: none; padding: 6px 14px;
  border: var(--border); border-radius: 999px; background: #fff;
}

/* hero */
.hero { padding: 48px 0 32px; }
.kicker {
  display: inline-block; margin: 0 0 14px; padding: 4px 10px;
  background: var(--ink); color: var(--yellow);
  font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em;
  transform: rotate(-1.5deg);
}
h1 { font-size: clamp(44px, 11vw, 104px); line-height: 0.95; margin: 0 0 20px; }
.twice {
  display: inline-block; background: var(--yellow); padding: 0 10px;
  border: var(--border); box-shadow: var(--shadow); transform: rotate(-2deg);
}
.lede { font-size: clamp(18px, 2.4vw, 22px); max-width: 34em; margin: 28px 0 26px; }
.fine { color: var(--muted); font-size: 15px; max-width: 34em; margin: 16px 0 0; }

.cta {
  display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 800;
  font-size: 20px; padding: 14px 26px; background: var(--pink); color: #fff;
  border: var(--border); border-radius: 14px; box-shadow: var(--shadow);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.cta:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.cta:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.cta:focus-visible, .pill:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.cta.big { font-size: 24px; padding: 18px 32px; }

/* section headings */
section h2 { font-size: clamp(30px, 6vw, 48px); line-height: 1; margin: 0 0 10px; }
.sub { margin: 0 0 28px; color: var(--muted); }
.reel, .how, .join { padding: 40px 0; }

/* phone mockups: a 9:16 screen with a TikTok-style caption over it */
.phones {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px;
}
.phone h3 { font-size: 21px; margin: 16px 0 2px; }
.phone > p { margin: 0; color: var(--muted); }
.tilt-l .screen { transform: rotate(-1.5deg); }
.tilt-r .screen { transform: rotate(1.5deg); }
.screen {
  position: relative; aspect-ratio: 9 / 16; max-height: 420px; width: 100%;
  border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.screen::after {
  /* the progress bar every short-video player draws along the bottom */
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 10px; height: 4px;
  border-radius: 2px; background: linear-gradient(90deg, #fff 38%, rgba(255,255,255,0.35) 38%);
}
.face { font-size: 88px; line-height: 1; filter: drop-shadow(4px 4px 0 rgba(0,0,0,0.25)); }
.cap {
  margin: 18px 12px 0; text-align: center; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: 0.01em;
  /* a thin black outline drawn as eight shadows, the way short-video captions look */
  text-shadow:
    -1.5px -1.5px 0 #000, 0 -1.5px 0 #000, 1.5px -1.5px 0 #000, 1.5px 0 0 #000,
    1.5px 1.5px 0 #000, 0 1.5px 0 #000, -1.5px 1.5px 0 #000, -1.5px 0 0 #000, 0 3px 0 #000;
}
.s-coach  { background: repeating-linear-gradient(135deg, #ff5a36 0 22px, #ff7a3d 22px 44px); }
.s-goblin { background: radial-gradient(circle at 50% 35%, #7cff6b, #1f8a3a 70%); }
.s-group  { background: linear-gradient(180deg, #a78bfa, #6d4bd8); }
.s-future { background: linear-gradient(90deg, var(--blue) 50%, #ffb703 50%); }

/* how it works */
.steps { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; max-width: 720px; }
.steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 70px;
  background: #fff; border: var(--border); border-radius: 14px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); border: var(--border); font-family: var(--display); font-weight: 800;
}

/* waitlist */
.join {
  margin: 20px 0 48px; padding: 36px 24px; text-align: center;
  background: var(--yellow); border: var(--border); border-radius: 24px; box-shadow: var(--shadow);
}
.join p { max-width: 30em; margin: 0 auto 24px; }

/* footer */
.foot {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  padding-top: 18px; padding-bottom: 32px; color: var(--muted); font-size: 14px;
  border-top: 2px dashed #ccc;
}

@media (max-width: 520px) {
  .hero { padding-top: 32px; }
  .phones { grid-template-columns: 1fr 1fr; gap: 18px; }
  .face { font-size: 54px; }
  .cap { font-size: 14px; margin: 12px 10px 0; }
  .phone h3 { font-size: 17px; }
  .phone > p { font-size: 14px; }
  .steps li { padding-left: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}
