/* Trendium website: the app's dark theme and logo colours (aqua into green above the line, red below). */
:root {
  color-scheme: dark;
  --bg: #070a0f;
  --surface: #0e141c;
  --surface-raised: #131b25;
  --border: #1f2a37;
  --border-strong: #2d3b4c;
  --text: #f0f4fa;
  --text-secondary: #b4c0cf;
  --text-muted: #8796a8;
  --aqua: #36dfd0;
  --green: #27dba0;
  --red: #ff5c70;
  --amber: #efbd62;
  --brand-gradient: linear-gradient(90deg, #22d3ee, #36dfd0 45%, #4ade80);
  --radius: 14px;
  --container: 1160px;
  --gutter: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(60rem 36rem at 15% -10%, rgba(54, 223, 208, .09), transparent 70%),
    radial-gradient(48rem 30rem at 95% 5%, rgba(74, 222, 128, .05), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: #6ff0e3; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; padding: 8px 12px; background: var(--surface-raised); border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(7, 10, 15, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(31, 42, 55, .7); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: .01em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand:hover { color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--text-secondary); text-decoration: none; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav .nav-cta { padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; color: var(--text); }
.site-nav .nav-cta:hover { border-color: var(--aqua); }
@media (max-width: 640px) {
  .site-nav { gap: 14px; }
  .site-nav .nav-hide-small { display: none; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 16px; text-decoration: none; transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #04110e; background: var(--brand-gradient); }
.button-primary:hover { color: #04110e; }
.button-secondary { color: var(--text); border: 1px solid var(--border-strong); background: rgba(19, 27, 37, .6); }
.button-secondary:hover { color: var(--text); border-color: var(--aqua); }
.button svg { width: 18px; height: 18px; flex: none; }
.store-badge { display: inline-block; line-height: 0; border-radius: 8px; }
/* Microsoft's badge artwork has a transparent margin; 58px makes the visible badge match the 48px buttons. */
.store-badge img { height: 58px; width: auto; }
.fine-print { margin: 14px 0 0; color: var(--text-muted); font-size: 14px; }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { margin: 0 0 14px; color: var(--aqua); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0 auto 18px; font-size: clamp(34px, 6vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
.gradient-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 720px; margin: 0 auto 30px; color: var(--text-secondary); font-size: clamp(17px, 2.2vw, 20px); }
.hero .actions { justify-content: center; }
.hero-shot { position: relative; margin: 56px auto 0; max-width: 1100px; }
.hero-shot::before { content: ""; position: absolute; inset: 8% 6% -4%; background: radial-gradient(closest-side, rgba(54, 223, 208, .22), transparent); filter: blur(40px); z-index: -1; }

/* Screenshot frame */
.frame { overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.frame img { width: 100%; }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -.015em; }
.section-head p { margin: 0; color: var(--text-secondary); font-size: 18px; }

/* Showcase rows: text beside a screenshot, alternating sides */
.showcase { display: grid; gap: 96px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; }
.feature-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h3 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.feature-copy p { margin: 0 0 16px; color: var(--text-secondary); font-size: 17px; }
.feature-copy .tag { display: inline-block; margin-bottom: 14px; color: var(--aqua); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 26px; color: var(--text-secondary); }
.points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 2px; border-radius: 2px; background: var(--brand-gradient); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-secondary); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 18px; height: 6px; border-radius: 3px; }
@media (max-width: 900px) {
  .showcase { gap: 64px; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 24px; }
  .feature-row.flip .feature-copy { order: 0; }
}

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(19, 27, 37, .7), rgba(14, 20, 28, .7)); }
.card h3 { margin: 12px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.card .icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(54, 223, 208, .1); color: var(--aqua); }
.card .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* Call to action band */
.cta { margin: 0 auto; padding: 56px 24px; text-align: center; border: 1px solid var(--border-strong); border-radius: 20px; background: radial-gradient(40rem 20rem at 50% 0%, rgba(54, 223, 208, .12), transparent 70%), var(--surface); }
.cta h2 { margin: 0 0 12px; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; }
.cta p { margin: 0 auto 26px; max-width: 600px; color: var(--text-secondary); font-size: 17px; }
.cta .actions { justify-content: center; }

/* Long-form pages (privacy, support) */
.page { padding: 64px 0 88px; }
.page .container { max-width: 780px; }
.page-head { padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.page-head h1 { margin: 6px 0 8px; font-size: clamp(32px, 6vw, 48px); line-height: 1.1; letter-spacing: -.015em; }
.page-head .updated { color: var(--text-muted); font-size: 14px; }
.page section { padding: 22px 0; border-bottom: 1px solid rgba(31, 42, 55, .72); }
.page h2 { margin: 0 0 10px; font-size: 20px; }
.page p, .page li { color: var(--text-secondary); }
.page ul { padding-left: 22px; }
.note { margin-top: 28px; padding: 16px 18px; border: 1px solid rgba(54, 223, 208, .25); border-radius: 12px; background: rgba(54, 223, 208, .06); color: var(--text-secondary); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.contact-grid .card a { font-weight: 600; word-break: break-word; }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { margin-top: 40px; padding: 40px 0 48px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.disclaimer { max-width: 860px; margin: 0; line-height: 1.6; }
