/* rosecutstudio.com - one stylesheet for every page.
   Tokens come from the canvas boards (Sign-in, Ruby-Kit): tint blue fills the one primary on a page and means
   "pressable"; Ruby's pink is an accent that never fills a button; status is never blue. Text colours are the
   boards' hues, darkened or lightened just enough to clear 4.5:1 on the backgrounds they sit on. */

:root {
  color-scheme: light dark;
  --bg: #F5F5F7;
  --wash-a: rgba(254, 24, 139, 0.09);
  --wash-b: rgba(255, 186, 120, 0.14);
  --surface: #FFFFFF;
  --ink: #0A0A0C;
  --muted: #5C5C63;
  --line: rgba(0, 0, 0, 0.09);
  --tile: rgba(120, 120, 128, 0.12);
  --tint: #0072EF;          /* the one filled primary; white on it is 4.51:1 */
  --tint-press: #005FCC;
  --tint-text: #0066D6;     /* blue as text: 4.98:1 on --bg */
  --ruby: #E70174;          /* Ruby's colour: hairlines and accents only */
  --ruby-line: rgba(231, 1, 116, 0.30);
  --ruby-text: #CC0066;
  --ok: #1B7A33;
  --head-glass: rgba(245, 245, 247, 0.78);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 30px rgba(0, 0, 0, 0.06);
  --hero-a: #10264A;
  --hero-b: #0B1220;
  --gutter: 16px;
  --max: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --wash-a: rgba(254, 24, 139, 0.11);
    --wash-b: rgba(16, 131, 255, 0.09);
    --surface: #1C1C1E;
    --ink: #FFFFFF;
    --muted: #A1A1A8;
    --line: rgba(255, 255, 255, 0.12);
    --tile: rgba(255, 255, 255, 0.09);
    --tint-press: #0062D1;
    --tint-text: #3D9BFF;
    --ruby-line: rgba(253, 81, 167, 0.42);
    --ruby-text: #FD51A7;   /* Ruby's hair highlight */
    --ok: #30D158;
    --head-glass: rgba(0, 0, 0, 0.72);
    --lift: none;
  }
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 0% -10%, var(--wash-a), transparent 70%),
    radial-gradient(50rem 40rem at 100% 0%, var(--wash-b), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--tint-text); }
:focus-visible { outline: 3px solid var(--tint); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 20; padding: 10px 16px; border-radius: 12px; font-weight: 600; color: #FFFFFF; background: var(--tint); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- header: the only chrome, so the only glass ---- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: var(--head-glass);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; }
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }
.head-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-size: 1rem; font-weight: 600; color: var(--tint-text); text-decoration: none; }
.head-link:hover { text-decoration: underline; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 24px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  color: #FFFFFF; background: var(--tint); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--tint-press); }
.text-link { font-weight: 600; color: var(--tint-text); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Rosecut for Mac / iPhone: not pressable yet, so neutral, never blue. Full contrast; the words say "coming soon". */
.platforms { display: flex; flex-wrap: wrap; gap: 12px; }
.platform {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 22px 8px 16px; margin: 0;
  border: 1px solid transparent; border-radius: 28px;
  font: inherit; text-align: left; color: var(--ink); background: var(--tile);
  cursor: default; opacity: 1;
}
.platform:disabled { color: var(--ink); }
.platform svg { width: 24px; height: 24px; flex-shrink: 0; }
.platform .p-name { display: block; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.platform .p-soon { display: block; font-size: 0.8125rem; font-weight: 500; line-height: 1.3; color: var(--muted); }
.avail { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 519px) { .platforms { flex-direction: column; align-items: stretch; } .platform { width: 100%; } }

/* ---- hero ---- */
.hero-shell { padding-top: 20px; }
.hero {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: 44px 22px 28px;
  color: #FFFFFF;
  background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 72%);
}
.hero::before {   /* a faint pink glow behind the ads, from Ruby's hair */
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, rgba(254, 24, 139, 0.22), transparent);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 36px; }
.eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #FD51A7; }
.hero h1 { margin-top: 14px; font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.hero h1 span { display: block; }
.hero .lead { margin-top: 18px; max-width: 34rem; font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.5; color: rgba(255, 255, 255, 0.78); }
.hero .platforms { margin-top: 30px; }
.hero .platform { color: #FFFFFF; background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.16); }
.hero .platform:disabled { color: #FFFFFF; }
.hero .platform .p-soon { color: rgba(255, 255, 255, 0.72); }
.hero .avail { color: rgba(255, 255, 255, 0.72); }

/* three real ads, tilted like the sign-in board's cards but never covering each other's words:
   the tall one on the left, two squares stacked beside it (the column widths make both sides the same height) */
.fan-figure { margin: 0; }
.fan-caption { margin-top: 22px; text-align: center; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }
.fan { display: grid; grid-template-columns: minmax(0, 53.5fr) minmax(0, 46.5fr); gap: clamp(12px, 2.6vw, 20px); align-items: center; width: 100%; max-width: 540px; margin-inline: auto; padding: 6px; }
.fan .ad { margin: 0; border-radius: 14px; overflow: hidden; background: var(--hero-b); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06); }
.fan .ad img { width: 100%; height: auto; }
.fan .tall { grid-column: 1; grid-row: 1 / span 2; transform: rotate(-2deg); }
.fan .top { grid-column: 2; grid-row: 1; transform: rotate(2.5deg); }
.fan .bottom { grid-column: 2; grid-row: 2; transform: rotate(-1.5deg); }

@media (min-width: 640px) {
  .hero { padding: 56px 44px 40px; }
}
@media (min-width: 960px) {
  .hero-shell { padding-top: 28px; }
  .hero { padding: 72px 56px; border-radius: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 48px; }
}

/* ---- sections ---- */
.section { padding-block: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 46rem; }
.section-head h2, .closing h2 { font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.028em; }
.section-head p { margin-top: 14px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); color: var(--muted); }
.kicker { display: block; margin-bottom: 10px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--lift); }

/* steps: numbered, never blue (a step tracker is status, not a control) */
.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 14px; }
.step { padding: 22px; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 15px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); background: var(--tile); }
.step h3 { margin-top: 14px; font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.step p { margin-top: 6px; font-size: 1rem; color: var(--muted); }
@media (min-width: 840px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .step { padding: 26px; } }

/* Ruby speaks: her face, her name as a caption below it, her words beside. An ordinary panel with her pink hairline. */
.ruby-panel { display: flex; gap: 16px; align-items: flex-start; margin-top: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--ruby-line); border-radius: 22px; }
.byline { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; width: 56px; }
.byline img { width: 48px; height: 48px; border-radius: 50%; }
.byline span { font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.says { font-size: 1.0625rem; line-height: 1.5; }
.says p + p { margin-top: 6px; }
.says .quiet { color: var(--muted); font-size: 1rem; }
@media (prefers-color-scheme: dark) { .byline img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); } }
@media (min-width: 840px) { .ruby-panel { padding: 22px 26px; gap: 18px; } }

/* every shape */
.split { display: grid; gap: 32px; margin-top: 0; }
.shapes { display: flex; align-items: flex-end; justify-content: center; gap: 18px; }
.shapes figure { margin: 0; }
.shapes .sq { width: 58%; max-width: 340px; }
.shapes .tall { width: 33%; max-width: 192px; }
.shapes img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--lift); border: 1px solid var(--line); }
.shapes figcaption { margin-top: 10px; font-size: 0.9375rem; line-height: 1.35; }
.shapes figcaption strong { display: block; font-weight: 600; }
.shapes figcaption span { color: var(--muted); }
.reels { margin-top: 18px; font-size: 1.0625rem; color: var(--muted); max-width: 34rem; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
}

/* what was checked: green ticks are status, so green, not blue */
.checks { list-style: none; margin: 0; padding: 6px 22px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; }
.checks li + li { border-top: 1px solid var(--line); }
.checks svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--ok); }
.checks strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.checks span { display: block; margin-top: 2px; font-size: 0.9375rem; color: var(--muted); }

/* an explanation, not a control: a gray field with an i, no card, no border, no blue */
.note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 13px 15px; border-radius: 14px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink); background: var(--tile); }
.note i { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; border-radius: 9px; font-size: 11px; font-weight: 700; font-style: normal; color: var(--bg); background: var(--muted); }

/* three things that come with every ad */
.trio { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 14px; }
.trio li { padding: 24px; }
.trio h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.trio p { margin-top: 8px; font-size: 1rem; color: var(--muted); }
.trio .ruby-card { border-color: var(--ruby-line); }
.trio .ruby-card .byline-row { display: flex; gap: 14px; align-items: flex-start; }
@media (min-width: 840px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .trio li { padding: 28px; } }

/* closing */
.closing { padding-block: clamp(72px, 10vw, 128px) clamp(56px, 8vw, 96px); text-align: center; }
.closing p { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }
.closing .platforms { justify-content: center; margin-top: 28px; }
.closing .after { margin-top: 22px; font-size: 1rem; color: var(--muted); }

/* ---- footer ---- */
.site-foot { border-top: 1px solid var(--line); padding-block: 28px 36px; font-size: 0.9375rem; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.site-foot .brand { font-size: 1rem; }
.site-foot .brand svg { width: 20px; height: 20px; }
.site-foot nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-weight: 500; }
.site-foot a:hover { color: var(--ink); text-decoration: underline; }

/* ---- single-column pages: sign in, links, invites, support, terms, privacy, 404 ---- */
.doc { width: 100%; max-width: calc(40rem + 2 * var(--gutter)); margin-inline: auto; padding: clamp(40px, 8vw, 88px) var(--gutter) clamp(56px, 9vw, 104px); }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.028em; }
.doc .lead { margin-top: 14px; font-size: 1.1875rem; line-height: 1.5; color: var(--muted); }
.doc h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.doc p + p { margin-top: 12px; }
.doc .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.doc .block { margin-top: 32px; padding: 24px; }
.doc .block p { margin-top: 8px; color: var(--muted); }
.doc .block .platforms { margin-top: 18px; }
.doc > .platforms { margin-top: 20px; }
.doc .rule { height: 1px; margin: 40px 0 32px; border: 0; background: var(--line); }
.doc .fine { margin-top: 18px; font-size: 0.9375rem; color: var(--muted); }
.doc .email { font-size: 1.125rem; font-weight: 600; }
.doc .updated { margin-top: 28px; font-size: 0.9375rem; color: var(--muted); }

.ways { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.doc .intro { margin-top: 28px; font-weight: 600; }
.doc .intro + .ways { margin-top: 12px; }
.doc .open-btn { margin-top: 28px; }
.doc .fallback .note { margin-top: 18px; }
.ways li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; }
.ways .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 15px; font-weight: 700; font-size: 0.9375rem; color: var(--ink); background: var(--tile); }
.ways strong { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; }
.ways span { display: block; margin-top: 4px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
