/* FeedOff — feedoff.app */
:root {
  --paper: #F6F6F3;
  --card: #FFFFFF;
  --ink: #16130F;
  --muted: #6B6960;
  --line: #E3E2DC;
  --coral: #FF6B4A;
  --coral-deep: #E04E2E;
  --coral-soft: #FFE9E2;
  --green: #1F9D5B;
  --green-soft: #E3F5EA;
  --gray-mode: #9A9892;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.05; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.coral { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 56px 0 72px; }
.hero-copy > * + * { margin-top: 22px; }
.hero .sub { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero .free { color: var(--coral); }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; } }

/* Waitlist / CTA */
.cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.cta input[type=email] {
  flex: 1 1 220px; font: inherit; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink); min-width: 0;
}
.cta input[type=email]:focus { border-color: var(--ink); outline: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; padding: 14px 20px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; text-decoration: none; transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #000; transform: translateY(-1px); }
.btn.coral { background: var(--coral); }
.btn.coral:hover { background: var(--coral-deep); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.cta-note { font-size: 14px; color: var(--muted); }
.cta-done { display: none; padding: 14px 16px; border-radius: 12px; background: var(--green-soft); color: #145C37; font-weight: 600; }
.cta-error { display: none; font-size: 14px; color: var(--coral-deep); }
.badge-store { display: inline-block; }
.badge-store img { height: 52px; }

/* The switch (signature) */
.switch-row { display: inline-flex; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; }
.switch { position: relative; width: 66px; height: 38px; border-radius: 999px; background: var(--gray-mode); border: 0; cursor: pointer; padding: 0; transition: background .25s ease; }
.switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch[aria-checked="true"] { background: var(--coral); }
.switch[aria-checked="true"]::after { transform: translateX(28px); }
.switch-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.switch-label b { color: var(--coral); font-weight: 600; }
.switch-label .off-word { color: var(--muted); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: 320px; height: 650px; border-radius: 48px; background: #111; padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.08);
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; border-radius: 16px; background: #000; z-index: 3; }
.screen { position: relative; height: 100%; border-radius: 38px; background: #fff; overflow: hidden; display: flex; flex-direction: column; font-family: var(--body); }
.status { height: 52px; flex: none; }
.appbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 16px 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.appbar .dm { position: relative; width: 22px; height: 22px; border: 2px solid #111; border-radius: 4px; transform: rotate(-20deg); }
.appbar .dm::after { content: "3"; position: absolute; top: -10px; right: -12px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 0 5px; transform: rotate(20deg); font-family: var(--body); }
.feed { flex: 1; overflow: hidden; }
.stories { display: flex; gap: 12px; padding: 4px 14px 12px; }
.story { width: 56px; height: 56px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #f9d, #fb6, #f56); padding: 3px; }
.story i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #ddd; border: 2px solid #fff; }
.story.you { background: #e8e8e8; }
.post { padding: 0 0 10px; }
.post .who { display: flex; align-items: center; gap: 8px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.post .who i { width: 28px; height: 28px; border-radius: 50%; background: #ddd; }
.post .pic { height: 210px; background: linear-gradient(160deg, #c9d6e3, #8fa8bf 60%, #5f7d99); }
.post .pic.b { height: 190px; background: linear-gradient(160deg, #d8e3c9, #a9bf8f 60%, #7c9960); }
.post .acts { display: flex; gap: 12px; padding: 8px 14px 0; }
.post .acts i { width: 18px; height: 18px; border: 2px solid #111; border-radius: 50%; }
.post .acts i:nth-child(2) { border-radius: 4px; }
/* Feed junk that the switch removes */
.junk { overflow: hidden; transition: max-height .45s ease, opacity .3s ease, margin .45s ease; max-height: 260px; opacity: 1; }
.junk-label { font-size: 11px; font-weight: 700; color: var(--coral-deep); padding: 8px 14px 6px; text-transform: uppercase; letter-spacing: .06em; font-family: var(--mono); }
.reels-row { display: flex; gap: 8px; padding: 0 14px 10px; }
.reels-row i { width: 86px; height: 130px; flex: none; border-radius: 8px; background: linear-gradient(180deg, #333, #111); position: relative; }
.reels-row i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: translate(-40%, -50%); border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.suggest { display: flex; gap: 8px; padding: 0 14px 10px; }
.suggest i { flex: 1; height: 110px; border-radius: 8px; background: #eee; border: 1px solid #e3e3e3; }
.sponsored .pic { background: linear-gradient(160deg, #ffe3a1, #ffb84d); height: 150px; }
.sponsored .who span.tag { margin-left: auto; font-weight: 500; color: #888; font-size: 11px; }
.screen.off .junk { max-height: 0; opacity: 0; margin: 0; }
.tabbar { flex: none; display: flex; justify-content: space-around; align-items: center; height: 58px; border-top: 1px solid #eee; background: #fff; padding-bottom: 8px; }
.tabbar i { width: 22px; height: 22px; border: 2px solid #111; border-radius: 5px; transition: width .35s ease, opacity .25s ease, margin .35s ease; }
.tabbar i.home { border-radius: 5px 5px 2px 2px; }
.tabbar i.search { border-radius: 50%; }
.tabbar i.reels { border-radius: 6px; }
.tabbar i.you { border-radius: 50%; background: #ddd; border-color: #ddd; }
.tabbar i.junk-tab { transition: opacity .25s ease, transform .35s ease; }
.screen.off .tabbar i.junk-tab { opacity: 0; transform: scale(.4); position: absolute; }
.screen.off .tabbar { justify-content: space-evenly; }
/* Gray mode demo */
.screen.gray .feed, .screen.gray .tabbar { filter: grayscale(1); }

/* Proof strip */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0 0 72px; }
.proof div { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.proof div::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
@media (max-width: 720px) { .proof { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* How it works */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .art { height: 150px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 8px; position: relative; overflow: hidden; }
.art.block { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px; }
.art.block .hand { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); }
.art.block b { font-family: var(--display); font-size: 15px; }
.art.block small { font-size: 12px; color: var(--muted); }
.art.widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 14px; align-content: center; }
.art.widgets i { aspect-ratio: 1; border-radius: 10px; background: #e6e6e2; }
.art.widgets i.w { background: var(--coral); grid-column: span 1; position: relative; }
.art.widgets i.w::after { content: ""; position: absolute; inset: 30%; border: 2.5px solid #fff; border-radius: 50%; }
.art.widgets i.w2 { background: #E52B2B; }
.art.widgets i.w2::after { border-radius: 4px; }
.art.lite { display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.art.lite i { height: 10px; border-radius: 5px; background: #e6e6e2; }
.art.lite i.s { width: 60%; }
.art.lite i.gone { background: var(--coral-soft); position: relative; }
.art.lite i.gone::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--coral); }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
thead th.us { color: var(--coral-deep); }
td.us { background: #FFF7F4; font-weight: 600; }
.yes { color: var(--green); font-weight: 600; }
.no { color: var(--muted); }
.paid { color: var(--coral-deep); }
.table-note { font-size: 13px; color: var(--muted); margin-top: 12px; font-family: var(--mono); }

/* Stays / goes */
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plat { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plat h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.plat h3 i { width: 14px; height: 14px; border-radius: 4px; background: var(--coral); display: inline-block; }
.plat h3 i.yt { background: #E52B2B; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cols h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.cols h4.goes { color: var(--coral-deep); }
.cols h4.stays { color: var(--green); }
.cols ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.cols li { padding: 5px 0; border-top: 1px solid var(--line); }
.cols li:first-child { border-top: 0; }
.goes-list li { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 1.5px; }
@media (max-width: 800px) { .platforms { grid-template-columns: 1fr; } }

/* Privacy block */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.privacy pre { margin: 0; background: var(--ink); color: #E8E6DF; border-radius: var(--radius); padding: 20px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; overflow-x: auto; }
.privacy pre .k { color: #FFB39E; }
.privacy pre .s { color: #A7E3C0; }
.privacy pre .c { color: #8C8A82; }
.privacy .body p + p { margin-top: 12px; }
@media (max-width: 800px) { .privacy { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-family: var(--display); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Inner pages */
.page { max-width: 720px; margin: 0 auto; padding: 32px 24px 80px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 8px; }
.page .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 36px; }
.page h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.page p, .page li { color: #3A3833; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; }
.page li + li { margin-top: 6px; }
.page .card { margin-top: 20px; }

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