:root {
  --ink: #050505;
  --paper: #f4f2ed;
  --paper-2: #ffffff;
  --muted: #6d6b66;
  --line: rgba(5, 5, 5, 0.14);
  --line-dark: rgba(255, 255, 255, 0.18);
  --dark: #000000;
  --dark-2: #101010;
  --dark-3: #1d1d1b;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.72);
  --soft-black: rgba(5, 5, 5, 0.66);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --accent: #f5941d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  color: var(--white);
  background: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 48px);
  color: var(--ink);
  background: rgba(244, 242, 237, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 242, 237, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 7px;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 650;
  color: var(--soft-black);
}

.main-nav a {
  transition: color 180ms var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-button span {
  width: 16px;
  height: 2px;
  background: currentColor;
}

.hero {
  min-height: 100svh;
  padding: 110px clamp(18px, 4vw, 48px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: clamp(36px, 6vw, 88px);
  row-gap: 10px;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.inverted {
  color: var(--soft-white);
}

.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(46px, 7vw, 104px);
  font-weight: 760;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.hero-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: var(--soft-black);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-product {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.hero-product::before {
  content: "MAC TOOLKIT";
  position: absolute;
  top: 0;
  right: -4vw;
  color: rgba(5, 5, 5, 0.055);
  font-size: clamp(92px, 12vw, 192px);
  font-weight: 850;
  letter-spacing: -0.095em;
  line-height: 0.8;
  white-space: nowrap;
}

.desktop-strip {
  grid-column: 1 / -1;
  align-self: start;
  margin-top: clamp(48px, 8vw, 110px);
  display: flex;
  align-items: center;
  gap: 17px;
  height: 34px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  font-size: 12px;
  font-weight: 650;
}

.strip-spacer {
  flex: 1;
}

.bolt {
  display: inline-flex;
  height: 22px;
  min-width: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
}

.bolt svg {
  width: 13px;
  height: 13px;
}

.hero-window {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  height: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.32);
}

.app-mock {
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: hidden;
}

.mock-col {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-col-left {
  justify-content: space-between;
}


.mock-card {
  padding: 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
}

.mock-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--white);
}

.mock-card-head svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.mock-card-head strong {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.mock-card-head em {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  font-style: normal;
}

.mock-btn-accent {
  min-height: 32px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
}

.mock-card > .mock-btn-accent {
  width: 100%;
}

.mock-add-button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  margin-top: auto;
  margin-left: auto;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1;
}

.mock-clip-row {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.mock-clip-row:last-child {
  margin-bottom: 0;
}

.mock-clip-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.mock-clip-row svg {
  flex: none;
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s var(--ease);
}

.mock-clip-row.copied svg {
  color: var(--accent);
  animation: clip-copy-pop 0.45s var(--ease);
}

@keyframes clip-copy-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.55) rotate(-8deg);
  }
  100% {
    transform: scale(1);
  }
}

.mock-pomo-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-pomo-state i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #e5484d;
}

.mock-pomo-state span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-pomo-state strong {
  margin-left: auto;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.mock-pomo-controls {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
}

.mock-pomo-controls button:not(.mock-btn-accent) {
  min-height: 32px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
}

.mock-shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mock-shot-grid button {
  min-height: 34px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
}

.mock-color-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mock-swatch {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-color-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.mock-color-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.mock-color-pills span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.metric-spark {
  display: block;
  width: 100%;
  height: 36px;
}

.metric-spark-mini {
  height: 28px;
  margin-top: 8px;
}

.metric-spark-fill {
  fill: rgba(255, 255, 255, 0.14);
  stroke: none;
}

.metric-spark-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.statement-section {
  color: var(--white);
  background: var(--dark);
  padding: clamp(76px, 10vw, 144px) clamp(18px, 4vw, 48px);
}

.statement-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.statement-grid h2 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(52px, 8vw, 126px);
  font-weight: 790;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.statement-grid p:last-child {
  grid-column: 2;
  max-width: 460px;
  margin: 0;
  color: var(--soft-white);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(440px, 1.3fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  padding: clamp(72px, 9vw, 132px) clamp(18px, 4vw, 48px);
  background: var(--paper-2);
}

.showcase-copy {
  max-width: 620px;
}

.showcase-copy h2,
.section-kicker h2,
.download-section h2 {
  margin: 0;
  font-size: clamp(42px, 6.4vw, 96px);
  font-weight: 790;
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.showcase-copy p:last-child {
  color: var(--soft-black);
}

.showcase-surface {
  --sw-card: rgba(255, 255, 255, 0.05);
  --sw-hover: rgba(255, 255, 255, 0.09);
  --sw-border: rgba(255, 255, 255, 0.09);
  --sw-border-subtle: rgba(255, 255, 255, 0.05);
  --sw-text: rgba(255, 255, 255, 0.92);
  --sw-text-2: rgba(255, 255, 255, 0.55);
  --sw-text-3: rgba(255, 255, 255, 0.35);
  --sw-accent: var(--accent);
  --sw-accent-subtle: rgba(245, 148, 29, 0.13);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--sw-text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), transparent 46%),
    #131316;
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.3), inset 0 0 0 0.5px rgba(255, 255, 255, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

.surface-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  flex-shrink: 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--sw-border-subtle);
}

.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.tl-red { background: #ff5f57; }
.tl-yellow { background: #febc2e; }
.tl-green { background: #28c840; }

.tool-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 188px 1fr;
}

.tool-rail {
  display: flex;
  flex-direction: column;
  padding: 16px 10px;
  background: rgba(255, 255, 255, 0.025);
  border-right: 1px solid var(--sw-border);
}

.rail-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 16px;
  color: var(--sw-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.rail-logo strong {
  font-weight: 700;
}

.rail-logo svg {
  width: 15px;
  height: 15px;
  margin-left: auto;
  color: var(--sw-text-3);
}

.rail-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail-nav button,
.rail-bottom button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  color: var(--sw-text-2);
  background: none;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 450;
  text-align: left;
  transition: background 0.12s ease, color 0.12s ease;
}

.rail-nav button svg,
.rail-bottom button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.6;
}

.rail-nav button:hover,
.rail-bottom button:hover {
  color: var(--sw-text);
  background: var(--sw-hover);
}

.rail-nav button.active {
  color: var(--sw-accent);
  background: var(--sw-accent-subtle);
  font-weight: 550;
}

.rail-nav button.active svg {
  opacity: 1;
}

.rail-bottom {
  padding-top: 8px;
  border-top: 1px solid var(--sw-border-subtle);
}

.rail-footer {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--sw-border-subtle);
  color: var(--sw-text-3);
  font-size: 11px;
  text-align: center;
}

.tool-canvas {
  min-width: 0;
  padding: 24px 28px;
}

.canvas-head strong {
  display: block;
  color: var(--sw-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.canvas-head span {
  display: block;
  margin-top: 6px;
  color: var(--sw-text-2);
  font-size: 13px;
}

.widget-head span,
.focus-widget span {
  display: block;
  color: var(--sw-text);
  font-size: 13px;
  font-weight: 600;
}

.widget-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 18px;
}

.tool-widget {
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  background: var(--sw-card);
  border: 1px solid var(--sw-border);
  border-radius: 10px;
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.widget-head strong {
  padding: 2px 8px;
  color: var(--sw-accent);
  background: var(--sw-accent-subtle);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}

.focus-widget strong {
  display: block;
  margin-top: 4px;
  color: var(--sw-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.capture-widget .widget-head span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capture-widget .widget-head svg {
  width: 15px;
  height: 15px;
  color: var(--sw-accent);
}

.capture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 40px;
  gap: 8px;
}

.capture-grid button {
  color: var(--sw-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--sw-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.12s ease;
}

.capture-grid button:hover {
  background: var(--sw-hover);
}

.widget-column {
  display: grid;
  gap: 10px;
}

.showcase-surface .metric-spark-fill {
  fill: rgba(245, 148, 29, 0.16);
}

.showcase-surface .metric-spark-line {
  stroke: var(--sw-accent);
}


.clipboard-widget p {
  margin: 0 0 6px;
  overflow: hidden;
  padding: 9px 10px;
  color: var(--sw-text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sw-border-subtle);
  border-radius: 6px;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.clipboard-widget p:last-child {
  margin-bottom: 0;
}

.focus-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.focus-widget b {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 6px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--sw-accent);
  border-radius: 999px;
  animation: spin-ring 1.8s linear infinite;
}

@keyframes spin-ring {
  to { transform: rotate(360deg); }
}

/* ---- Showcase dynamic views ---- */

.showcase-view {
  display: none;
  animation: showcase-view-in 380ms var(--ease) both;
}

.showcase-view.active {
  display: block;
}

.showcase-view#showcase-control {
  /* widget-board already has margin-top: 18px */
}

.showcase-view#showcase-capture,
.showcase-view#showcase-clipboard,
.showcase-view#showcase-focus {
  padding-top: 18px;
}

@keyframes showcase-view-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Capture view */
.sc-capture-area {
  display: grid;
  gap: 10px;
}

.sc-frame {
  position: relative;
  height: 196px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 24px 24px;
  border: 1px solid var(--sw-border);
  border-radius: 8px;
}

.sc-sel-box {
  position: absolute;
  border: 1.5px solid var(--sw-accent);
  background: rgba(245, 148, 29, 0.12);
  border-radius: 3px;
  pointer-events: none;
  animation: sc-select 3.4s ease-in-out infinite;
}

@keyframes sc-select {
  0%   { width: 34%; height: 42%; top: 22%; left: 10%; }
  25%  { width: 34%; height: 42%; top: 22%; left: 10%; }
  45%  { width: 58%; height: 56%; top: 10%; left: 6%; }
  65%  { width: 58%; height: 56%; top: 10%; left: 6%; }
  82%  { width: 44%; height: 60%; top: 8%; left: 30%; }
  100% { width: 34%; height: 42%; top: 22%; left: 10%; }
}

.sc-mode-bar {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 8px;
}

.sc-mode-bar button {
  min-height: 32px;
  padding: 0 14px;
  color: var(--sw-text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sw-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

.sc-mode-bar button.sc-mode-active {
  color: #241503;
  background: var(--sw-accent);
  border-color: transparent;
  font-weight: 600;
}

.sc-status-pill {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: #22c55e;
  background: none;
  font-size: 11px;
  font-weight: 550;
}

.sc-status-pill i {
  display: block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 999px;
  animation: sc-pulse 1.8s ease-in-out infinite;
}

@keyframes sc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

/* Clipboard view */
.sc-clipboard-list {
  display: grid;
  gap: 7px;
}

.sc-clip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sw-border-subtle);
  border-radius: 6px;
}

.sc-clip-fresh {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--sw-border);
}

.sc-clip-active {
  background: var(--sw-accent-subtle);
  border-color: rgba(245, 148, 29, 0.4);
}

.sc-clip-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--sw-text-2);
  font-size: 13px;
}

.sc-clip-active .sc-clip-text {
  color: var(--sw-text);
}

.sc-clip kbd {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  color: var(--sw-text-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--sw-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Focus view */
.sc-focus-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 240px;
}

.sc-focus-ring-wrap {
  position: relative;
  width: 152px;
  height: 152px;
}

.sc-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.sc-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 6;
}

.sc-ring-prog {
  fill: none;
  stroke: var(--sw-accent);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: sc-ring-fill 25s linear infinite;
}

@keyframes sc-ring-fill {
  from { stroke-dashoffset: 264; }
  to { stroke-dashoffset: 0; }
}

.sc-ring-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.sc-focus-display {
  color: var(--sw-text);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.sc-ring-inner small {
  color: var(--sw-text-3);
  font-size: 10px;
  font-weight: 500;
}

.tools-section {
  padding: clamp(76px, 10vw, 150px) clamp(18px, 4vw, 48px);
  background: var(--paper);
}

.section-kicker {
  max-width: 1080px;
  margin-bottom: clamp(42px, 7vw, 90px);
}

.tools-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tools-list article {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.tools-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.tools-list h3 {
  margin: 44px 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.052em;
}

.tools-list p {
  max-width: 310px;
  margin: 0;
  color: var(--soft-black);
  font-size: 15px;
  letter-spacing: -0.025em;
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 72svh;
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(72px, 9vw, 128px) clamp(18px, 4vw, 48px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 24%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    var(--dark);
  border-top: 1px solid var(--line-dark);
}

.download-copy {
  max-width: 920px;
}

.download-copy p:last-child {
  max-width: 620px;
  color: var(--soft-white);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.pricing-plans {
  align-self: start;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 820px);
}

.pricing-card {
  width: 100%;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 48px 120px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.06);
  animation: pricing-float 6.5s ease-in-out infinite;
  will-change: transform;
}

.pricing-card-featured {
  border-color: rgba(255, 255, 255, 0.42);
  animation-delay: -2.2s;
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-label {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--soft-black);
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.pricing-price strong {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 820;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.pricing-features {
  list-style: none;
  margin: 20px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  color: var(--soft-black);
}

.pricing-features li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--ink);
  border-radius: 999px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 9L7.5 12L13.5 6' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-cta {
  width: 100%;
}

.pricing-card small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: end;
  gap: clamp(32px, 7vw, 110px);
  padding: clamp(64px, 8vw, 104px) clamp(18px, 4vw, 48px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.contact-copy {
  max-width: 760px;
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 790;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.contact-copy p:last-child {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--soft-black);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.38;
  letter-spacing: -0.035em;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--soft-black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.contact-input-row input {
  min-width: 0;
  min-height: 44px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}

.contact-input-row input:focus {
  border-color: rgba(5, 5, 5, 0.38);
}

.contact-link {
  width: fit-content;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 30px clamp(18px, 4vw, 48px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  color: var(--soft-black);
  font-size: 13px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--soft-black);
  font-size: 13px;
  font-weight: 650;
}

.footer-links a {
  transition: color 180ms var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-main {
  padding: 132px clamp(18px, 4vw, 48px) 76px;
  background: var(--paper);
}

.legal-hero {
  max-width: 880px;
  margin-bottom: 48px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 790;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.legal-hero p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--soft-black);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.legal-content {
  max-width: 820px;
  display: grid;
  gap: 34px;
}

.legal-content section {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-content p,
.legal-content li {
  color: var(--soft-black);
  font-size: 16px;
  line-height: 1.65;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.toast-region {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 700;
  animation: toast-in 220ms var(--ease) both;
}

.toast.out {
  animation: toast-out 180ms var(--ease) both;
}

.privacy-choice {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 120;
  width: min(360px, calc(100vw - 24px));
  padding: 24px;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.privacy-choice h2 {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.privacy-choice p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.48;
}

.privacy-choice a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-choice-button {
  width: 100%;
  min-height: 42px;
  margin-top: 24px;
  color: var(--white);
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes pricing-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card {
    animation: none;
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero,
  .showcase-section,
  .download-section {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    grid-template-rows: auto auto 1fr;
  }

  .hero-copy {
    order: 1;
    margin-top: clamp(32px, 6vw, 56px);
  }

  .tools-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-copy {
    max-width: 860px;
  }

  .pricing-plans {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    position: fixed;
    inset: 73px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions .button {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 72px);
  }

  .desktop-strip {
    gap: 10px;
    overflow: hidden;
  }

  .desktop-strip span:nth-child(2),
  .desktop-strip span:nth-child(3),
  .desktop-strip .strip-battery {
    display: none;
  }

  .statement-grid,
  .contact-section,
  .download-section,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
  }

  .statement-grid p:last-child {
    grid-column: 1;
  }

  .tool-shell {
    grid-template-columns: 1fr;
  }

  .tool-rail {
    display: none;
  }

  .widget-board {
    grid-template-columns: 1fr;
  }

  .tools-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-window {
    height: auto;
    padding: 8px;
  }

  .app-mock {
    grid-template-columns: 1fr;
  }

  .contact-input-row {
    grid-template-columns: 1fr;
  }

  .showcase-surface {
    min-height: auto;
  }

  .surface-titlebar {
    min-height: 34px;
  }

  .tool-canvas {
    padding: 16px;
  }

}

.pricing-hero {
  padding: 148px clamp(18px, 4vw, 48px) clamp(56px, 7vw, 96px);
  background: var(--paper);
}

.pricing-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 790;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.pricing-hero p:last-child {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--soft-black);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.pricing-faq {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 4vw, 48px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.pricing-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.pricing-faq-list article {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.pricing-faq-list h3 {
  margin: 0 0 10px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.pricing-faq-list p {
  max-width: 480px;
  margin: 0;
  color: var(--soft-black);
  font-size: 15px;
  letter-spacing: -0.025em;
}

.pricing-faq-list a {
  color: var(--ink);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .pricing-faq-list {
    grid-template-columns: 1fr;
  }
}
