/* Dramble landing (dramble.app). Dark plum page, coral-to-orange accent taken from the icon.
   One self-hosted face (Manrope, latin, woff2): a page must not depend on external font CDNs. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-v23-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-v23-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-v23-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #0f0a12;
  --surface: #191220;
  --surface-2: #231a2c;
  --accent: #ff5a7e;
  --accent-2: #ff9a4d;
  --on-accent: #1a0b12;
  --text: #f6f0f4;
  --text-2: #bcaebb;
  --text-3: #85778a;
  --line: rgba(255, 140, 170, 0.14);
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, sans-serif;
  --shell: 1120px;
  --gutter: 16px;
  --radius: 16px;
}
@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
::selection { background: rgba(255, 90, 126, 0.35); }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- type ---------- */

h1, h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.acc {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section-sub { color: var(--text-2); max-width: 60ch; margin-top: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: filter 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: scale(0.98); }
.btn--accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
}
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, 0.04); }
.btn--big { min-height: 52px; padding: 0 28px; font-size: 16px; }
@media (hover: hover) {
  .btn--accent:hover { filter: brightness(1.08); }
  .btn--ghost:hover { border-color: rgba(255, 140, 170, 0.45); }
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 10, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__row { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand img { width: 32px; height: 32px; }
.brand--small { font-size: 18px; }
.brand--small img { width: 26px; height: 26px; }

.topnav {
  display: flex;
  gap: 24px;
  margin-inline: auto;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
}
.topnav a:hover { color: var(--text); }
.topbar__cta { min-height: 40px; padding: 0 18px; font-size: 14px; }

@media (max-width: 719px) {
  .topnav { display: none; }
  .topbar__row { justify-content: space-between; height: 60px; }
}

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 96px);
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(255, 90, 126, 0.18), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(255, 154, 77, 0.10), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero__copy { display: grid; gap: 22px; justify-items: start; }
.hero__sub { color: var(--text-2); font-size: 17px; max-width: 52ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__note { color: var(--text-3); font-size: 14px; }

/* a phone with an abstract "episode" on it — drawn in CSS, no series art */
.phone {
  justify-self: center;
  width: min(280px, 72vw);
  aspect-ratio: 9 / 18.5;
  padding: 10px;
  border-radius: 40px;
  background: #050306;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 80px -30px rgba(255, 90, 126, 0.45);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
}
.phone__art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 45% at 30% 30%, rgba(255, 154, 77, 0.85), transparent 70%),
    radial-gradient(80% 55% at 75% 60%, rgba(255, 90, 126, 0.9), transparent 70%),
    linear-gradient(180deg, #3a1530, #120814 80%);
}
.phone__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 3, 6, 0.9) 8%, transparent 45%);
}
.phone__top {
  position: absolute;
  inset: 18px 18px auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.phone__bottom { position: absolute; inset: auto 18px 22px; display: grid; gap: 4px; }
.phone__bottom b { font-size: 17px; }
.phone__bottom i { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.phone__bar { margin-top: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.phone__bar span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.phone__play {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}
.phone__play::after {
  content: "";
  position: absolute;
  top: 21px; left: 26px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}

@media (max-width: 859px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: min(240px, 64vw); }
}

/* ---------- how it works / features ---------- */

.steps, .features { padding-block: clamp(48px, 7vw, 88px); }
.steps__list, .features__list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features__list { grid-template-columns: repeat(4, 1fr); }
.steps__list li, .features__list li {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 8px;
  align-content: start;
  justify-items: start;
}
.steps__num {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  font-weight: 700;
}
.steps__list b, .features__list b { font-size: 17px; }
.steps__list p, .features__list p { color: var(--text-2); font-size: 15px; }

@media (max-width: 959px) {
  .features__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 719px) {
  .steps__list, .features__list { grid-template-columns: 1fr; }
}

/* ---------- pricing ---------- */

.pricing {
  padding-block: clamp(48px, 7vw, 96px);
  background: linear-gradient(180deg, transparent, rgba(255, 90, 126, 0.05) 30%, transparent);
}
.pricing__group {
  margin: 36px 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 12px;
  align-content: start;
}
.plan--featured {
  border-color: rgba(255, 90, 126, 0.6);
  background: linear-gradient(160deg, rgba(255, 90, 126, 0.14), var(--surface) 60%);
}
.plan__tag {
  position: absolute;
  top: 20px; right: 20px;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 700;
}
.plan h4 { font-size: 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-size: 36px; letter-spacing: -0.02em; }
.plan__price span { color: var(--text-2); }
.plan ul { display: grid; gap: 6px; color: var(--text-2); font-size: 15px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.billing {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface-2);
  display: grid;
  gap: 12px;
  color: var(--text-2);
  font-size: 15px;
}
.billing b { color: var(--text); }
.billing a, .faq__list a, .foot a:not(.brand) { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 599px) {
  .plans { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */

.faq { padding-block: clamp(48px, 7vw, 88px); }
.faq__list { margin-top: 28px; max-width: 760px; border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 4px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.chev {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-bottom: 4px;
}
details[open] .chev { transform: rotate(225deg); margin-bottom: -4px; }
.faq__list details p { padding: 0 32px 20px 4px; color: var(--text-2); font-size: 15px; }

/* ---------- final CTA ---------- */

.cta-final {
  padding-block: clamp(56px, 8vw, 112px);
  background: radial-gradient(55% 70% at 50% 110%, rgba(255, 90, 126, 0.2), transparent 70%);
}
.cta-final__box { text-align: center; display: grid; justify-items: center; gap: 16px; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--line); padding-block: 32px 24px; color: var(--text-2); font-size: 14px; }
.foot__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot__about { display: grid; gap: 8px; }
.foot__about .brand { color: var(--text); margin-bottom: 4px; }
.foot__links { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 32px; align-content: start; }
.foot__copy { margin-top: 24px; color: var(--text-3); font-size: 13px; }

/* ---------- legal pages and 404 ---------- */

.legal { padding-block: 40px 72px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.4rem; letter-spacing: -0.01em; margin: 36px 0 12px; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0; padding-left: 20px; list-style: disc; display: grid; gap: 6px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); }
.legal__updated { color: var(--text-3); font-size: 14px; }

.notfound {
  min-height: 70svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
}
