/* ─────────────────────────────────────────────────────────────
   My360Blogger — marketing site
   Editorial "content ledger" design. Hand-built, no frameworks.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #f7f4ee;
  --bg-elev: #fffdf9;
  --ink: #17150f;
  --ink-2: #55503f;
  --ink-3: #8a8471;
  --line: #e4ded0;
  --line-strong: #cfc7b2;
  --accent: #f97316;
  --accent-ink: #c2410c;
  --accent-soft: rgba(249, 115, 22, 0.09);
  --card: #fffdf9;
  --shadow: 0 1px 0 rgba(23, 21, 15, 0.05), 0 12px 32px -16px rgba(23, 21, 15, 0.18);
  --grain-opacity: 0.05;
}

html[data-theme="dark"] {
  --bg: #0d0c0a;
  --bg-elev: #14120f;
  --ink: #f1ede3;
  --ink-2: #b3ac99;
  --ink-3: #7d7767;
  --line: #262219;
  --line-strong: #3a3423;
  --accent: #fb8b2c;
  --accent-ink: #fdba74;
  --accent-soft: rgba(251, 139, 44, 0.12);
  --card: #14120f;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 16px 40px -18px rgba(0, 0, 0, 0.7);
  --grain-opacity: 0.09;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, .display {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; letter-spacing: 0; }

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* micro label */
.label {
  font-family: "Space Grotesk", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}

/* ── nav ─────────────────────────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
html[data-theme="dark"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px -8px rgba(249, 115, 22, 0.55);
}
.btn-solid:hover { box-shadow: 0 10px 26px -8px rgba(249, 115, 22, 0.7); transform: translateY(-1px); }
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 12.5px; border-radius: 10px; }

.hamburger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.hamburger svg { width: 18px; height: 18px; }

.mobile-menu { display: none; }

/* ── hero ────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 64px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 700;
  margin: 22px 0 24px;
}
.hero h1 .serif { color: var(--accent-ink); font-weight: 400; }
.hero p.lede {
  font-size: 17.5px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 12px; height: 12px; color: var(--accent); }

/* live "generation" card */
.hero-demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  transform: rotate(1.2deg);
}
.hero-demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.demo-badge {
  font-family: "Space Grotesk";
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.demo-badge .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.7); } }

.demo-caption {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
  min-height: 130px;
  white-space: pre-wrap;
}
.demo-caption .cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--accent);
  vertical-align: -2px;
  animation: blink 0.9s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.demo-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-3);
}
.demo-platforms { display: flex; gap: 6px; }
.demo-platforms span {
  font-family: "Space Grotesk";
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
  transition: all 0.25s;
}
.demo-platforms span.active {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent-soft);
}

/* ── marquee ─────────────────────────────────────────────── */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  font-family: "Space Grotesk";
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
}
.marquee-item::after { content: "✦"; color: var(--accent); font-size: 11px; }

/* ── workflow ────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; margin: 18px 0 16px; }
.section-head p { color: var(--ink-2); font-size: 16.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.step { padding: 34px 30px 38px; border-right: 1px solid var(--line); position: relative; transition: background 0.25s; }
.step:last-child { border-right: none; }
.step:hover { background: var(--accent-soft); }
.step-num {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 46px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ── feature ledger ──────────────────────────────────────── */
.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding 0.3s ease, background 0.3s;
}
.ledger-row:hover { background: var(--accent-soft); padding-left: 14px; }
.ledger-idx {
  font-family: "Space Grotesk";
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.ledger-row:hover .ledger-idx { color: var(--accent); }
.ledger-title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.ledger-desc { font-size: 14.5px; color: var(--ink-2); }
.ledger-desc .tag {
  display: inline-block;
  margin: 8px 8px 0 0;
  font-size: 11px;
  font-family: "Space Grotesk";
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 3px 10px;
}

/* ── bento ───────────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.bento-card h3 { font-size: 19px; margin-bottom: 8px; position: relative; z-index: 1; }
.bento-card p { font-size: 13.5px; color: var(--ink-2); position: relative; z-index: 1; }
.bento-card .bento-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  transition: transform 0.4s ease;
}
.bento-card:hover .bento-glow { transform: scale(1.6); }
.b4 { grid-column: span 4; }
.b3 { grid-column: span 3; }
.b2 { grid-column: span 2; }
.bento-emoji { font-size: 26px; margin-bottom: auto; position: relative; z-index: 1; }

/* ── autopilot band ──────────────────────────────────────── */
.band {
  background: #100e0b;
  color: #f1ede3;
  border-radius: 26px;
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
html[data-theme="dark"] .band { border: 1px solid var(--line-strong); }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(400px 260px at 10% 90%, rgba(249, 115, 22, 0.12), transparent 60%);
}
.band-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; margin: 16px 0 18px; }
.band h2 .serif { color: #fdba74; }
.band p { color: #b3ac99; font-size: 16px; max-width: 480px; }
.band .label { color: #7d7767; }
.sched { display: grid; gap: 10px; }
.sched-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.sched-row .dot { width: 8px; height: 8px; border-radius: 50%; background: #fb8b2c; flex-shrink: 0; box-shadow: 0 0 12px rgba(251, 139, 44, 0.8); }
.sched-row time { font-family: "Space Grotesk"; font-weight: 600; color: #fdba74; min-width: 74px; }
.sched-row .what { color: #e7e1d2; }
.sched-row .pill { margin-left: auto; font-size: 10.5px; font-family: "Space Grotesk"; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #8a8471; }

/* ── pricing ─────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 1.5px solid var(--accent);
  position: relative;
  box-shadow: 0 18px 48px -20px rgba(249, 115, 22, 0.4);
}
.price-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: "Space Grotesk";
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card h3 { font-size: 21px; }
.price-amount { font-family: "Space Grotesk"; font-size: 44px; font-weight: 700; margin: 16px 0 4px; letter-spacing: -0.03em; }
.price-amount small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 22px; }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; }
.price-card li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.price-card .btn { margin-top: auto; justify-content: center; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: "Space Grotesk";
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent-ink); }
.faq-q .plus { font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { font-size: 14.5px; color: var(--ink-2); padding: 0 40px 22px 0; }

/* ── CTA band ────────────────────────────────────────────── */
.cta-final { text-align: center; padding: 110px 0; }
.cta-final h2 { font-size: clamp(38px, 5.5vw, 72px); font-weight: 700; margin: 20px 0 22px; }
.cta-final p { color: var(--ink-2); max-width: 480px; margin: 0 auto 36px; font-size: 16.5px; }

/* ── footer ──────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: var(--ink-3); max-width: 260px; }
.footer-col h4 {
  font-family: "Space Grotesk";
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--ink-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

/* ── legal pages ─────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 72px 0 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin: 18px 0 8px; }
.legal .effective { color: var(--ink-3); font-size: 13.5px; margin-bottom: 44px; }
.legal h2 { font-size: 21px; margin: 36px 0 12px; }
.legal h3 { font-size: 16px; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--accent-ink); text-decoration: underline; }

/* ── reveal on scroll ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ──────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-demo { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .ledger-row { grid-template-columns: 56px 1fr; }
  .ledger-desc { grid-column: 2; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .b4, .b3, .b2 { grid-column: span 2; }
  .band-inner { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .hamburger { display: grid; }
  .mobile-menu {
    border-top: 1px solid var(--line);
    padding: 18px 24px 26px;
    background: var(--bg);
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 13px 0;
    font-family: "Space Grotesk";
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a:last-child { border-bottom: none; }
  .mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .band { padding: 48px 26px; border-radius: 20px; }
  .bento { grid-template-columns: 1fr; }
  .b4, .b3, .b2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-final { padding: 72px 0; }
}
