/* ============================================================
   Tieddr Pro Screen — landing site (brand blue)
   ============================================================ */
:root {
  --bg: #05070e;
  --bg-2: #0a0e18;
  --surface: rgba(18, 26, 44, 0.55);
  --surface-2: rgba(26, 36, 58, 0.7);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #eaf0fb;
  --muted: #98a6c2;
  --faint: #5f6d8a;
  --blue: #0d80f5;
  --blue-2: #22a6ff;
  --azure: #4fc0ff;
  --grad: linear-gradient(135deg, #0a6bf0 0%, #22a6ff 100%);
  --grad-bright: linear-gradient(135deg, #1f8bff 0%, #4fc0ff 100%);
  --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Animated aurora background */
.aurora { position: fixed; inset: -20% -10% auto -10%; height: 130vh; z-index: -2; pointer-events: none; filter: blur(60px); opacity: .8; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 26s var(--ease) infinite alternate; }
.aurora .a1 { width: 620px; height: 620px; left: 2%; top: -8%; background: radial-gradient(circle, rgba(13,128,245,.55), transparent 62%); }
.aurora .a2 { width: 680px; height: 680px; right: 4%; top: -14%; background: radial-gradient(circle, rgba(79,192,255,.42), transparent 60%); animation-delay: -8s; }
.aurora .a3 { width: 520px; height: 520px; left: 40%; top: 30%; background: radial-gradient(circle, rgba(34,166,255,.3), transparent 62%); animation-delay: -15s; }
@keyframes drift { to { transform: translate3d(60px, 50px, 0) scale(1.15); } }
.grid-fade { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(20px); background: rgba(5,7,14,.6); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 16px rgba(13,128,245,.5); }
.brand b { font-weight: 800; }
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); padding: 9px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 500; transition: color .16s, background .16s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.05); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 13px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform .16s var(--ease), box-shadow .2s, filter .2s, background .2s; overflow: hidden; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 34px rgba(13,128,245,.5); }
.btn.primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-130%); transition: transform .7s var(--ease); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(13,128,245,.62); filter: brightness(1.06); }
.btn.primary:hover::after { transform: translateX(130%); }
.btn.ghost { background: rgba(255,255,255,.05); border-color: var(--line-strong); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn.lg { padding: 16px 32px; font-size: 16.5px; border-radius: 15px; }

/* Reveal on scroll — progressive enhancement: hidden only when JS is active,
   so no-JS (and crawlers) always see content. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Hero */
.hero { text-align: center; padding: 92px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em;
  color: var(--blue-2); padding: 8px 16px; border: 1px solid rgba(34,166,255,.35); border-radius: 999px;
  background: rgba(34,166,255,.08); margin-bottom: 24px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 12px var(--azure); }
.hero h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; font-weight: 800; letter-spacing: -2px; margin-bottom: 22px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 22px); color: var(--muted); max-width: 660px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: var(--faint); font-size: 13.5px; margin-top: 18px; }
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 30px; color: var(--faint); font-size: 13px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust b { color: var(--muted); font-weight: 600; }

/* Hero screenshot — tilted glass frame */
.hero-shot { margin: 60px auto 0; max-width: 1120px; position: relative; perspective: 2000px; }
.hero-shot .frame { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-strong);
  box-shadow: 0 50px 140px rgba(0,0,0,.7), 0 0 0 1px rgba(34,166,255,.18), 0 30px 90px rgba(13,128,245,.28);
  transform: rotateX(6deg); transform-origin: 50% 100%; }
.hero-shot .frame img { width: 100%; }
.hero-shot .glow { position: absolute; inset: 10% 15% -10%; background: radial-gradient(ellipse at 50% 40%, rgba(34,166,255,.4), transparent 60%); filter: blur(70px); z-index: -1; }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 70px;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee ul { display: flex; gap: 44px; list-style: none; white-space: nowrap; width: max-content; animation: scroll 32s linear infinite; }
.marquee li { color: var(--muted); font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 44px; }
.marquee li::after { content: '●'; color: var(--blue); font-size: 8px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kick { color: var(--blue-2); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17.5px; }

/* Bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(16px);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-5px); border-color: rgba(34,166,255,.4); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 16px; font-size: 23px; box-shadow: 0 8px 22px rgba(13,128,245,.45); }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card.wide { grid-column: span 3; }
.card.third { grid-column: span 2; }
.card.half { grid-column: span 3; }
.card.feature-img { grid-column: span 3; padding: 0; overflow: hidden; }
.card.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.card.hl { background: linear-gradient(160deg, rgba(13,128,245,.16), rgba(34,166,255,.05)); border-color: rgba(34,166,255,.28); }

/* Showcase rows */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; margin: 40px 0; }
.showcase.rev .sc-text { order: 2; }
.sc-text .kick { color: var(--blue-2); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.sc-text h3 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; }
.sc-text p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.sc-text ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sc-text li { display: flex; gap: 11px; align-items: flex-start; color: var(--text); font-size: 15.5px; }
.sc-text li::before { content: '✓'; color: var(--blue-2); font-weight: 800; }
.sc-img { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(34,166,255,.12); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 18px; }
.stat .n { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; }
.stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* CTA band */
.cta-band { position: relative; text-align: center; border: 1px solid rgba(34,166,255,.28); border-radius: var(--r-xl); padding: 68px 30px; overflow: hidden;
  background: linear-gradient(160deg, rgba(13,128,245,.2), rgba(10,14,24,.4)); }
.cta-band::before { content: ''; position: absolute; inset: -50% 20% auto; height: 300px; background: radial-gradient(ellipse, rgba(34,166,255,.4), transparent 60%); filter: blur(60px); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 17.5px; margin-bottom: 28px; }

/* Download cards */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10px; }
.dl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 34px; text-align: center; backdrop-filter: blur(16px); transition: transform .2s var(--ease), border-color .2s; }
.dl-card:hover { transform: translateY(-4px); border-color: rgba(34,166,255,.4); }
.dl-card .os { font-size: 44px; margin-bottom: 14px; display: flex; justify-content: center; color: var(--blue-2); }
.dl-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.dl-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.dl-card .rec { display: inline-block; margin-bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-2); background: rgba(34,166,255,.1); border: 1px solid rgba(34,166,255,.3); padding: 4px 10px; border-radius: 999px; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 14px; max-width: 660px; margin: 30px auto 0; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.step::before { counter-increment: s; content: counter(s); flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--grad); border-radius: 11px; font-weight: 800; box-shadow: 0 6px 16px rgba(13,128,245,.4); }
.step h4 { font-size: 16.5px; margin-bottom: 3px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(34,166,255,.3); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::after { content: '+'; color: var(--blue-2); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); padding: 0 0 20px; font-size: 15px; }

/* Windows-logo glyph inside buttons */
.btn .win-logo { flex: 0 0 auto; }

/* Help center — article archive */
.help-search { max-width: 560px; margin: 0 auto 30px; position: relative; }
.help-search input { width: 100%; background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--text);
  border-radius: 14px; padding: 15px 20px 15px 46px; font-size: 15.5px; font-family: inherit; backdrop-filter: blur(16px); transition: border-color .16s; }
.help-search input:focus { outline: none; border-color: rgba(34,166,255,.55); }
.help-search input::placeholder { color: var(--faint); }
.help-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.help-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.help-chip { background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); color: var(--muted); font-size: 13.5px; font-weight: 500;
  padding: 8px 15px; border-radius: 999px; cursor: pointer; transition: color .16s, background .16s, border-color .16s; }
.help-chip:hover { color: var(--text); }
.help-chip.active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 6px 16px rgba(13,128,245,.4); }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; backdrop-filter: blur(16px);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 10px; }
.help-card:hover { transform: translateY(-4px); border-color: rgba(34,166,255,.4); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.help-card .hc-cat { color: var(--blue-2); font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.help-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; }
.help-card p { color: var(--muted); font-size: 13.5px; flex: 1 1 auto; }
.help-card .hc-meta { color: var(--faint); font-size: 12px; }
.help-empty { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--faint); }
@media (max-width: 900px) { .help-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .help-grid { grid-template-columns: 1fr; } }

/* Help article pages */
.article-shell { max-width: 720px; margin: 0 auto 50px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--faint); font-size: 13px; margin-bottom: 26px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.article .kick { color: var(--blue-2); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.article h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -.6px; margin-bottom: 10px; }
.article-meta { color: var(--faint); font-size: 13px; margin-bottom: 26px; }
.article h2 { font-size: 19px; font-weight: 700; margin: 26px 0 10px; }
.article p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.article a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.article-shot { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-strong); margin: 18px 0 8px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.article p.cap { color: var(--faint); font-size: 12.5px; text-align: center; margin-top: -4px; }
.kbd-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.kbd-table tr { border-bottom: 1px solid var(--line); }
.kbd-table td { padding: 11px 6px; font-size: 14.5px; color: var(--muted); }
.kbd-table td:first-child { width: 160px; }
kbd { display: inline-block; background: rgba(255,255,255,.07); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; padding: 3px 8px; font: 12.5px ui-monospace, "SF Mono", Consolas, monospace; color: var(--text); }
.article-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); gap: 16px; flex-wrap: wrap; }
.article-related { display: flex; gap: 10px; flex-wrap: wrap; }
.article-related a { font-size: 13.5px; background: rgba(255,255,255,.05); border: 1px solid var(--line); padding: 8px 14px; border-radius: 10px; text-decoration: none; color: var(--muted); }
.article-related a:hover { color: var(--text); border-color: var(--line-strong); }

/* Legal / long-form prose (privacy policy, terms) */
.legal { max-width: 760px; margin: 0 auto 60px; }
.legal h2 { font-size: 21px; font-weight: 800; letter-spacing: -.3px; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 15.5px; margin-bottom: 4px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.04); cursor: pointer; margin-left: auto; }
.nav-toggle span { width: 18px; height: 1.6px; background: var(--text); margin: 0 auto; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Advanced footer: brand + link columns + "More from Tieddr" */
footer { border-top: 1px solid var(--line); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 16px; max-width: 260px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.footer-col nav, .footer-col .flist { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .16s; }
.footer-col a:hover { color: var(--text); }
.footer-col a .ext { display: inline-block; opacity: .5; font-size: 12px; margin-left: 2px; transition: opacity .16s, transform .16s; }
.footer-col a:hover .ext { opacity: 1; transform: translate(1px, -1px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; }
.footer-bottom .muted { color: var(--faint); font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom nav a { color: var(--muted); font-size: 13.5px; }
.footer-bottom nav a:hover { color: var(--text); }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.wide, .card.third, .card.half, .card.feature-img { grid-column: span 2; }
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase.rev .sc-text { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: flex; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: rgba(6,8,16,.98); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px; gap: 4px; margin-left: 0;
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s var(--ease), opacity .25s; }
  .nav-links.open { max-height: 320px; opacity: 1; }
  .nav-links a { width: 100%; }
  .nav-links .btn { margin-top: 8px; justify-content: center; }
}
