/* Get Off That Site — landing page.
   Yoizuki family design language (Space Grotesk / Inter, purple-tinted dark,
   scroll-reveal, light-theme toggle) fused with the GOTS indigo accent. */

:root {
  /* Yoizuki structural palette */
  --bg: #0d0d1a;
  --bg-card: #16162b;
  --bg-card-hover: #1a1a2e;
  --border: #281e38;
  --border-hover: #3d2b55;
  --text: #e8e8f0;
  --text-muted: #a0a0c0;
  --text-heading: #f0f0ff;

  /* GOTS product accent (indigo) + Yoizuki amethyst as its gradient partner */
  --accent: #7c8cff;
  --accent-strong: #6b7bff;
  --accent-2: #9b59b6;
  --danger: #f2585b;
  --amber: #f5b445;
  --success: #2ecc71;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --glow: radial-gradient(
    1000px 560px at 78% -12%,
    rgba(124, 140, 255, 0.22) 0%,
    rgba(155, 89, 182, 0.1) 34%,
    transparent 66%
  );
  color-scheme: dark;
}

html.light {
  --bg: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f5;
  --border: #e6e1ee;
  --border-hover: #ccc2da;
  --text: #26263a;
  --text-muted: #5f5f74;
  --text-heading: #14141f;
  --accent: #5b63d6;
  --accent-strong: #4a52c4;
  --accent-2: #8e44ad;
  --glow: radial-gradient(
    1000px 560px at 78% -12%,
    rgba(91, 99, 214, 0.14) 0%,
    rgba(142, 68, 173, 0.08) 34%,
    transparent 66%
  );
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: color-mix(in srgb, var(--accent) 32%, transparent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

img,
video {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(124, 140, 255, 0.55);
}
.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-heading);
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.header-spacer {
  flex: 1;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-links a.nav {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}
.header-links a.nav:hover {
  color: var(--text);
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.icon-btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: 84px 0 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 22px 0 0;
  max-width: 15ch;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 52ch;
  margin: 22px 0 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 14px;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust .dot {
  color: var(--success);
  font-size: 11px;
}

/* ---- demo ---- */
.demo {
  padding: 44px 0 20px;
}
.browser {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-card) 60%, var(--bg));
}
.browser-bar .traffic {
  display: flex;
  gap: 7px;
}
.browser-bar .traffic i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.browser-bar .url {
  flex: 1;
  margin-left: 10px;
  height: 26px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 12.5px;
}
.browser video {
  width: 100%;
  height: auto;
}
.demo-caption {
  text-align: center;
  color: var(--text-muted);
  margin: 20px auto 0;
  max-width: 46ch;
  font-size: 15px;
}

/* ---- sections ---- */
section {
  padding: 64px 0;
}
.section-head {
  max-width: 60ch;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}
.section-head p {
  color: var(--text-muted);
  margin: 14px 0 0;
  font-size: 1.05rem;
}

/* ---- feature cards ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease,
    background 0.25s ease;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.card .ico {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.98rem;
}

/* ---- steps ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 26px 26px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.96rem;
}

/* ---- split (screens) ---- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.split .shot {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
}
.split ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}
.split li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
}
.split li b {
  color: var(--text-heading);
  font-weight: 600;
}
.split li .check {
  color: var(--accent);
  flex: none;
}

/* ---- privacy strip ---- */
.privacy {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent) 12%, var(--bg-card)),
    color-mix(in srgb, var(--accent-2) 10%, var(--bg-card))
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.privacy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.privacy p {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 14px auto 0;
}

/* ---- final CTA ---- */
.final {
  text-align: center;
}
.final h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 18ch;
  margin: 0 auto;
}
.final .hero-cta {
  justify-content: center;
}

/* ---- founder note ---- */
.note {
  max-width: 62ch;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 30px;
  color: var(--text-muted);
}
.note p {
  margin: 0 0 12px;
}
.note p:last-child {
  margin-bottom: 0;
}
.note .sig {
  color: var(--text-heading);
  font-weight: 600;
  font-family: var(--font-display);
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 44px 0;
  margin-top: 40px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer .made {
  color: var(--text-muted);
  font-size: 14px;
}
.site-footer .made a {
  color: var(--text);
  border-bottom: 1px solid var(--border-hover);
}
.site-footer .made a:hover {
  color: var(--accent);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.site-footer nav a {
  color: var(--text-muted);
}
.site-footer nav a:hover {
  color: var(--text);
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0ms;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 90ms;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 180ms;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 270ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---- responsive ---- */
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
  .header-links a.nav {
    display: none;
  }
  /* The hero already carries a prominent CTA — drop the header one so the
     brand stays on a single line instead of wrapping. */
  #cta-header {
    display: none;
  }
  .brand span {
    white-space: nowrap;
  }
  .hero {
    padding-top: 56px;
  }
}
