/* ============================================================
   NoteSweep website. Shares the TaskSweep site's design system
   (tasksweep.app, site.css of 23 Oct 2026) so the two sibling apps
   look like one family.
   - Brand blue = #0D82FA, the splash-screen blue; the icon's lighter/
     deeper gradient ends. Same as TaskSweep.
   - Type = SF Pro (the system font), SF Pro Rounded for numerals.
   - Motif = the app icon's radar rings and sweep.
   - Differences from TaskSweep: the indigo glow in brand panels is a
     deep blue here (no purple anywhere), and there is a "Coming soon"
     pill in place of the App Store badge.
   ============================================================ */

:root {
  /* Brand, from the app */
  --brand:        #0D82FA;   /* taskSweepBrand */
  --brand-hi:     #3AA6FF;   /* icon gradient, top */
  --brand-lo:     #0A55E0;   /* icon gradient, bottom */
  --brand-sky:    #8FD3FF;   /* icon sweep highlight */
  --brand-text:   #0761CC;   /* brand blue that passes 4.5:1 as text on white */
  --brand-dark:   #0A55E0;
  --brand-tint:   #E6F2FF;
  --brand-tint-2: #F2F8FF;
  --green:        #1A9E55;
  --amber:        #B7700A;

  /* Surfaces + text (iOS grouped-background feel) */
  --bg:           #F4F6FA;
  --bg-alt:       #FFFFFF;
  --bg-soft:      #F9FAFC;
  --card:         #FFFFFF;
  --glass:        rgba(255,255,255,.62);
  --glass-line:   rgba(255,255,255,.7);
  --ink:          #0B1220;
  --ink-2:        #3A4556;
  --ink-3:        #5C6879;
  --line:         rgba(11,18,32,.09);
  --line-strong:  rgba(11,18,32,.16);
  --nav-bg:       rgba(255,255,255,.7);

  /* Legacy names some pages still use in their own <style> blocks */
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3);
  --card-border: var(--line); --accent: var(--brand-text); --accent-dim: var(--brand-tint);
  --accent-glow: rgba(13,130,250,.28); --bg2: var(--bg-soft);

  --radius-lg:    28px;
  --radius:       20px;
  --radius-sm:    12px;
  --shadow-sm:    0 1px 2px rgba(11,18,32,.05), 0 2px 6px rgba(11,18,32,.04);
  --shadow-md:    0 10px 30px -12px rgba(11,18,32,.18);
  --shadow-lg:    0 40px 80px -30px rgba(10,40,110,.45);
  --ease:         cubic-bezier(.2,.8,.2,1);
  --maxw:         1200px;

  --font:         -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round:   ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="dark"] {
  --brand-text:   #5EB2FF;
  --brand-tint:   #0F2440;
  --brand-tint-2: #0B1A2E;
  --green:        #34C77A;
  --amber:        #F0B044;
  --bg:           #05080F;
  --bg-alt:       #0A0F19;
  --bg-soft:      #0C1220;
  --card:         #0F1624;
  --glass:        rgba(20,28,44,.55);
  --glass-line:   rgba(255,255,255,.08);
  --ink:          #F2F5FA;
  --ink-2:        #B9C3D2;
  --ink-3:        #8D99AB;
  --line:         rgba(255,255,255,.08);
  --line-strong:  rgba(255,255,255,.16);
  --nav-bg:       rgba(8,12,20,.6);
  --shadow-sm:    0 1px 2px rgba(0,0,0,.5);
  --shadow-md:    0 14px 34px -14px rgba(0,0,0,.7);
  --shadow-lg:    0 40px 90px -30px rgba(0,0,0,.85);
  --accent-glow:  rgba(13,130,250,.4);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 {
  font-family: var(--font-display); color: var(--ink); font-weight: 700;
  letter-spacing: -.028em; line-height: 1.08; text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; letter-spacing: -.045em; line-height: 1.0; }
h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -.035em; }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }
strong { color: var(--ink); }
.lead { font-size: clamp(18px, 1.8vw, 21px); line-height: 1.55; color: var(--ink-2); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; text-decoration: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
#main:focus { outline: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; position: relative; }
.section.tight { padding: 64px 0; }
.band { background: var(--bg-alt); }
.band-brand { background: var(--brand-tint-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent);
}
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.section-title { font-size: clamp(30px, 4vw, 50px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 600 16px/1 var(--font); border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px -8px rgba(13,130,250,.7); }
.btn-primary:hover { background: var(--brand-lo); }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--line-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-text); }
.btn-white { background: #fff; color: #0A55E0; }
.btn-white:hover { background: #EAF4FF; }
.appstore { display: inline-block; border-radius: 12px; transition: transform .18s var(--ease); }
.appstore:hover { transform: translateY(-2px); }
.appstore img { height: 54px; width: auto; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; }
.text-link::after { content: "→"; transition: transform .18s var(--ease); }
.text-link:hover { text-decoration: none; }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; color: inherit; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card.link { display: block; }
.card.link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 40%, transparent); text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-2); }
.card .ico, .ico-tile {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  flex: none; margin-bottom: 18px; color: #fff; font-size: 22px;
  background: linear-gradient(160deg, var(--brand-hi), var(--brand-lo));
  box-shadow: 0 8px 18px -8px rgba(13,130,250,.8), inset 0 1px 0 rgba(255,255,255,.35);
}
.card .ico svg, .ico-tile svg { width: 24px; height: 24px; display: block; }
.m-ico svg { width: 19px; height: 19px; display: block; }
.card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--brand-text); }

/* ---------- Split rows (inner pages) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse > .split-media { order: 2; }
.split h2 { font-size: clamp(28px, 3.2vw, 40px); }
.split p { margin-top: 16px; }
.split-media img { border-radius: var(--radius); }
.split-media { position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: 6% 10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,130,250,.28), transparent 70%); filter: blur(30px);
}

.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(160deg, var(--brand-hi), var(--brand-lo)) ;
  -webkit-mask: none;
}
.ticks li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 10px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg);
}

/* ---------- Devices ---------- */
.phone, .device {
  position: relative; width: 280px; margin: 0 auto; padding: 9px; border-radius: 48px;
  background: linear-gradient(145deg, #2a3242, #0b0f17 40%, #1b2230);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img, .device img { border-radius: 40px; width: 100%; }
.shot { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-md); }

/* ---------- Screenshots ---------- */
.feat .split { align-items: start; }
.feat-media { display: grid; gap: 24px; align-content: start; position: sticky; top: 104px; }
.feat-phone { margin: 0; }
.feat-phone .phone { width: 270px; padding: 8px; border-radius: 42px; }
.feat-phone .phone img { border-radius: 34px; display: block; }
@media (min-width: 901px) {
  .split.media-left { grid-template-columns: .85fr 1.15fr; }
  .split:not(.media-left):has(.feat-phone) { grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 900px) {
  .feat-media { position: static; }
  .split.media-left > .feat-media { order: 2; }
}
@media (max-width: 560px) {
  .feat-phone .phone { width: 240px; }
}

/* ---------- Callouts / steps / tables / books ---------- */
.callout {
  position: relative; border-radius: var(--radius); padding: 22px 26px 22px 30px; font-size: 16px;
  background: var(--brand-tint-2); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); color: var(--ink-2); overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--brand-hi), var(--brand-lo)); }
.steps { counter-reset: s; display: grid; gap: 22px; }
.steps li { list-style: none; position: relative; padding-left: 58px; }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: -4px;
  width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font: 700 18px/1 var(--font-round); color: #fff; background: linear-gradient(160deg, var(--brand-hi), var(--brand-lo));
}
.steps li h4 { margin-bottom: 4px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
table.tbl th, table.tbl td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.tbl th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
table.tbl tr:last-child td { border-bottom: none; }
.book { display: flex; gap: 16px; align-items: flex-start; }
.book .b-meta { flex: 1; }
.book .b-author { color: var(--ink-3); font-size: 14px; margin: 2px 0 8px; }

.prose { max-width: 740px; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(26px, 3vw, 34px); }
.prose h3 { margin: 30px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Radar motif (from the app icon) ---------- */
.radar { position: absolute; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 calc(16.66% - 1.5px), rgba(255,255,255,.34) calc(16.66% - 1.5px) 16.66%);
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); mask: radial-gradient(circle, #000 66%, transparent 67%);
}
.radar .sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,255,255,.3), rgba(255,255,255,0) 80deg, rgba(255,255,255,0) 352deg, rgba(255,255,255,.12));
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); mask: radial-gradient(circle, #000 66%, transparent 67%);
  animation: sweep 9s linear infinite;
}
.radar .blip {
  position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 0 20px rgba(255,255,255,.8);
  animation: blip 3s ease-in-out infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Brand panels (hero, inner-page hero, CTA) ---------- */
.brand-panel, .page-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(143,211,255,.55), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(6,60,190,.55), transparent 60%),
    linear-gradient(160deg, var(--brand-hi) 0%, var(--brand) 45%, var(--brand-lo) 100%);
}
:root[data-theme="dark"] .brand-panel, :root[data-theme="dark"] .page-hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(13,130,250,.55), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(6,50,160,.45), transparent 60%),
    linear-gradient(160deg, #07224d 0%, #061936 55%, #050b18 100%);
}
.brand-panel h1, .brand-panel h2, .brand-panel h3, .page-hero h1, .page-hero h2 { color: #fff; }
.brand-panel .lead, .brand-panel p, .page-hero .lead, .page-hero p { color: rgba(255,255,255,.88); }
.brand-panel .eyebrow, .page-hero .eyebrow { color: #fff; }
.brand-panel a:not(.btn):not(.appstore):not(.text-link), .page-hero a:not(.btn):not(.appstore):not(.text-link) { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.5); }
.brand-panel .text-link, .page-hero .text-link { color: #fff; }
.page-hero .btn-primary, .brand-panel .btn-primary { background: #fff; color: #0A55E0; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.page-hero .btn-primary:hover, .brand-panel .btn-primary:hover { background: #EAF4FF; }
.page-hero .btn-ghost, .brand-panel .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.page-hero .btn-ghost:hover, .brand-panel .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; border-color: #fff; }
.page-hero :focus-visible, .brand-panel :focus-visible { outline-color: #fff; }

/* Inner-page hero */
.page-hero { padding: 150px 0 96px; margin-top: -84px; }
.page-hero h1 { max-width: 860px; margin-bottom: 20px; }
.page-hero .lead { max-width: 720px; }
.page-hero .radar { width: 620px; right: -170px; top: 50%; translate: 0 -46%; opacity: .7; }

/* Pages without their own radar element get a static one from CSS. */
.page-hero:not(:has(.radar))::after {
  content: ""; position: absolute; z-index: -1; width: 640px; aspect-ratio: 1; right: -170px; top: 55%; translate: 0 -50%; border-radius: 50%;
  background:
    conic-gradient(from 20deg, rgba(255,255,255,.22), rgba(255,255,255,0) 80deg),
    repeating-radial-gradient(circle, transparent 0 calc(16.66% - 1.5px), rgba(255,255,255,.3) calc(16.66% - 1.5px) 16.66%);
  -webkit-mask: radial-gradient(circle, #000 66%, transparent 67%); mask: radial-gradient(circle, #000 66%, transparent 67%);
  opacity: .75;
}
@media (max-width: 900px) { .page-hero:not(:has(.radar))::after { width: 420px; right: -220px; opacity: .45; } }

/* ---------- Glass nav ---------- */
.nav { position: sticky; top: 12px; z-index: 200; padding: 0 16px; margin-top: 12px; }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; height: 60px; padding: 0 10px 0 18px;
  display: flex; align-items: center; gap: 6px; border-radius: 999px;
  background: var(--nav-bg); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 10px 30px -14px rgba(11,18,32,.35), inset 0 1px 0 rgba(255,255,255,.35);
}
:root[data-theme="dark"] .nav-inner { box-shadow: 0 10px 30px -14px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06); }
.nav-brand { display: flex; align-items: center; gap: 10px; font: 800 18px/1 var(--font-display); color: var(--ink); letter-spacing: -.02em; }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-2); font: 600 15px/1 var(--font); background: none; border: none; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); text-decoration: none; }
.nav-link .chev { font-size: 10px; opacity: .6; transition: transform .2s ease; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-right .appstore img { height: 40px; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 560px; padding: 16px; z-index: 210;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px) scale(.98); transform-origin: top left;
  transition: opacity .16s ease, transform .16s var(--ease), visibility .16s;
}
.mega.wide { min-width: 720px; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.mega a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 14px; color: var(--ink); transition: background .15s ease; }
.mega a:hover { background: var(--brand-tint-2); text-decoration: none; }
.mega a .m-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(160deg, var(--brand-hi), var(--brand-lo)); }
.mega a .m-t { font-weight: 700; font-size: 14.5px; color: var(--ink); }
.mega a .m-d { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.theme-toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.theme-toggle:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: none; color: var(--ink); font-size: 22px; cursor: pointer; }

@media (max-width: 960px) {
  .nav-menu, .nav-right .appstore { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-right { margin-left: auto; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 70px; left: 16px; right: 16px; margin: 0; padding: 12px;
    background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - 100px); overflow-y: auto;
  }
  .nav-menu.open .nav-item { width: 100%; }
  .nav-menu.open .nav-link { width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav-menu.open .mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    min-width: 0; padding: 0 0 0 8px; max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-menu.open .nav-item.open > .mega { max-height: 1600px; padding: 4px 0 8px 8px; }
  .nav-menu.open .nav-item.open .nav-link .chev { transform: rotate(180deg); }
  .nav-menu.open .mega-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: #04070D; color: #9AA6B8; padding: 88px 0 40px; margin-top: 0; }
.footer::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,130,250,.35), transparent 65%);
}
.footer .container { position: relative; }
.footer a { color: #D6DEEA; }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 800 20px/1 var(--font-display); }
.footer-brand img { width: 34px; height: 34px; border-radius: 9px; }
.footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.footer-note { font-size: 14.5px; margin-top: 16px; max-width: 280px; }
.footer-ts { margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: 22px; background: linear-gradient(135deg, rgba(13,130,250,.16), rgba(13,130,250,.04)); border: 1px solid rgba(13,130,250,.28); }
.footer-ts img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.footer-ts-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #7FB8FF; }
.footer-ts h4 { color: #fff; font: 700 20px/1.25 var(--font-display); margin: 6px 0 6px; }
.footer-ts p { font-size: 14.5px; max-width: 620px; }
.footer-ts-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-ts-more { font-size: 13.5px; }
.footer .footer-ts .btn-primary { color: #fff; }
.nav-ts { display: inline-flex; align-items: center; gap: 6px; }
.nav-ts img { width: 18px; height: 18px; border-radius: 5px; }
@media (max-width: 900px) {
  .footer-ts { grid-template-columns: minmax(0, 1fr); text-align: left; padding: 24px; }
  .footer-ts-cta { align-items: flex-start; }
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #7E8A9C; }

/* ---------- Scroll reveal (JS adds html.js; nothing hides without it) ---------- */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .08s; } html.js .reveal.d2 { transition-delay: .16s; } html.js .reveal.d3 { transition-delay: .24s; }

/* ---------- Lightbox ---------- */
.ts-zoomable { cursor: zoom-in; }
.ts-lightbox { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 32px; background: rgba(4,7,13,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: zoom-out; }
.ts-lightbox.open { display: flex; }
.ts-lightbox img { max-width: 92vw; max-height: 90vh; width: auto; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: default; }
.ts-lightbox-close { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ts-lightbox-close:hover { background: rgba(255,255,255,.26); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > .split-media { order: 0; }
  .page-hero { padding: 130px 0 72px; }
  .page-hero .radar { width: 420px; right: -220px; opacity: .45; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .phone, .device { width: 250px; border-radius: 42px; }
  .phone img, .device img { border-radius: 34px; }
  .card { padding: 24px; }
  .footer-top { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- NoteSweep additions ---------- */
.soon {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 10px;
  border-radius: 14px; font: 600 15px/1.2 var(--font); color: #fff; background: #000;
  border: 1px solid rgba(255,255,255,.28); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45);
}
.soon svg { width: 26px; height: 26px; flex: none; }
.soon small { display: block; font-size: 11px; font-weight: 500; opacity: .8; letter-spacing: .02em; }
.nav-right .soon { min-height: 40px; padding: 6px 14px 6px 8px; font-size: 13px; border-radius: 11px; }
.nav-right .soon svg { width: 20px; height: 20px; }
.nav-right .soon small { font-size: 10px; }
@media (max-width: 960px) { .nav-right .soon { display: none; } }
.pill-dev {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--brand-text); background: var(--brand-tint);
}
.md {
  font: 14px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; overflow-x: auto; white-space: pre;
}
code { font: .92em ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.md code, pre code { background: none; border: none; padding: 0; }
.footer-legal { flex-basis: 100%; line-height: 1.6; margin-top: 14px; }
.split > * { min-width: 0; } /* lets wide code blocks scroll instead of stretching the column */
