/* DollPad brand guidelines v1: core colors (exact hex), Tomorrow only. */
:root {
  --sky: #79C4F6;
  --hot-pink: #F52B7D;
  --berry: #B91B64;
  --pale-pink: #F9CADB;
  --blush: #FCE9EF;
  --ink: #141414;
  --white: #FFFFFF;
  --sparkle: #FDD331;
  --sky-top: #66B1FF;
  --sky-mid: #9CD9FF;
  --sky-haze: #C2EDFF;
  --horizon: #E4FBFF;
  --shine: #FF97BF;
}
* { box-sizing: border-box; }
html { background: var(--horizon); }
body {
  margin: 0;
  color: var(--ink);
  font: 400 18px/1.55 "Tomorrow", system-ui, -apple-system, sans-serif;
  /* The one gradient we allow: hard pixel bands, deep blue at the top fading to almost white. */
  background:
    url("assets/clouds.svg") top center / 520px auto repeat-y,
    linear-gradient(180deg,
      var(--sky-top) 0 14%, var(--sky) 14% 30%, var(--sky-mid) 30% 52%,
      var(--sky-haze) 52% 76%, var(--horizon) 76% 100%);
  min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px 56px; }
a { color: var(--berry); font-weight: 600; }
h1, h2, h3 { font-weight: 700; margin: 0; }
h1 { font-size: clamp(40px, 9vw, 64px); line-height: 1.05; }

/* Logo and sparkles */
.logo { display: block; margin: 28px auto 8px; width: min(320px, 72vw); height: auto; }
.logo.small { width: min(220px, 56vw); }
.page-head { text-align: center; }
.page-head .sub { font-weight: 600; font-size: 20px; margin: 8px 0 0; }

/* Cards: white, ink outline, pink dashed inner line, notched pixel corners */
.card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--ink);
  outline: 2px dashed var(--hot-pink);
  outline-offset: -10px;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  padding: 26px 28px;
}

/* Buttons and pills: hot pink, ink text, berry hard shadow, Title Case */
.btn, .pill {
  display: inline-block;
  background: var(--hot-pink); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 999px;
  box-shadow: 0 5px 0 var(--berry);
  font: 700 19px/1 "Tomorrow", sans-serif;
  padding: 14px 26px; text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--berry); }

/* Home */
.hero { display: grid; grid-template-columns: 1fr 200px; align-items: end; gap: 8px; margin-top: 8px; }
.hero h1 { font-size: clamp(30px, 7.5vw, 54px); }
.hero .tagline { font-weight: 600; font-size: 19px; margin: 12px 0 22px; }
.doll { display: block; justify-self: center; height: 360px; width: auto; image-rendering: pixelated;
  filter: drop-shadow(0 10px 0 rgba(185,27,100,.25)); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 44px 0; }
.features .card { padding: 22px 12px 20px; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.3; }
.features img { width: 84px; height: 84px; display: block; margin: 0 auto 10px; image-rendering: pixelated; }
.news { text-align: center; padding: 34px 24px 36px; }
.news h2 { font-size: 34px; }
.news p { font-weight: 600; margin: 6px 0 22px; }

/* Support */
.email-card { text-align: center; max-width: 480px; margin: 30px auto 36px; }
.email-card .addr { font-weight: 700; font-size: clamp(20px, 5vw, 26px); margin: 0 0 16px; word-break: break-word; }
.faq { display: grid; gap: 16px; }
.faq .card { padding: 22px 26px 22px 64px; }
.faq h3 { font-size: 19px; margin-bottom: 6px; }
.faq p { margin: 0; }
.heart-bullet::before {
  content: ""; position: absolute; left: 24px; top: 24px; width: 26px; height: 24px;
  background: url("assets/heart.svg") center / contain no-repeat;
}

/* Privacy */
.updated { font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.policy { margin-top: 28px; padding: 34px 32px; }
.policy h2 { font-size: 24px; margin-bottom: 8px; }
.policy p, .policy ul { margin: 0 0 12px; }
.policy ul { padding-left: 22px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 26px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 3px; background: var(--hot-pink); }
.divider span { width: 26px; height: 24px; background: url("assets/heart.svg") center / contain no-repeat; }

.ptable { display: grid; gap: 12px; margin: 16px 0 18px; }
.prow { background: var(--blush); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--berry); padding: 14px 18px; }
.prow h3 { font-size: 18px; margin-bottom: 6px; }
.prow p { margin: 0; }
.ptable dl { display: grid; grid-template-columns: 150px 1fr; gap: 4px 14px; margin: 0; }
.ptable dt { font-weight: 600; font-size: 15px; color: var(--berry); }
.ptable dd { margin: 0; }

/* Footer */
footer {
  background: var(--pale-pink); border-top: 3px solid var(--ink);
  text-align: center; padding: 18px 16px 22px; font-size: 15px; font-weight: 600;
}
footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 6px; }
footer a { color: var(--ink); text-decoration: none; font-weight: 700; }
footer a:hover { text-decoration: underline; }

/* Highlights details still to confirm. Delete once every one is replaced. */
.todo { background: #fff3a8; padding: 0 3px; }

@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr 120px; }
  .doll { height: 240px; }
  .hero .pill { font-size: 16px; padding: 12px 18px; }
  .ptable dl { grid-template-columns: 1fr; }
  .ptable dt { margin-top: 6px; }
  .features { gap: 8px; }
  .features .card { font-size: 13px; padding: 18px 6px; outline-offset: -7px; }
  .features img { width: 60px; height: 60px; }
  .policy { padding: 28px 22px; }
  .faq .card { padding: 20px 20px 20px 56px; }
  .heart-bullet::before { left: 18px; }
}
