/* SwitchDesk website: the same look as the app (light background, white cards, red accent, dark command boxes). */
:root {
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1c1f24;
  --muted: #667085;
  --line: #e3e5e8;
  --accent: #c7000b;
  --accent-hover: #a8000a;
  --accent-soft: #fde8e8;
  --code-bg: #0f172a;
  --code-text: #e2e8f0;
  --green: #0f7b4b;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
code { font-family: Consolas, "Cascadia Mono", ui-monospace, monospace; font-size: .9em; background: var(--code-bg);
       color: var(--code-text); padding: 1px 6px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
       border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text);
         text-decoration: none; }
.brand img { border-radius: 6px; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 6px; font-size: 15px; }
.links a:hover { color: var(--text); background: var(--bg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 6px; font-weight: 600; text-decoration: none;
       border: 1px solid var(--line); background: var(--card); color: var(--text); transition: background .15s; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 13px 22px; font-size: 17px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
           margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; }
.lead { font-size: 18px; color: #3a404a; margin: 0 0 26px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 18px; }
.meta { color: var(--muted); font-size: 14px; }
.small { color: var(--muted); font-size: 14px; margin: 0; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
        padding: 6px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px rgba(16,24,40,.08); }
.shot img { border-radius: 6px; }
.shot.narrow { max-width: 860px; margin: 36px auto 0; }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in > div { padding: 20px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.strip-in > div:first-child { border-left: none; }
.strip-in b { font-size: 15px; }
.strip-in span { color: var(--muted); font-size: 14px; }

/* sections */
.section { padding: 80px 0; }
.section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 17px; margin: 0 0 36px; max-width: 680px; }
.section > .wrap > h2 + .grid { margin-top: 32px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.card h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); flex: none; }
.card p { margin: 0; color: #4a5160; font-size: 15px; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.two.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.two p { color: #3a404a; font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; color: #3a404a; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
                    background: var(--accent-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px;
                   border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* install */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
            padding: 20px; }
.steps li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff;
                   display: grid; place-items: center; font-weight: 700; }
.steps b { font-size: 16px; }
.steps p { margin: 4px 0 0; color: #4a5160; font-size: 15px; }

/* faq */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between;
          gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: #4a5160; }

/* final */
.final-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.final-in img { border-radius: 14px; }
.final-in h2 { margin: 6px 0 8px; }
.quiet { color: var(--muted); font-size: 14px; }

.foot { border-top: 1px solid var(--line); background: var(--card); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; padding-bottom: 22px; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-in, .two, .two.rev { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .two.rev > figure { order: 2; }
  .grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in > div:nth-child(3) { border-left: none; }
  .strip-in > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .section { padding: 56px 0; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
