/* sexter.dk: dark chat-app look. Accent colors come from Site:AccentFrom / AccentTo via --accent / --accent-2. */
:root {
  --bg: #0e0c12;
  --surface: #17141d;
  --surface-2: #211d29;
  --ink: #f6f2f7;
  --muted: #b3a9b9;
  --faint: #7c7284;
  --line: rgba(255, 255, 255, 0.09);
  --online: #3ddc84;
  --error: #ff8fa8;
  --radius: 22px;
  --sans: "Avenir Next", "Avenir", "Segoe UI", ui-sans-serif, system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(70rem 40rem at 100% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(50rem 30rem at -10% 110%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint dot grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}

a { color: inherit; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Honeypot: off-screen for people, still in the DOM for bots. */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  padding: 22px 0;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; fill: var(--accent); }
.brand__mark circle { fill: var(--bg); }
.brand__name { font-size: 1.45rem; font-weight: 800; letter-spacing: -0.04em; }
.age {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}

/* ---------- Hero ---------- */
.page { flex: 1; width: 100%; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  padding: 28px 0 64px;
}
@media (min-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(380px, 440px); gap: 72px; padding: 56px 0 88px; }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.86rem; font-weight: 600; color: var(--muted);
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--online) 60%, transparent);
  animation: ping 2s ease-out infinite;
}

.title {
  margin: 0;
  font-size: clamp(2.7rem, 7.2vw, 5.4rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.title__accent {
  display: block;
  /* background-clip:text only paints inside the box; extend it so the g/j descenders aren't cut off. */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 34rem;
  margin: 26px 0 0;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

/* ---------- Chat window ---------- */
.phone {
  position: relative;
  scroll-margin-top: 20px;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 30px 90px -40px color-mix(in srgb, var(--accent) 55%, transparent);
  overflow: hidden;
}

.phone__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.avatar {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient);
  font-weight: 800; color: #fff;
}
.avatar::after {
  content: ""; position: absolute; right: -1px; bottom: -1px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--online); border: 2.5px solid var(--surface);
}
.phone__who { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.phone__who strong { font-size: 0.98rem; }
.phone__who small { color: var(--accent); font-size: 0.8rem; font-style: italic; }
.phone__lock { width: 18px; height: 18px; color: var(--faint); }

.thread {
  list-style: none;
  margin: 0;
  padding: 22px 18px 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.thread:last-child { padding-bottom: 22px; }

.bubble {
  max-width: 82%;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.97rem;
  line-height: 1.4;
  opacity: 0;
  animation: pop 0.45s cubic-bezier(.2, .9, .3, 1.3) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.75s);
}
.bubble--theirs { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; transform-origin: bottom left; }
.bubble--mine { align-self: flex-end; background: var(--gradient); color: #fff; border-bottom-right-radius: 6px; transform-origin: bottom right; }
.bubble--system { max-width: 92%; display: flex; flex-direction: column; gap: 4px; border: 1px solid color-mix(in srgb, var(--online) 40%, transparent); }
.bubble--system strong { color: var(--online); }

.typing {
  align-self: flex-start;
  display: inline-flex; gap: 5px;
  padding: 13px 16px;
  border-radius: 20px; border-bottom-left-radius: 6px;
  background: var(--surface-2);
  opacity: 0;
  animation: pop 0.4s ease forwards;
  animation-delay: calc(0.35s + var(--i) * 0.75s);
}
.thread--static .bubble, .thread--static .typing { animation: none; opacity: 1; }
.thread--static .bubble--system { opacity: 0; animation: pop 0.45s cubic-bezier(.2, .9, .3, 1.3) 0.3s forwards; }

.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: blink 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

/* ---------- Signup (composer) ----------
   Deliberately set apart from the chat: accent-tinted panel, gradient rule on top, light input field. */
.composer {
  position: relative;
  padding: 20px 18px 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 6%, transparent)),
    var(--surface);
}
.composer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--gradient);
}
.composer__title {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 14px;
  font-weight: 800; font-size: 1.12rem; letter-spacing: -0.01em;
}
.composer__title svg { width: 20px; height: 20px; flex: none; fill: var(--accent); }

.composer__row {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #fff;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
  transition: border-color .15s, box-shadow .15s;
}
.composer__row:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent);
}
.composer__row--error { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 35%, transparent); }

.composer__input {
  flex: 1; min-width: 0;
  padding: 11px 0;
  border: 0; outline: 0; background: transparent;
  color: #17141d; font: inherit; font-size: 1.02rem; font-weight: 500;
  color-scheme: light;
}
.composer__input::placeholder { color: #8d8495; font-weight: 400; }

.send, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  border: 0; border-radius: 999px;
  background: var(--gradient);
  color: #fff; font: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; white-space: nowrap;
  transition: transform .12s, filter .15s;
}
.send { padding: 12px 20px; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 80%, transparent); }
.send svg { width: 17px; height: 17px; fill: currentColor; }
.send:hover, .btn:hover { filter: brightness(1.1); }
.send:active, .btn:active { transform: scale(0.97); }
.send:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 420px) {
  .send span { display: none; }
  .send { width: 44px; height: 44px; padding: 0; }
}

.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 14px;
  font-size: 0.84rem; line-height: 1.45; color: var(--muted);
  cursor: pointer;
}
.consent input {
  flex: none; width: 18px; height: 18px; margin: 1px 0 0;
  accent-color: var(--accent); cursor: pointer;
}

.err { display: block; color: var(--error); font-size: 0.85rem; margin-top: 8px; padding-left: 18px; }
.err:empty { display: none; }
p.err { margin: 10px 0 0; padding-left: 0; }
.consent + .err { padding-left: 28px; }

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex; width: max-content;
  animation: scroll 38s linear infinite;
}
.ticker__item {
  display: inline-flex; align-items: center;
  padding: 18px 0;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em;
  color: var(--muted);
}
.ticker__item::after {
  content: ""; width: 9px; height: 9px; margin: 0 28px; border-radius: 50%;
  background: var(--gradient);
}

/* ---------- Perks ---------- */
.perks { width: min(1160px, 100% - 40px); margin: 0 auto; padding: 72px 0 80px; }
.perks__title {
  margin: 0 0 30px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint);
}
.perks__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  counter-reset: perk;
}
.perk {
  counter-increment: perk;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.perk::before {
  content: counter(perk, decimal-leading-zero);
  display: block; margin-bottom: 18px;
  font-size: 2.3rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.perk h3 { margin: 0 0 6px; font-size: 1.15rem; letter-spacing: -0.01em; }
.perk p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* ---------- Text pages ---------- */
.doc {
  width: min(720px, 100% - 40px);
  margin: 32px auto 72px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.doc--center { text-align: center; max-width: 560px; }
.doc h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.doc h2 { margin: 30px 0 8px; font-size: 1.12rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 1.2em; }
.doc form { margin: 22px 0; }
.back { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--ink); text-decoration: none; }
.back:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--faint);
}
.foot a { color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: none; }
}
@keyframes blink {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--online) 55%, transparent); }
  100% { box-shadow: 0 0 0 9px transparent; }
}
@keyframes scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .bubble, .typing { animation: none; opacity: 1; }
  .ticker__track, .pill__dot, .typing span { animation: none; }
}
