/* tagsbay.com: one stylesheet for every page. Colors follow design/tokens/tokens.json. */

@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url("/fonts/OpenSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url("/fonts/OpenSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Open Sans"; font-weight: 700; font-display: swap; src: url("/fonts/OpenSans-Bold.ttf") format("truetype"); }

:root {
  --navy: #25306F;
  --navy-deep: #1C2558;
  --navy-50: #EEF0FA;
  --navy-100: #DADFF5;
  --brand-red: #FE1A10;
  --red-600: #D4140C;
  --blush: #FFF4F2;
  --ink: #111927;
  --ink-2: #4D535D;
  --line: #E5E7EB;
  --surface: #F3F4F6;
  --page: #FFFFFF;
  --card: #FFFFFF;
  --chat-bg: #F6F7F9;
  --link: #25306F;
  --on-navy: #FFFFFF;
  --on-navy-2: #C9CEEB;
  --tia-from: #25306F;
  --tia-to: #6B79D6;
  --success: #067647;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 32px;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy-50: #1C2433;
    --navy-100: #2B3444;
    --ink: #F3F4F6;
    --ink-2: #A6ABB0;
    --line: #2B3444;
    --surface: #1C2433;
    --page: #111927;
    --card: #1C2433;
    --chat-bg: #161E2C;
    --link: #AAB4EE;
    --blush: #1A2131;
    --red-600: #FF7A6E;
    --success: #32D583;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy-50: #1C2433; --navy-100: #2B3444; --ink: #F3F4F6; --ink-2: #A6ABB0; --line: #2B3444;
  --surface: #1C2433; --page: #111927; --card: #1C2433; --chat-bg: #161E2C; --link: #AAB4EE;
  --blush: #1A2131; --red-600: #FF7A6E; --success: #32D583; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 17px/1.6 "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tia-to); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* Header */
.site-head { position: relative; z-index: 2; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 112px; height: auto; }
.logo .on-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .on-light { display: none; } :root:not([data-theme="light"]) .logo .on-dark { display: block; } }
:root[data-theme="dark"] .logo .on-light { display: none; }
:root[data-theme="dark"] .logo .on-dark { display: block; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 22px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--link); }

/* Hero */
.hero { position: relative; padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--blush) 0, var(--page) 520px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 7.4vw, 92px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; margin: 0 0 28px; max-width: 9.5em; }
.hero h1 .dot { color: var(--brand-red); }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 30em; margin: 0 0 32px; }
.soon { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 26px; background: var(--navy); color: #fff; font-weight: 600; font-size: 16px; text-decoration: none; border: 0; }
.btn:hover { background: var(--navy-deep); }
.soon-note { color: var(--ink-2); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.soon-note svg { flex: none; }

/* The group chat in the hero */
.stage { position: relative; background: var(--navy); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 36px); padding-bottom: 0; overflow: hidden; overflow: clip; }
.stage::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(107,121,214,.55), transparent); pointer-events: none; }
.chat { position: relative; background: var(--chat-bg); border-radius: 24px 24px 0 0; box-shadow: 0 30px 60px -20px rgba(8, 12, 40, .55); overflow: hidden; font-size: 15px; line-height: 1.4; color: var(--ink); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.faces { display: flex; }
.faces img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); object-fit: cover; }
.faces img + img { margin-inline-start: -12px; }
.chat-title b { display: block; font-size: 16px; }
.chat-title span { color: var(--ink-2); font-size: 13px; }
.bagbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--navy-50); border-bottom: 1px solid var(--line); font-size: 14px; }
.bagbar b { font-weight: 600; }
.bagbar .total { margin-inline-start: auto; font-weight: 700; color: var(--link); font-variant-numeric: tabular-nums; }
.bagbar.bump .total { animation: bump .5s ease; }
@keyframes bump { 40% { transform: scale(1.18); } }
.thread { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; min-height: 470px; }
.who { color: var(--ink-2); font-size: 13px; margin: 0 0 -4px 44px; }
.row { display: flex; gap: 10px; align-items: flex-end; }
.row img.av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.spacer { width: 34px; flex: none; }
.product { background: var(--card); border-radius: 16px; overflow: hidden; width: min(220px, 70%); border: 1px solid var(--line); }
.product img { aspect-ratio: 5 / 3; object-fit: cover; width: 100%; height: auto; }
.product div { padding: 8px 12px 10px; }
.product b { display: block; font-size: 15px; }
.bubble { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 9px 14px; max-width: 78%; }
.mine { align-self: flex-end; background: var(--navy); color: #fff; border: 0; border-end-end-radius: 6px; }
.mine b { font-weight: 700; }
.tia-label { color: var(--link); font-weight: 600; font-size: 13px; margin: 2px 0 -4px; display: flex; align-items: center; gap: 6px; }
.orb { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--tia-from), var(--tia-to)); display: inline-grid; place-items: center; }
.tia-card { background: var(--card); border: 1px solid var(--navy-100); border-radius: 18px; padding: 12px 14px; display: grid; gap: 10px; max-width: 92%; }
.pick { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; }
.pick img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.pick small { display: block; color: var(--ink-2); font-size: 13px; }
.add { min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: 22px; border: 1.5px solid var(--link); background: transparent; color: var(--link); font: 600 14px/1 "Open Sans", sans-serif; cursor: pointer; white-space: nowrap; }
.add:hover { background: var(--navy-50); }
.add[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }

/* The page-load sequence: messages arrive one by one. Without JavaScript, or with reduced motion, all show at once. */
.js .seq { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.js .seq.in { opacity: 1; transform: none; }
.js .typing-row { display: none; }
.js .typing-row.in { display: flex; }
@media (prefers-reduced-motion: reduce) {
  .js .seq { opacity: 1; transform: none; transition: none; }
  .js .typing-row.in { display: none; }
  .bagbar.bump .total, .typing i { animation: none; }
}

/* What you can do */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section h2, .honest h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 16px; max-width: 16em; }
.intro { color: var(--ink-2); font-size: 19px; max-width: 34em; margin: 0 0 56px; }
.ways { display: grid; gap: clamp(48px, 7vw, 88px); }
.way { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.way:nth-child(even) .way-art { order: 2; }
.way h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 12px; }
.way p { color: var(--ink-2); margin: 0; max-width: 30em; }
.way-art { background: var(--surface); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); display: grid; place-items: center; min-height: 300px; }

.poll { background: var(--card); border-radius: 18px; padding: 16px; width: min(340px, 100%); border: 1px solid var(--line); }
.poll b { display: block; margin-bottom: 12px; }
.opt { position: relative; display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); margin-top: 8px; overflow: hidden; font-size: 15px; }
.opt span { position: relative; }
.opt::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--navy-50); }
.opt.w75 { --w: 75%; } .opt.w25 { --w: 25%; }
.opt.lead { border-color: var(--navy-100); font-weight: 600; }
.poll small { display: block; color: var(--ink-2); margin-top: 10px; font-size: 13px; }

.clip { position: relative; width: min(230px, 80%); aspect-ratio: 9 / 15; border-radius: 22px; overflow: hidden; background: #0B0B0C; }
.clip img { width: 100%; height: 100%; object-fit: cover; }
.live { position: absolute; top: 12px; inset-inline-start: 12px; background: #D4140C; color: #fff; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 6px; }
.clip-buy { position: absolute; inset: auto 10px 10px 10px; background: rgba(255,255,255,.96); color: #111927; border-radius: 14px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.clip-buy b { display: block; font-size: 14px; }
.clip-buy span.buy { background: #25306F; color: #fff; border-radius: 16px; padding: 6px 12px; font-weight: 600; white-space: nowrap; }

.tia-say { display: grid; gap: 12px; width: min(360px, 100%); }
.tia-head { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--link); }
.tia-head .orb { width: 40px; height: 40px; box-shadow: 0 0 0 6px rgba(107,121,214,.18); }
.tia-say .bubble { max-width: 100%; }
.confirm { display: flex; gap: 8px; }
.confirm span { min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 20px; font-weight: 600; font-size: 14px; }
.confirm .yes { background: var(--navy); color: #fff; }
.confirm .no { border: 1.5px solid var(--line); }

.tiers { width: min(360px, 100%); background: var(--card); border-radius: 18px; border: 1px solid var(--line); overflow: hidden; font-variant-numeric: tabular-nums; }
.tiers div { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px solid var(--line); }
.tiers div:first-child { border-top: 0; color: var(--ink-2); font-size: 14px; }
.tiers .now { background: var(--navy-50); font-weight: 700; }

/* Honest by design */
.honest { background: var(--navy); color: var(--on-navy); border-radius: var(--radius-l); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.honest h2 { color: #fff; }
.honest .intro { color: var(--on-navy-2); margin-bottom: 0; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.promises li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.promises li:first-child { border-top: 0; padding-top: 4px; }
.promises b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.promises span { color: var(--on-navy-2); }
.promises svg { margin-top: 4px; }

/* Launch */
.launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.arabic { font-size: clamp(34px, 5vw, 64px); line-height: 1.25; font-weight: 700; margin: 0; color: var(--link); letter-spacing: 0; }
.arabic + p { color: var(--ink-2); margin: 10px 0 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 15px; color: var(--ink-2); margin-top: clamp(40px, 6vw, 80px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-foot h2 { font-size: 15px; color: var(--ink); margin: 0 0 10px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink-2); text-decoration: none; }
.site-foot li a:hover { color: var(--link); text-decoration: underline; }
.site-foot address { font-style: normal; }
.foot-first { margin: 0 0 8px; }
.foot-mail { margin: 8px 0 0; }
.fine { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }

/* Text pages: privacy, terms, support, about, delete account */
.doc { padding-top: clamp(32px, 6vw, 72px); }
.doc header { max-width: var(--measure); margin-bottom: 40px; }
.doc h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.04em; margin: 0 0 14px; }
.doc .updated { color: var(--ink-2); margin: 0; }
.doc .summary { font-size: 19px; color: var(--ink-2); margin: 14px 0 0; }
.doc-body { max-width: var(--measure); }
.doc-body h2 { font-size: 24px; letter-spacing: -0.015em; line-height: 1.25; margin: 48px 0 12px; scroll-margin-top: 16px; }
.doc-body h3 { font-size: 18px; margin: 28px 0 8px; }
.doc-body p, .doc-body li { color: var(--ink); }
.doc-body ul, .doc-body ol { padding-inline-start: 22px; }
.doc-body li { margin: 6px 0; }
.doc-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.doc-body th, .doc-body td { text-align: start; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); }
.doc-body th { font-weight: 600; width: 34%; }
.toc { background: var(--surface); border-radius: var(--radius-m); padding: 20px 24px; margin: 0 0 8px; }
.toc b { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; columns: 2 220px; column-gap: 32px; }
.toc a { display: inline-block; padding: 3px 0; }
.callout { background: var(--navy-50); border-radius: var(--radius-m); padding: 20px 24px; margin: 24px 0; }
.callout p { margin: 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; margin: 16px 0; }
.facts dt, .facts dd { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
.facts dt { font-weight: 600; }

@media (max-width: 860px) {
  .hero .wrap, .way, .honest, .launch { grid-template-columns: minmax(0, 1fr); }
  .way:nth-child(even) .way-art { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .thread { min-height: 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav a { padding: 0 8px; font-size: 14px; }
  .logo img { width: 96px; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { border-top: 0; padding-top: 0; }
  .way-art { min-height: 0; }
  .stage { padding: 12px 12px 0; border-radius: 24px; }
  .thread { padding: 12px; }
  .pick { grid-template-columns: 44px 1fr; row-gap: 6px; }
  .pick img { width: 44px; height: 44px; }
  .pick .add { grid-column: 2; justify-self: start; }
  .tia-card { max-width: 100%; }
}
