/* Saywrite: navy plate, electric-blue mic, white speech bubble. Colours from the app icon and its floating window. */

/* Self-hosted from Google Fonts (SIL Open Font License). Latin subset only. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../../assets/fonts/bricolage-grotesque-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../../assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.sw {
  --navy: #08173b;
  --navy-2: #0b1f4d;
  --deep: #040b1f;
  --blue: #1e8bff;
  --blue-hi: #4fb0ff;
  --blue-deep: #1767e0;
  --ink: #eef3ff;
  --muted: #98a6c6;
  --soft: #c6d0e6;
  --line: rgba(150, 180, 255, .14);
  --card: rgba(13, 33, 80, .55);
  --hud: rgba(23, 23, 23, .94);
  --listen: #ff594d;
  --work: #e8ad52;
  --done: #45c496;
  --info: #918aff;
  --unsure: #ff9f43;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, -apple-system, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --mac: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "IBM Plex Sans", sans-serif;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--body);
}
.sw::selection, .sw ::selection { background: var(--blue); color: #fff; }
.sw .nav { background: rgba(4, 11, 31, .6); }
.sw main { overflow-x: clip; }
.sw .nav.scrolled { background: rgba(4, 11, 31, .85); }
.sw section { max-width: 1200px; padding-block: clamp(64px, 9vw, 120px); }
.sw p { color: var(--soft); font-size: 18px; line-height: 1.6; }
.sw kbd {
  font-family: var(--mac); font-size: .88em; font-weight: 600; color: var(--ink); white-space: nowrap;
  padding: 1px 7px 2px; border-radius: 6px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16); border-bottom-width: 2px;
}
.sw code { font-family: var(--mono); font-size: .88em; color: var(--ink); background: rgba(255, 255, 255, .06); padding: 1px 6px; border-radius: 6px; }

/* Page backdrop: the navy plate, lit from the mic side */
.sw-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px circle at 12% -10%, rgba(30, 139, 255, .20), transparent 60%),
    radial-gradient(800px circle at 100% 40%, rgba(145, 138, 255, .10), transparent 60%),
    linear-gradient(180deg, var(--navy) 0, var(--deep) 900px);
}

/* ---------- Type ---------- */
.sw-h1 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: .95;
  font-size: clamp(52px, 8.4vw, 112px); margin: 0;
}
.sw-h1 .l { display: block; }
.sw-h1 .typed { color: var(--blue-hi); position: relative; }
.sw-h1 .typed::after { /* the text cursor from the icon */
  content: ""; display: inline-block; width: .075em; height: .8em; margin-left: .08em; vertical-align: -.04em;
  background: var(--blue); border-radius: 3px; animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.sw-h2 {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(38px, 5.6vw, 72px); margin: 0 0 22px;
}
.sw-h2 em, .sw-h3 em { font-style: normal; color: var(--blue-hi); }
.sw-h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; margin: 0 0 10px; }
.sw-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-hi);
}
.sw-eyebrow::before { /* three little level bars */
  content: ""; width: 14px; height: 12px;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 100% / 3px 6px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 5px 100% / 3px 12px no-repeat,
    linear-gradient(var(--blue), var(--blue)) 10px 100% / 3px 8px no-repeat;
}
.sw-lede { font-size: clamp(18px, 1.7vw, 20px) !important; max-width: 560px; }

/* ---------- Buttons ---------- */
.sw-btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
  padding: 11px 24px 11px 14px; border-radius: 14px;
  background: linear-gradient(180deg, #3b93ff, var(--blue-deep));
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: none;
  transition: background .25s;
}
.sw-btn:hover { background: linear-gradient(180deg, #4b9dff, #1f72ea); }
.sw-btn:focus-visible, .sw-ghost:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 3px; }
.sw-btn-mark { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--navy); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset; }
.sw-btn-mark svg { width: 22px; height: 22px; }
.sw-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 19px; line-height: 1.1; }
.sw-btn small { font-size: 12.5px; font-weight: 500; opacity: .85; letter-spacing: .01em; }
.sw-ghost {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; color: var(--ink);
  padding: 9px 20px 9px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  transition: background .2s;
}
.sw-ghost:hover { background: rgba(255, 255, 255, .12); }
.sw-ghost i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); font-style: normal; font-size: 12px; padding-left: 3px; color: #fff; }

/* ---------- Hero ---------- */
.sw-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  min-height: calc(100svh - 70px); padding-top: clamp(36px, 6vw, 72px) !important;
}
.sw-app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.sw-app-id img { width: 68px; height: 68px; border-radius: 22.5%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 16px 40px -12px rgba(0, 0, 0, .8); }
.sw-kicker { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px !important; color: var(--ink) !important; letter-spacing: -0.01em; line-height: 1.2 !important; }
.sw-sub { margin: 2px 0 0; font-size: 15px !important; color: var(--muted) !important; line-height: 1.4 !important; }
.sw-hero .sw-lede { margin: 26px 0 0; }
.sw-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.sw-meta { font-family: var(--mono); font-size: 13px !important; color: var(--muted) !important; margin-top: 24px; letter-spacing: .02em; }

/* ---------- The demo: a Mac window, the floating window, the key ---------- */
.sw-stage { position: relative; width: 100%; max-width: 600px; justify-self: center; padding-top: 20px; }
.sw-stage::before { /* soft blue light behind the window */
  content: ""; position: absolute; inset: 8% -6% 10%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 139, 255, .35), transparent); filter: blur(30px); z-index: -1;
}
.sw-win {
  position: relative; border-radius: 14px; overflow: hidden; font-family: var(--mac);
  background: #232a36; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .5);
}
.sw-win-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #2d3542; border-bottom: 1px solid rgba(0, 0, 0, .35); }
.sw-win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.sw-win-bar i:nth-child(2) { background: #febc2e; }
.sw-win-bar i:nth-child(3) { background: #28c840; }
.sw-win-title { flex: 1; text-align: center; margin-right: 52px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.sw-win-head { padding: 4px 18px; font-size: 14px; color: rgba(255, 255, 255, .5); }
.sw-win-head div { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.sw-win-head b { color: rgba(255, 255, 255, .88); font-weight: 500; }
.sw-doc {
  min-height: 250px; padding: 16px 18px 26px; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.sw-doc .muted { color: rgba(255, 255, 255, .45); }
.sw-doc .pasted { border-radius: 4px; transition: background-color 1.4s ease; background-color: rgba(30, 139, 255, .45); }
.sw-doc .pasted.settled { background-color: transparent; }
.sw-doc.notes { font-size: 16px; }
.sw-doc .h { display: block; font-weight: 700; font-size: 20px; color: #fff; margin-bottom: 4px; }
.sw-caret { display: inline-block; width: 2px; height: 1.15em; margin: 0 1px; vertical-align: -.2em; background: var(--blue-hi); animation: caret 1.05s steps(1) infinite; }

.sw-hud {
  position: absolute; z-index: 3; width: min(420px, 88%); padding: 11px 14px; border-radius: 14px;
  background: var(--hud); border: 1px solid rgba(255, 255, 255, .12); font-family: var(--mac);
  box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .85);
  opacity: 0; transform: translateY(6px) scale(.98); transform-origin: 30px 100%;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, .8, .2, 1), top .25s ease;
  pointer-events: none;
}
.sw-hud.on { opacity: 1; transform: none; }
.sw-hud-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sw-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--listen); transition: background .2s; }
.sw-hud[data-phase="listening"] .sw-dot { box-shadow: 0 0 0 0 rgba(255, 89, 77, .6); animation: pulse 1.4s ease-out infinite; }
.sw-hud[data-phase="working"] .sw-dot { background: var(--work); }
.sw-hud[data-phase="done"] .sw-dot { background: var(--done); }
.sw-hud[data-phase="problem"] .sw-dot { background: #ff6b5e; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(255, 89, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 89, 77, 0); } }
.sw-cap { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, var(--mono); font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-bars { display: flex; align-items: flex-end; gap: 2px; height: 13px; }
.sw-bars i { width: 3px; border-radius: 1px; background: rgba(255, 255, 255, .2); transition: background .08s; }
.sw-bars i:nth-child(1) { height: 5px; } .sw-bars i:nth-child(2) { height: 7px; } .sw-bars i:nth-child(3) { height: 9px; }
.sw-bars i:nth-child(4) { height: 11px; } .sw-bars i:nth-child(5) { height: 13px; }
.sw-bars i.lit { background: rgba(255, 255, 255, .85); }
.sw-hud:not([data-phase="listening"]) .sw-bars { display: none; }
.sw-grip { width: 10px; height: 8px; flex-shrink: 0; background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) 0 0 / 100% 1.5px no-repeat, linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) 0 50% / 100% 1.5px no-repeat, linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) 0 100% / 100% 1.5px no-repeat; }
.sw-words { margin-top: 7px; font-size: 15px; line-height: 1.4; color: #fff; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.sw-words:empty { display: none; }
.sw-words span { animation: word .25s ease both; }
.sw-words .gone { color: rgba(255, 255, 255, .38); text-decoration: line-through; text-decoration-color: rgba(255, 89, 77, .8); }
@keyframes word { from { opacity: 0; filter: blur(3px); } }
.sw-hint { margin-top: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .4); }
.sw-hud:not([data-phase="done"]) .sw-hint { display: none; }

.sw-keyrow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.sw-key {
  position: relative; display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between;
  width: 132px; height: 64px; padding: 9px 12px; border-radius: 12px; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none;
  font: 500 13px/1 var(--mac); color: var(--ink);
  background: linear-gradient(180deg, #2c3446, #1b2130); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 6px 0 #0b0f1a, 0 14px 30px -6px rgba(0, 0, 0, .7);
  transition: transform .08s, box-shadow .08s, border-color .2s;
}
.sw-key b { font-size: 20px; font-weight: 500; line-height: 1; }
.sw-key.down { transform: translateY(5px); box-shadow: 0 1px 0 #0b0f1a, 0 6px 16px -6px rgba(0, 0, 0, .7), 0 0 0 3px rgba(255, 89, 77, .35); border-color: rgba(255, 89, 77, .7); }
.sw-key:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 4px; }
.sw-keynote { margin: 0; font-size: 14px !important; color: var(--muted) !important; max-width: 250px; line-height: 1.45 !important; }
.sw-keynote b { color: var(--ink); font-weight: 600; }

/* ---------- Wave to text band ---------- */
.sw-band { position: relative; z-index: 2; border-block: 1px solid var(--line); background: rgba(4, 11, 31, .7); overflow: hidden; }
.sw-band-inner { max-width: 1200px; margin: 0 auto; padding: 22px var(--gutter); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.sw-wave { display: flex; align-items: center; gap: 4px; height: 44px; }
.sw-wave i { width: 4px; border-radius: 3px; background: var(--blue); height: 30%; animation: wave 1.3s ease-in-out infinite; }
.sw-wave i.t { width: 30px; height: 6px !important; background: rgba(198, 208, 230, .45); animation: none; border-radius: 4px; }
.sw-wave i.c { width: 3px; height: 26px !important; background: var(--blue-hi); animation: caret 1.05s steps(1) infinite; }
@keyframes wave { 50% { height: 100%; } }
.sw-band-says { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 0; padding: 0; list-style: none; }
.sw-band-says li { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; }
.sw-band-says li:nth-child(2) { color: var(--blue-hi); }

/* ---------- Steps ---------- */
.sw-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sw-card {
  position: relative; border-radius: 22px; padding: clamp(24px, 3vw, 32px); overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 44, 102, .5), rgba(10, 26, 64, .45)); border: 1px solid var(--line);
}
.sw-card p { font-size: 16.5px; margin: 0; }
.sw-num { display: block; font-family: var(--mono); font-size: 13px; color: var(--blue-hi); margin-bottom: 38px; letter-spacing: .08em; }
.sw-step-art { height: 64px; display: flex; align-items: center; margin-bottom: 22px; }
.sw-mini-key { font: 500 14px/1 var(--mac); padding: 12px 14px; border-radius: 10px; background: linear-gradient(180deg, #2c3446, #1b2130); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 4px 0 #0b0f1a; }
.sw-mini-hud { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--hud); border: 1px solid rgba(255, 255, 255, .12); font: 14px var(--mac); color: #fff; white-space: nowrap; overflow: hidden; }
.sw-mini-hud .sw-dot { animation: pulse 1.4s ease-out infinite; }
.sw-mini-paste { font: 16px var(--mac); color: #fff; }
.sw-mini-paste span { background: rgba(30, 139, 255, .45); border-radius: 4px; padding: 2px 3px; }
.sw-keys-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sw-keys-list kbd { font-size: 13px; }
.sw-fast { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: baseline; padding: 22px clamp(24px, 3vw, 32px); border-radius: 22px; border: 1px solid var(--line); background: rgba(4, 11, 31, .55); }
.sw-fast b { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; color: var(--blue-hi); line-height: 1; }
.sw-fast p { margin: 0; flex: 1; min-width: 240px; }

/* ---------- Quick fixes ---------- */
.sw-fixes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sw-said { font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--muted); margin: 18px 0 10px; }
.sw-said s { color: #ff8a80; text-decoration-color: rgba(255, 89, 77, .8); }
.sw-said::before { content: "Heard  "; color: rgba(152, 166, 198, .6); }
.sw-got { font: 17px/1.5 var(--mac); color: #fff; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .08); }
.sw-got mark { background: rgba(30, 139, 255, .35); color: #fff; border-radius: 4px; padding: 0 3px; }
.sw-card .sw-small { font-size: 14.5px; color: var(--muted); margin-top: 14px; }

.sw-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; margin-top: 16px; }
.sw-model { background: radial-gradient(520px circle at 0% 0%, rgba(145, 138, 255, .22), transparent 70%), linear-gradient(180deg, rgba(20, 44, 102, .5), rgba(10, 26, 64, .45)); }
.sw-model .sw-num { color: var(--info); }
.sw-triggers { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sw-triggers li { font-size: 14.5px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(145, 138, 255, .45); color: var(--ink); background: rgba(145, 138, 255, .1); }
.sw-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 14px; }
.sw-styles span { text-align: center; font-weight: 600; font-size: 14.5px; padding: 10px 6px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.sw-styles span:first-child { border-color: rgba(30, 139, 255, .6); color: var(--blue-hi); }

/* ---------- Learns ---------- */
.sw-learn { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.sw-learn-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.sw-learn-list li { position: relative; padding-left: 30px; color: var(--soft); font-size: 16.5px; line-height: 1.55; }
.sw-learn-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 3px; border-radius: 2px; background: var(--blue); box-shadow: 0 -5px 0 rgba(30, 139, 255, .5), 0 5px 0 rgba(30, 139, 255, .5); }
.sw-learn-list b { color: var(--ink); font-weight: 600; }
.sw-underline { text-decoration: underline dotted var(--unsure); text-decoration-thickness: 2px; text-underline-offset: 4px; color: var(--ink); }
.sw-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); margin-bottom: 16px; max-width: 100%; }
.sw-tabs button {
  font: 500 15px var(--mac); color: var(--soft); background: none; border: 0; cursor: pointer; padding: 8px 16px; border-radius: 8px; white-space: nowrap;
}
.sw-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .16); color: #fff; }
.sw-tabs button:focus-visible { outline: 2px solid var(--blue-hi); }
.sw-shot { margin: 0; }
.sw-shot img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -30px rgba(0, 0, 0, .9); background: #212a35; }
.sw-shot figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; }
.sw-fix {
  width: min(340px, 100%); margin-top: 26px; padding: 14px; border-radius: 12px; font-family: var(--mac);
  background: rgba(58, 64, 78, .75); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.sw-fix b { display: block; font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.sw-fix-field { font-size: 14px; color: #fff; padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .35); box-shadow: 0 0 0 3px rgba(30, 139, 255, .55); }
.sw-fix-field .sw-caret { height: 1.05em; }
.sw-fix small { display: block; font-size: 11px; color: rgba(255, 255, 255, .55); margin-top: 8px; }

/* ---------- Privacy ---------- */
.sw-private { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.sw-sandbox { position: relative; }
.sw-box {
  position: relative; border-radius: 26px; padding: 28px; border: 2px dashed rgba(79, 176, 255, .55);
  background: radial-gradient(420px circle at 50% 0%, rgba(30, 139, 255, .18), transparent 70%), rgba(4, 11, 31, .6);
}
.sw-box-label { position: absolute; top: -13px; left: 22px; padding: 2px 10px; border-radius: 8px; background: var(--deep); font-family: var(--mono); font-size: 12.5px; color: var(--blue-hi); border: 1px solid rgba(79, 176, 255, .45); }
.sw-engine { display: grid; gap: 10px; }
.sw-engine div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: rgba(20, 44, 102, .55); border: 1px solid var(--line); flex-wrap: wrap; }
.sw-engine b { font-weight: 600; color: var(--ink); }
.sw-engine span { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.sw-cut { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.sw-cut .line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 89, 77, .7) 0 8px, transparent 8px 14px); }
.sw-cut .x { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 89, 77, .15); border: 1px solid rgba(255, 89, 77, .6); color: #ff8a80; font-weight: 700; flex-shrink: 0; }
.sw-facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.sw-facts li { display: flex; gap: 14px; align-items: flex-start; color: var(--soft); font-size: 16.5px; line-height: 1.5; }
.sw-facts li::before { content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--done) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23062016' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 100% no-repeat; }
.sw-facts b { color: var(--ink); font-weight: 600; }
.sw-link { color: var(--blue-hi); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Setup + menu bar ---------- */
.sw-setup { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.sw-steps-list { counter-reset: s; list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.sw-steps-list li { counter-increment: s; display: flex; gap: 10px; align-items: baseline; font-size: 16px; color: var(--soft); }
.sw-steps-list li::before { content: counter(s); font-family: var(--mono); font-size: 12px; color: var(--blue-hi); width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(79, 176, 255, .5); display: inline-grid; place-items: center; flex-shrink: 0; transform: translateY(-1px); }
.sw-duo { position: relative; padding-bottom: 12%; }
.sw-duo img { width: 88%; height: auto; border-radius: 12px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 90px -30px rgba(0, 0, 0, .95); }
.sw-duo img + img { position: absolute; right: 0; bottom: 0; width: 70%; }

.sw-menu-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.sw-menubar { display: flex; justify-content: flex-end; align-items: center; gap: 16px; padding: 6px 14px; border-radius: 10px 10px 0 0; background: rgba(40, 48, 64, .8); font: 13px var(--mac); color: rgba(255, 255, 255, .85); }
.sw-menubar .mb-icon { width: 22px; height: 16px; display: grid; place-items: center; padding: 0 3px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.sw-menu {
  width: min(360px, 100%); margin-left: auto; padding: 5px; border-radius: 0 0 10px 10px; font: 13.5px/1 var(--mac); color: #fff;
  background: rgba(38, 42, 52, .92); border: 1px solid rgba(255, 255, 255, .12); border-top: 0; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9);
}
.sw-menu div { position: relative; padding: 6px 10px 6px 24px; border-radius: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-menu .dim { color: rgba(255, 255, 255, .45); }
.sw-menu .on::before { content: "✓"; position: absolute; left: 8px; font-size: 12px; }
.sw-menu .sub::after { content: "›"; position: absolute; right: 10px; color: rgba(255, 255, 255, .5); }
.sw-menu .hi { background: var(--blue-deep); }
.sw-menu hr { border: 0; height: 1px; background: rgba(255, 255, 255, .1); margin: 5px 10px; }
.sw-menu-note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: right; }

/* ---------- Film ---------- */
.sw-film-head { text-align: center; }
.sw-film-head .sw-eyebrow { justify-content: center; }
.sw-film-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; box-shadow: 0 60px 140px -50px rgba(30, 139, 255, .6); background: #000; }
.sw-film-frame video { width: 100%; height: 100%; display: block; background: #000; }

/* ---------- Specs ---------- */
.sw-specs {
  border-radius: 30px; text-align: center; margin: 0 var(--gutter) !important; max-width: 1200px; overflow: hidden; position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(22px, 5vw, 60px) !important;
  background: radial-gradient(700px circle at 50% 0%, rgba(30, 139, 255, .25), transparent 70%), var(--navy); border: 1px solid var(--line);
}
@media (min-width: 1300px) { .sw-specs { margin: 0 auto !important; } }
.sw-specs > img { width: 96px; height: 96px; border-radius: 22.5%; margin: 0 auto 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 24px 60px -16px rgba(0, 0, 0, .9); }
.sw-specs .sw-cta { justify-content: center; }
.sw-specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 46px; text-align: left; }
.sw-specs-grid div { padding: 18px; border-radius: 16px; background: rgba(4, 11, 31, .55); border: 1px solid var(--line); }
.sw-specs-grid b { display: block; font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 4px; letter-spacing: -0.01em; }
.sw-specs-grid span { color: var(--muted); font-size: 14.5px; line-height: 1.45; display: block; }

/* ---------- Support ---------- */
.sw-support { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.sw-support a, .sw-faq a { color: var(--blue-hi); font-weight: 600; }
.sw-faq details { background: rgba(13, 33, 80, .5); border: 1px solid var(--line); border-radius: 16px; padding: 17px 20px; margin-bottom: 10px; }
.sw-faq summary { font-weight: 600; font-size: 17.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.sw-faq summary::-webkit-details-marker { display: none; }
.sw-faq summary::after { content: "+"; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: .9; color: var(--blue-hi); transition: transform .3s; }
.sw-faq details[open] summary::after { transform: rotate(45deg); }
.sw-faq details p { margin: 12px 0 0; font-size: 16px; }

.sw .footer { border-top-color: var(--line); }
.sw .footer .brand img { border-radius: 6px; }

/* ---------- Privacy page ---------- */
.sw .doc-head .sw-app-id { margin-bottom: 26px; }
.sw .tldr { background: rgba(30, 139, 255, .08); border-color: rgba(79, 176, 255, .35); }
.sw .tldr li::marker { color: var(--blue-hi); }
.sw .doc-body a { color: var(--blue-hi); }
.sw .doc-body code { font-size: .85em; overflow-wrap: anywhere; }
.sw .doc-body h2 { font-family: var(--display); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sw-hero, .sw-learn, .sw-private, .sw-setup, .sw-menu-wrap, .sw-support, .sw-split { grid-template-columns: minmax(0, 1fr); }
  .sw-hero { min-height: 0; }
  .sw-steps, .sw-fixes { grid-template-columns: 1fr; }
  .sw-specs-grid { grid-template-columns: 1fr 1fr; }
  .sw-menu-wrap > :first-child { order: 2; }
  .sw-num { margin-bottom: 20px; }
}
@media (max-width: 560px) {
  .sw-band-inner { grid-template-columns: 1fr; }
  .sw-specs-grid, .sw-steps-list { grid-template-columns: 1fr; }
  .sw-styles { grid-template-columns: 1fr 1fr; }
  .sw-doc { min-height: 220px; font-size: 15px; }
  .sw-hud { width: 94%; }
  .sw-tabs button { padding: 8px 10px; font-size: 14px; }
  .sw-keyrow { gap: 12px; }
  .sw-btn span { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-wave i { animation: none; height: 60%; }
}
