/* CreatAware — marketing site
   Flat, app-friendly identity. Violet brand, coral used once loud.
   Boldness spent on the ping; everything else stays quiet. */

/* ---------- tokens ---------- */
:root {
  --ground: #F5F3FB;
  --panel: #FFFFFF;
  --panel-2: #FBFAFF;
  --ink: #1D1830;
  --ink-2: #645C7E;
  --line: #E7E2F3;
  --violet: #5A3FE0;
  --violet-deep: #3A2A9C;
  --violet-soft: #EEEAFB;
  --coral: #FF6A4D;
  --coral-soft: #FFE9E3;
  --dark: #151024;
  --dark-2: #241D3B;

  --shadow-lg: 0 24px 48px -22px rgba(40, 25, 90, .5);
  --shadow-md: 0 18px 40px -24px rgba(40, 25, 90, .4);

  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", monospace;

  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #100C1E;
    --panel: #1A1430;
    --panel-2: #201938;
    --ink: #F3F0FB;
    --ink-2: #A79FC6;
    --line: #2C2547;
    --violet: #8A72F5;
    --violet-deep: #B9A9FF;
    --violet-soft: #241C3E;
    --coral: #FF7A5E;
    --coral-soft: #3A2018;
    --shadow-lg: 0 24px 48px -22px rgba(0, 0, 0, .6);
    --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, .55);
  }
}

/* explicit theme override wins over the media query in both directions */
:root[data-theme="light"] {
  --ground: #F5F3FB; --panel: #FFFFFF; --panel-2: #FBFAFF;
  --ink: #1D1830; --ink-2: #645C7E; --line: #E7E2F3;
  --violet: #5A3FE0; --violet-deep: #3A2A9C; --violet-soft: #EEEAFB;
  --coral: #FF6A4D; --coral-soft: #FFE9E3;
  --shadow-lg: 0 24px 48px -22px rgba(40, 25, 90, .5);
  --shadow-md: 0 18px 40px -24px rgba(40, 25, 90, .4);
}
:root[data-theme="dark"] {
  --ground: #100C1E; --panel: #1A1430; --panel-2: #201938;
  --ink: #F3F0FB; --ink-2: #A79FC6; --line: #2C2547;
  --violet: #8A72F5; --violet-deep: #B9A9FF; --violet-soft: #241C3E;
  --coral: #FF7A5E; --coral-soft: #3A2018;
  --shadow-lg: 0 24px 48px -22px rgba(0, 0, 0, .6);
  --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, .55);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rounded);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--violet); font-weight: 600;
}
h1, h2, h3 { text-wrap: balance; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.wordmark {
  font-family: var(--rounded); font-weight: 800; font-size: 21px;
  letter-spacing: -.02em; color: var(--ink);
}
.wordmark .ware { color: var(--violet); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-right { display: flex; gap: 10px; align-items: center; }

.theme-toggle {
  width: 34px; height: 34px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel);
  color: var(--ink-2); cursor: pointer; display: grid; place-items: center;
  font-size: 15px; line-height: 1; transition: color .15s, border-color .15s;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--violet); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--rounded); font-size: 14px; font-weight: 650;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink);
  transition: transform .12s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: var(--violet); color: #fff; border-color: var(--violet);
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--violet) 80%, transparent);
}
.btn.primary:hover { box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--violet) 80%, transparent); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

@media (max-width: 720px) { .nav-links { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 20px; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
  background: var(--panel);
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 60%, transparent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--coral) 55%, transparent); }
  70%, 100% { box-shadow: 0 0 0 8px transparent; }
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 74px); line-height: .98; letter-spacing: -.035em;
  font-weight: 800; margin: 20px 0 0;
}
.hero h1 .ware { color: var(--violet); }
.hero .lede {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-2);
  max-width: 40ch; margin: 20px 0 0;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-2);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .tick { color: var(--violet); font-weight: 800; }

/* ---------- phone device ---------- */
.phone {
  width: 100%; max-width: 244px; margin: 0 auto;
  background: var(--dark); border-radius: 40px; padding: 9px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 6px; border-radius: 99px; background: #000; opacity: .55; z-index: 3;
}
.screen {
  background: #fff; border-radius: 31px; overflow: hidden;
  aspect-ratio: 9 / 19.2; position: relative;
}
.screen.dark { background: var(--dark); }

.hero-phone { position: relative; }
/* soft violet glow behind the hero device */
.hero-phone::after {
  content: ""; position: absolute; inset: -8% -6% -12%;
  background: radial-gradient(60% 50% at 50% 30%, color-mix(in srgb, var(--violet) 26%, transparent), transparent 70%);
  filter: blur(24px); z-index: -1;
}

/* ---------- lock screen + push (hero magic moment) ---------- */
.lock {
  height: 100%; display: flex; flex-direction: column; padding: 18px 12px; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, #2b2150 0%, #151024 62%);
}
.lock .clock { text-align: center; margin-top: 30px; }
.lock .clock .t { font-size: 56px; font-weight: 750; letter-spacing: -.03em; line-height: 1; }
.lock .clock .d { font-size: 12px; opacity: .7; margin-top: 4px; }

.pushstack { margin-top: auto; position: relative; min-height: 66px; }
.push {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px; padding: 11px; display: flex; gap: 10px; align-items: flex-start;
  backdrop-filter: blur(8px);
  opacity: 0;
}
.push .ic {
  width: 30px; height: 30px; border-radius: 9px; background: var(--violet); flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: #fff;
}
.push .apptag {
  font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .65; font-family: var(--mono);
}
.push .pt { font-size: 13px; font-weight: 750; margin-top: 2px; }
.push .pb { font-size: 12px; opacity: .85; line-height: 1.3; margin-top: 1px; }
.push .png {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
  margin-left: auto; flex: none; margin-top: 4px;
  box-shadow: 0 0 0 0 rgba(255, 106, 77, .6); animation: pulse 2.6s ease-out infinite;
}
.push > div { min-width: 0; }

/* cross-fade the three pushes on one 12s loop */
.push-1 { animation: push-1 12s ease-in-out infinite; }
.push-2 { animation: push-2 12s ease-in-out infinite; }
.push-3 { animation: push-3 12s ease-in-out infinite; }
@keyframes push-1 {
  0%   { opacity: 0; transform: translateY(14px); }
  4%, 30% { opacity: 1; transform: translateY(0); }
  34%, 96% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; transform: translateY(14px); }
}
@keyframes push-2 {
  0%, 34% { opacity: 0; transform: translateY(14px); }
  38%, 63% { opacity: 1; transform: translateY(0); }
  67%, 100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes push-3 {
  0%, 67% { opacity: 0; transform: translateY(14px); }
  71%, 96% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}

/* ---------- section scaffolding ---------- */
section { padding: 64px 0; }
.sec-head { margin-bottom: 34px; max-width: 640px; }
.sec-head h2 {
  font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.02em; font-weight: 780; margin: 10px 0 0;
}
.sec-note { color: var(--ink-2); font-size: 16px; max-width: 54ch; margin: 12px 0 0; }

.cap { font-size: 13px; color: var(--ink-2); text-align: center; margin: 14px 6px 0; }
.cap b { color: var(--ink); font-weight: 650; }

/* ---------- fan app screens ---------- */
.fan-app { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.phones { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.phone-col { flex: 1; min-width: 232px; max-width: 300px; }

.sb {
  height: 34px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 16px 4px; font-size: 11px; font-weight: 650; color: var(--dark);
}
.sb .sysicons { color: var(--dark); }
.pad { padding: 6px 14px 16px; }
.kicker { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #8a82a4; }
.title-lg { font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--dark); }
.av {
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 750; flex: none;
}

/* creators grid */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 10px; }
.ctile { border-radius: 16px; padding: 12px 8px; text-align: center; position: relative; }
.ctile .av { width: 42px; height: 42px; margin: 0 auto 7px; font-size: 15px; }
.ctile .nm { font-size: 12px; font-weight: 650; color: var(--dark); }
.ctile .unread {
  position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--coral); border: 2px solid #fff;
}
.scan {
  grid-column: span 2; border: 1.5px dashed #d9d2ec; border-radius: 16px;
  padding: 11px; text-align: center; font-size: 12px; color: #8a82a4; font-weight: 600;
}

/* creator page (in fan app) */
.cband { padding: 18px 14px 14px; text-align: center; color: #fff; }
.cband .av { width: 52px; height: 52px; margin: 0 auto 8px; font-size: 19px; background: #fff; }
.row-actions { display: flex; gap: 7px; padding: 10px 14px 4px; }
.btn-follow { flex: 1; text-align: center; font-size: 12px; font-weight: 750; color: #fff; border-radius: 10px; padding: 8px; }
.btn-bell { width: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.drop { display: flex; gap: 9px; align-items: center; padding: 8px 0; border-top: 1px solid #eee; }
.drop .ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
.drop .dt { font-size: 11px; color: #8a82a4; }
.drop .dn { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--dark); }

/* dial / controls */
.opt {
  display: flex; gap: 9px; align-items: flex-start; border: 1px solid #eee;
  border-radius: 14px; padding: 10px 11px; margin-top: 8px;
}
.opt.sel { border-color: var(--violet); background: #f2eefc; }
.opt .rk { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ddd; flex: none; margin-top: 1px; }
.opt.sel .rk { border-color: var(--violet); background: var(--violet); box-shadow: inset 0 0 0 3px #fff; }
.opt .ot { font-size: 12.5px; font-weight: 700; color: var(--dark); }
.opt .os { font-size: 11px; color: #8a82a4; line-height: 1.3; }
.mini-lock { margin-top: 12px; background: #f4f2fb; border-radius: 12px; padding: 9px; }
.mini-lock .card {
  background: #fff; border: 1px solid #eee; border-radius: 9px; padding: 7px;
  display: flex; gap: 7px; align-items: center;
}
.mini-lock .card .ic {
  width: 22px; height: 22px; border-radius: 6px; background: var(--violet); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px;
}

/* ---------- creator side ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 34px; } }

.browser {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-md); max-width: 440px; width: 100%; margin: 0 auto;
}
.chrome { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--panel-2); }
.tl { display: flex; gap: 5px; }
.tl span { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--violet) 22%, var(--line)); }
.url {
  flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-2);
}
.bio {
  position: relative; padding: 26px 18px 42px;
  background: linear-gradient(180deg, #5A3FE0 0%, #4A33C0 100%); color: #fff; min-height: 250px;
}
.bio .av { width: 60px; height: 60px; margin: 0 auto 10px; font-size: 22px; background: #fff; color: #5A3FE0; }
.bio-link {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px;
  padding: 10px 14px; margin: 8px auto 0; max-width: 220px; text-align: center; font-size: 13px; font-weight: 650;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.getpill {
  position: absolute; right: 16px; bottom: 16px; background: var(--coral); color: #fff;
  border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 750;
  box-shadow: 0 8px 20px -6px rgba(255, 106, 77, .7);
}

.compose {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  max-width: 440px; width: 100%; margin: 0 auto; box-shadow: var(--shadow-md);
}
.field {
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px;
  color: var(--ink-2); margin-top: 10px; background: var(--panel-2);
}
.chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chip {
  font-size: 11px; font-weight: 650; border-radius: 999px; padding: 5px 10px;
  background: var(--violet-soft); color: var(--violet-deep); display: inline-flex; gap: 5px; align-items: center;
}
.notify-block {
  margin-top: 14px; border: 1.5px solid var(--violet);
  background: color-mix(in srgb, var(--violet) 8%, var(--panel)); border-radius: 12px; padding: 12px 13px;
}
.check { display: flex; gap: 10px; align-items: flex-start; }
.box {
  width: 18px; height: 18px; border-radius: 6px; background: var(--violet); flex: none;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; margin-top: 1px;
}
.notify-block .ttl { font-size: 13px; font-weight: 750; color: var(--violet-deep); }
.notify-block .sub { font-size: 11.5px; color: var(--ink-2); }
.sub-check { display: flex; gap: 9px; align-items: center; margin-top: 9px; }
.sub-check .lbl { font-size: 12px; font-weight: 650; }

/* ---------- one-tap loop ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; }
.step .n { font-family: var(--mono); font-size: 11px; color: var(--violet); font-weight: 600; letter-spacing: .04em; }
.step .st { font-size: 16px; font-weight: 750; margin-top: 8px; }
.step .sd { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.gate {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; font-weight: 700;
  color: var(--coral); background: var(--coral-soft); border-radius: 999px; padding: 5px 11px;
}
.gate .pingdot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }

/* ---------- why now ---------- */
.why { background: var(--panel-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.why-card .ic {
  width: 34px; height: 34px; border-radius: 10px; background: var(--violet-soft); color: var(--violet);
  display: grid; place-items: center; margin-bottom: 12px;
}
.why-card h3 { font-size: 16px; font-weight: 750; margin: 0; letter-spacing: -.01em; }
.why-card p { font-size: 13.5px; color: var(--ink-2); margin: 7px 0 0; }

/* ---------- pricing / bundle ---------- */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px;
  display: flex; flex-direction: column;
}
.tier.featured { background: var(--violet); border-color: var(--violet); color: #fff; box-shadow: var(--shadow-md); }
.tier .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); font-weight: 600; }
.tier.featured .tag { color: rgba(255, 255, 255, .85); }
.tier .tname { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.tier .tdesc { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.tier.featured .tdesc { color: rgba(255, 255, 255, .88); }
.tier ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.tier li { font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.tier li .ck { color: var(--violet); font-weight: 800; flex: none; }
.tier.featured li .ck { color: #fff; }
.tier .cta { margin-top: 22px; }
.tier.featured .btn.primary { background: #fff; color: var(--violet); border-color: #fff; }
.tier .btn { width: 100%; justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0 44px; margin-top: 8px;
}
.foot-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-brand { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.foot-brand .ware { color: var(--violet); }
.foot-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-2); letter-spacing: .04em; }
.foot-tag { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-phone { max-width: 260px; margin: 0 auto; }
  .hero { padding: 36px 0 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge .dot, .push .png { animation: none; }
  .push-1, .push-2, .push-3 { animation: none; }
  .push-1 { opacity: 1; transform: none; }   /* show the value-dense first push statically */
  .push-2, .push-3 { opacity: 0; }
}
