/* Tacot Edit — landing page. Graphite + magma, same identity as the app. */

:root {
  --bg: #06070a;
  --bg-2: #0b0d12;
  --panel: #101319;
  --line: #22262f;
  --text: #eceef4;
  --muted: #9096a6;
  --faint: #666d7e;
  --accent: #ff5c39;
  --accent-soft: #ff9e5c;
  --violet: #7c5cff;
  --teal: #2ad6c4;
  --magma: linear-gradient(135deg, #ff5c39 0%, #ff9e5c 100%);
  --radius: 16px;
  --max: 1180px;
  --sans: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, sans-serif;
  --mono: "Cascadia Mono", "JetBrains Mono", Consolas, "SF Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1000px 520px at 12% -8%, rgba(255, 92, 57, 0.16), transparent 62%),
    radial-gradient(900px 520px at 88% -2%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 400px at 50% 110%, rgba(42, 214, 196, 0.06), transparent 60%);
}

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

code,
kbd {
  font-family: var(--mono);
}

kbd {
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid #2b303b;
  background: rgba(255, 255, 255, 0.06);
  color: #c6ccda;
}

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

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: #1a0c07;
}

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
  border-bottom: 1px solid transparent;
}
.site-head.is-stuck {
  background: rgba(8, 9, 13, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #262932, #0f1015);
  border: 1px solid #353945;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 24px -16px rgba(255, 92, 57, 0.9);
}
.brand-mark.small {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}
.mark-play {
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent);
  border-top: 5.5px solid transparent;
  border-bottom: 5.5px solid transparent;
  transform: translate(-2px, -3px);
  filter: drop-shadow(0 0 6px rgba(255, 92, 57, 0.6));
}
.mark-bars {
  position: absolute;
  bottom: 6px;
  left: 7px;
  right: 7px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 92, 57, 0.9) 0 38%,
    rgba(255, 255, 255, 0.18) 38% 64%,
    rgba(255, 158, 92, 0.8) 64% 100%
  );
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--text);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: #39404d;
}
.btn-primary {
  border: none;
  color: #1a0c07;
  background: var(--magma);
  box-shadow: 0 16px 36px -18px rgba(255, 92, 57, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  background: var(--magma);
  box-shadow: 0 22px 46px -18px rgba(255, 92, 57, 1), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-ghost {
  background: transparent;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 9px;
}
.btn-lg {
  padding: 15px 22px;
  font-size: 15px;
  border-radius: 13px;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.btn-note {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.68;
  letter-spacing: 0.01em;
}

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

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 24px 0;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffb79f;
}
.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 92, 57, 0.9);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.hero h1 {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 680;
}
.shine {
  background: linear-gradient(100deg, #ff5c39 0%, #ff9e5c 45%, #ffd0b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 22px auto 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.micro {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--faint);
  letter-spacing: 0.02em;
}

.shot {
  margin: 52px auto 0;
  max-width: 1120px;
  border-radius: 18px;
  border: 1px solid #272b36;
  background: #0a0c11;
  box-shadow:
    0 60px 120px -60px #000,
    0 0 0 6px rgba(255, 255, 255, 0.014),
    0 0 120px -50px rgba(255, 92, 57, 0.55);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------- ticker */

.ticker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  max-width: var(--max);
  margin: 54px auto 0;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ----------------------------------------------------------------- sections */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 0;
  scroll-margin-top: 80px;
}

.section-head {
  max-width: 68ch;
}
.section-head h2,
.split-copy h2,
.download h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 660;
}
.section-lede {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 23, 31, 0.9), rgba(11, 13, 18, 0.9));
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: #343b49;
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -40px #000;
}
.card-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 10px;
  font-size: 15px;
  color: #ffb08a;
  background: rgba(255, 92, 57, 0.12);
  border: 1px solid rgba(255, 92, 57, 0.24);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* -------------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.split-copy p {
  color: var(--muted);
  font-size: 15.5px;
}
.checklist {
  margin: 22px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.checklist li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: #c9ceda;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}
.note {
  font-size: 13px;
  color: var(--faint);
  border-left: 2px solid rgba(255, 92, 57, 0.5);
  padding-left: 12px;
}
.split-shot {
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid #272b36;
  overflow: hidden;
  box-shadow: 0 40px 90px -50px #000, 0 0 100px -60px rgba(124, 92, 255, 0.6);
}

/* -------------------------------------------------------------------- table */

.table-wrap {
  margin-top: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 21, 28, 0.9), rgba(10, 12, 16, 0.9));
}
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare th,
.compare td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #1b1f27;
}
.compare thead th {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.02);
}
.compare tbody th {
  font-weight: 600;
  color: #d7dbe4;
}
.compare td {
  color: var(--muted);
}
.compare .us {
  color: #ffd0bd;
  background: rgba(255, 92, 57, 0.07);
  font-weight: 600;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}

/* ----------------------------------------------------------------- download */

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 44px;
  margin-top: 38px;
  padding: 40px;
  border-radius: 22px;
  border: 1px solid #2c313d;
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(255, 92, 57, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(23, 26, 34, 0.96), rgba(10, 12, 17, 0.96));
  box-shadow: 0 50px 110px -60px #000;
}
.download-file {
  display: grid;
  gap: 4px;
  margin: 18px 0 24px;
  font-size: 13px;
  color: var(--faint);
}
.download-file code {
  font-size: 14px;
  color: #dfe3ec;
}
.checksum {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 10.5px;
  color: var(--faint);
}
.checksum code {
  font-size: 10.5px;
  color: #9aa1b1;
  word-break: break-all;
}
.copy {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
}
.copy:hover {
  background: rgba(255, 255, 255, 0.09);
}
.download-side h3 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.download-side h3 + .steps,
.download-side h3 + .specs {
  margin-bottom: 26px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}
.steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.steps p {
  margin: 0;
}
.steps span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #ffb08a;
  background: rgba(255, 92, 57, 0.14);
  border: 1px solid rgba(255, 92, 57, 0.3);
}
.specs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.specs li::before {
  content: "—";
  margin-right: 8px;
  color: #3f4655;
}

/* ---------------------------------------------------------------------- faq */

.faq {
  display: grid;
  gap: 10px;
  margin-top: 38px;
  max-width: 820px;
}
.faq details {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 4px 20px;
}
.faq details[open] {
  border-color: #2f3542;
  background: rgba(255, 255, 255, 0.035);
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 600;
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

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

.site-foot {
  max-width: var(--max);
  margin: 96px auto 0;
  padding: 32px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--faint);
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.foot-brand div {
  display: grid;
  line-height: 1.35;
}
.foot-brand strong {
  font-family: var(--display);
  font-weight: 620;
}
.foot-brand span {
  font-size: 12px;
  color: var(--faint);
}
.foot-links {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.foot-links a:hover {
  color: var(--text);
}
.foot-note {
  margin: 0;
  width: 100%;
}

/* -------------------------------------------------------------------- small */

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .split,
  .download-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hero {
    padding-top: 40px;
  }
  .section {
    padding-top: 72px;
  }
  .download-card {
    padding: 26px;
  }
  .compare th,
  .compare td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pulse {
    animation: none;
  }
  .card:hover,
  .btn:hover {
    transform: none;
  }
}
