:root {
  color-scheme: light;
  --bg: #fafbfd;
  --surface: #fff;
  --surface-soft: #f1f5fa;
  --text: #17243a;
  --muted: #58657b;
  --border: #dce3ed;
  --accent: #325bcb;
  --cyan: #087a88;
  --purple: #7543cf;
  --glow: rgba(103, 199, 242, .14);
  --shadow: 0 24px 70px rgba(33, 49, 89, .1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b101b;
    --surface: #121a29;
    --surface-soft: #172132;
    --text: #edf2fc;
    --muted: #a6b4c9;
    --border: #29364a;
    --accent: #98b8ff;
    --cyan: #76e5e2;
    --purple: #c5a3ff;
    --glow: rgba(63, 136, 198, .12);
    --shadow: 0 24px 70px rgba(0, 0, 0, .25);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b101b;
  --surface: #121a29;
  --surface-soft: #172132;
  --text: #edf2fc;
  --muted: #a6b4c9;
  --border: #29364a;
  --accent: #98b8ff;
  --cyan: #76e5e2;
  --purple: #c5a3ff;
  --glow: rgba(63, 136, 198, .12);
  --shadow: 0 24px 70px rgba(0, 0, 0, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; }
button, summary { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
img, svg { vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px 20px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-size: 20px; font-weight: 750; letter-spacing: -.7px; text-decoration: none; white-space: nowrap; }
.brand img { border-radius: 9px; }
.brand-dot { color: var(--cyan); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: var(--muted); font-size: 14px; font-weight: 550; text-decoration: none; padding-block: 10px; }
nav a:hover { color: var(--text); }
.theme-toggle { min-height: 44px; min-width: 60px; padding: 8px 13px; color: var(--muted); background: transparent; border: 1px solid var(--border); border-radius: 24px; font-size: 12px; }
.theme-toggle:hover { color: var(--text); background: var(--surface); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 54px; padding-top: 72px; padding-bottom: 84px; }
.hero-copy { min-width: 0; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: var(--cyan); line-height: 1.8; }
.hero .eyebrow { font-size: 12px; letter-spacing: .15px; display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }
h1 { font-size: clamp(44px, 5.1vw, 68px); letter-spacing: -3.3px; line-height: 1.08; font-weight: 750; margin-top: 23px; }
.gradient-text { color: var(--accent); background: linear-gradient(105deg, var(--cyan) 0%, var(--accent) 53%, var(--purple) 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { max-width: 470px; color: var(--muted); font-size: 18px; line-height: 1.75; margin-top: 24px; }
.free-label { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; font-weight: 700; margin-top: 24px; }
.free-label span { color: var(--muted); font-weight: 400; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 19px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 50px; padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 650; text-decoration: none; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translateY(-2px); }
.primary { color: #fff; background: linear-gradient(115deg, #225ab6, #6041cd); box-shadow: 0 6px 20px rgba(74, 80, 185, .21); border: 1px solid transparent; }
.primary:hover { box-shadow: 0 8px 26px rgba(74, 80, 185, .33); }
.secondary { color: var(--text); background: var(--surface); border: 1px solid var(--border); }
.requirements { margin-top: 14px; color: var(--muted); font-size: 11px; }
.setup-note { color: var(--muted); font-size: 11px; line-height: 1.85; margin-top: 24px; }
.hero-preview { min-width: 0; position: relative; }
.hero-preview::before { content: ""; position: absolute; inset: -25px; z-index: -1; background: radial-gradient(ellipse, var(--glow), transparent 70%); }
figcaption { font-size: 10px; text-align: center; margin-top: 13px; color: var(--muted); }
.principles { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 25px; border-block: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.principles p { display: flex; align-items: center; gap: 9px; }
.principles p > span { color: var(--cyan); font-size: 20px; line-height: 1; }
.section-space { padding-top: 94px; padding-bottom: 94px; }
.section-heading h2 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -1.5px; font-weight: 700; line-height: 1.2; margin-top: 13px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 19px; max-width: 560px; font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.feature-card { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; overflow: hidden; }
.feature-symbol { display: inline-flex; justify-content: center; align-items: center; color: var(--cyan); background: var(--surface-soft); width: 37px; height: 37px; border: 1px solid var(--border); border-radius: 10px; font-size: 24px; }
.feature-card h3 { margin-top: 17px; margin-bottom: 9px; font-size: 19px; line-height: 1.3; letter-spacing: -.5px; }
.feature-card p { color: var(--muted); font-size: 13px; line-height: 1.85; }
.spotlight, .family-card { grid-column: span 3; }
.small-card { grid-column: span 2; padding: 26px; }
.small-card h3 { font-size: 17px; }
.setup-section { border-block: 1px solid var(--border); background: var(--surface); }
.setup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.text-link { display: inline-block; font-size: 13px; font-weight: 600; margin-top: 25px; }
.setup-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.setup-steps li { counter-increment: step; display: flex; align-items: flex-start; gap: 18px; padding-bottom: 25px; }
.setup-steps li:last-child { padding-bottom: 0; }
.setup-steps li::before { content: "0" counter(step); flex: 0 0 32px; color: var(--cyan); background: var(--surface-soft); border: 1px solid var(--border); border-radius: 50%; text-align: center; font: 11px/32px ui-monospace, monospace; }
.setup-steps h3 { font-size: 16px; line-height: 1.5; margin: 4px 0 6px; letter-spacing: -.3px; }
.setup-steps p { font-size: 13px; color: var(--muted); }
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--border); }
details { padding: 0 0 0 2px; border-bottom: 1px solid var(--border); }
summary { padding: 21px 30px 21px 0; font-size: 15px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 3px; top: 18px; color: var(--cyan); font-size: 20px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); font-size: 13px; margin-bottom: 19px; }
.closing { padding-bottom: 74px; }
.closing-inner { background: radial-gradient(ellipse at 10% 20%, var(--glow), transparent 65%), radial-gradient(ellipse at 90% 80%, var(--glow), transparent 65%), var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 45px 20px; text-align: center; }
.closing img { margin-bottom: 22px; border-radius: 17px; }
.closing h2 { font-size: clamp(27px, 3vw, 38px); letter-spacing: -1.3px; line-height: 1.2; margin-top: 10px; }
.closing p:not(.eyebrow) { color: var(--muted); margin-top: 13px; font-size: 14px; }
.closing .button { margin-top: 25px; }
.closing p.closing-requirements { font-size: 10px; margin-top: 15px; }
footer { border-top: 1px solid var(--border); padding-block: 27px 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 11px; }
footer strong { color: var(--text); font-size: 12px; margin-right: 12px; }
footer a { color: var(--muted); }
footer nav { gap: 22px; }
footer nav a { font-size: 11px; }
/* Illustrative Mergeport window */
.app-preview { isolation: isolate; position: relative; overflow: hidden; display: grid; grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: 30px 1fr; background: #101828; color: #eef3ff; border: 1px solid #3b4c6a; border-radius: 14px; box-shadow: 0 28px 70px #0d194033, 0 3px 10px #0d19401a; min-height: 440px; font-size: 10px; text-align: left; }
.app-titlebar { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; padding-inline: 12px; background: #0b1220; border-bottom: 1px solid #ffffff12; }
.app-titlebar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.app-titlebar i:nth-child(2) { background: #febc2e; }
.app-titlebar i:nth-child(3) { background: #28c840; }
.app-titlebar span { margin-left: 10px; color: #a9b6cc; font-weight: 600; }
.app-titlebar kbd { margin-left: auto; color: #8796ae; border: 1px solid #ffffff1c; border-radius: 5px; padding: 1px 6px; font: inherit; font-size: 9px; }
.app-sidebar { background: #0d1524; border-right: 1px solid #ffffff10; padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; }
.app-sidebar b { color: #73839c; font-size: 8px; letter-spacing: 1.2px; margin: 8px 6px 4px; }
.app-sidebar b:first-child { margin-top: 0; }
.app-sidebar span { display: flex; justify-content: space-between; padding: 5px 7px; border-radius: 6px; color: #c7d2e4; }
.app-sidebar span em { font-style: normal; color: #7c8ba3; font-variant-numeric: tabular-nums; }
.app-sidebar span.on { background: #2d4c8a66; color: #fff; }
.app-sidebar span.on em { color: #a9c3ff; }
.app-list { padding: 13px 14px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.app-list h4 { margin: 0 0 1px; font-size: 13px; letter-spacing: -.2px; }
.group-label { display: flex; align-items: center; gap: 7px; color: #9fb0c9; font-size: 9px; margin-top: 3px; }
.group-label .ticket { margin: 0; }
.pr-card { background: #ffffff08; border: 1px solid #ffffff14; border-radius: 9px; padding: 9px 11px; display: grid; gap: 5px; min-width: 0; }
.pr-meta { display: flex; align-items: center; gap: 6px; color: #9fb0c9; font-size: 9px; min-width: 0; }
.pr-meta strong { color: #dbe5f5; font-weight: 650; }
.pr-title { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-status { display: flex; flex-wrap: wrap; gap: 5px; }
.pill { display: inline-flex; align-items: center; gap: 4px; border-radius: 99px; padding: 1px 7px; font-size: 8.5px; border: 1px solid #ffffff1c; color: #c5d0e2; white-space: nowrap; }
.pill.green { color: #7ee2a1; border-color: #3fb95055; background: #3fb95014; }
.pill.yellow { color: #f0c96a; border-color: #d2992255; background: #d2992214; }
.pill.purple { color: #c9a8ff; border-color: #a371f755; background: #a371f714; }
.pill.blue { color: #8fb8ff; border-color: #388bfd55; background: #388bfd14; }
.ticket { display: inline-flex; border-radius: 4px; padding: 0 5px; background: #ffffff10; border: 1px solid #ffffff22; color: #b9c4d6; font-size: 8.5px; font-weight: 600; }
.target { color: #8fb8ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8.5px; }
.avatar { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #7de9e5, #8a6cff); flex: none; }
.avatar.b { background: linear-gradient(135deg, #f7a35c, #e9578b); }
.avatar.c { background: linear-gradient(135deg, #63d297, #3b82f6); }
.inbox-art { max-width: 340px; margin: 24px auto 0; display: grid; gap: 7px; }
.inbox-row { display: flex; justify-content: space-between; align-items: center; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 9px; padding: 9px 12px; font-size: 11px; }
.inbox-row em { font-style: normal; font-weight: 700; color: var(--cyan); font-variant-numeric: tabular-nums; }
.inbox-row kbd { font: inherit; font-size: 9px; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 5px; margin-left: 8px; }
.family-art { max-width: 340px; margin: 24px auto 0; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px 15px; font-size: 10.5px; }
.family-branch { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
.family-art ol { list-style: none; margin: 10px 0 0 6px; padding: 0 0 0 14px; border-left: 2px solid var(--border); display: grid; gap: 9px; }
.family-art li { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.family-art li span { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.state { border-radius: 99px; padding: 1px 8px; font-size: 9px; font-weight: 650; }
.state.merged { color: var(--purple); background: color-mix(in srgb, var(--purple) 12%, transparent); }
.state.waiting { color: #b7791f; background: #d2992220; }
.state.draft { color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
.example-label { display: block; font-size: 8px; text-align: right; color: var(--muted); margin-top: 8px; }
@media (max-width: 1050px) {
  .app-preview { grid-template-columns: 124px minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .app-preview { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-sidebar { display: none; }
  .app-list { padding: 12px 11px; }
}
@media (min-width: 1500px) {
  .hero { padding-top: 105px; padding-bottom: 105px; }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 30px; }
  h1 { font-size: 49px; letter-spacing: -2.5px; }
  .hero-description { font-size: 16px; }
  .button { padding-inline: 16px; font-size: 13px; }
  .setup-layout { gap: 50px; }
  .principles { font-size: 11px; }
  .faq-section { gap: 40px; }
}
@media (max-width: 780px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 82px; }
  nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 36px; padding-bottom: 45px; }
  .hero-copy { max-width: 560px; margin-inline: auto; text-align: center; }
  .hero .eyebrow, .actions, .free-label { justify-content: center; }
  h1 { font-size: clamp(43px, 8.5vw, 62px); }
  .hero-description { margin-inline: auto; }
  .hero-preview { width: 100%; max-width: 510px; margin-inline: auto; }
  .hero-preview::before { inset: -18px; }
  .principles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .principles p { justify-content: center; }
  .section-space { padding-top: 62px; padding-bottom: 62px; }
  .section-heading h2 { font-size: 32px; }
  .feature-grid { gap: 15px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .feature-card { grid-column: span 1; padding: 22px; }
  .small-card:last-child { grid-column: 1 / -1; }
  .setup-layout, .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .setup-steps { max-width: 580px; }
  .closing { padding-bottom: 45px; }
}
@media (max-width: 480px) {
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .nav-features { display: none; }
  nav { gap: 14px; }
  nav a { font-size: 12px; }
  .theme-toggle { min-width: 48px; padding-inline: 9px; font-size: 11px; }
  .hero .eyebrow { font-size: 10px; }
  h1 { margin-top: 20px; letter-spacing: -2.2px; }
  .hero-description { font-size: 15px; margin-top: 20px; }
  .free-label { font-size: 11px; gap: 8px; }
  .actions { gap: 9px; }
  .button { padding-inline: 15px; font-size: 12px; }
  .requirements { font-size: 10px; }
  .setup-note { font-size: 10px; }
  .desktop-break { display: none; }
  .principles { font-size: 9px; gap: 18px 6px; }
  .principles p { gap: 6px; }
  .principles p > span { font-size: 17px; }
  .section-heading h2 { font-size: 29px; letter-spacing: -1px; }
  .section-heading > p:not(.eyebrow) { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 25px; }
  .feature-card h3 { font-size: 19px; }
  .small-card { padding-bottom: 28px; }
  .closing-inner { padding-inline: 17px; }
  .closing .eyebrow { font-size: 10px; }
  .closing p:not(.eyebrow) { font-size: 12px; }
  .closing p.closing-requirements { font-size: 9px; }
  footer { flex-direction: column; gap: 7px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
@media (forced-colors: active) {
  .gradient-text { background: none; -webkit-text-fill-color: currentColor; }
  .primary { border-color: ButtonText; }
}
