@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Neuton:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  color-scheme: light dark;
  --ink: #16211d;
  --muted: #60716a;
  --paper: #f8fbf8;
  --paper-strong: #eef5ef;
  --line: #d6e2da;
  --brand: #111413;
  --sage: #8aa797;
  --mint: #dcebdd;
  --accent: #3f6f5a;
  --shadow: rgba(42, 57, 49, 0.16);
  --surface: rgba(255, 255, 255, 0.72);
  --control: rgba(255, 255, 255, 0.66);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #edf6ef;
    --muted: #a9bbb1;
    --paper: #101512;
    --paper-strong: #18211c;
    --line: #2b3931;
    --brand: #edf6ef;
    --sage: #87a795;
    --mint: #18271f;
    --accent: #9fceba;
    --shadow: rgba(0, 0, 0, 0.42);
    --surface: rgba(20, 27, 23, 0.82);
    --control: rgba(31, 42, 36, 0.78);
  }
}

:root[data-theme="dark"] {
  --ink: #edf6ef;
  --muted: #a9bbb1;
  --paper: #101512;
  --paper-strong: #18211c;
  --line: #2b3931;
  --brand: #edf6ef;
  --sage: #87a795;
  --mint: #18271f;
  --accent: #9fceba;
  --shadow: rgba(0, 0, 0, 0.42);
  --surface: rgba(20, 27, 23, 0.82);
  --control: rgba(31, 42, 36, 0.78);
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Inter var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--mint) 74%, transparent), transparent 30rem),
    linear-gradient(135deg, #fbfdfb 0%, var(--paper) 52%, #edf4ef 100%);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--mint) 70%, transparent), transparent 30rem),
    linear-gradient(135deg, var(--paper) 0%, #111812 52%, #0d120f 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body {
    background:
      radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--mint) 70%, transparent), transparent 30rem),
      linear-gradient(135deg, var(--paper) 0%, #111812 52%, #0d120f 100%);
  }
}

:root[dir="rtl"] body {
  text-align: right;
}

a {
  color: inherit;
}

.site-header,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header {
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #111 url("logo.png") center / cover no-repeat;
  object-fit: cover;
  object-position: center;
}

nav,
footer div,
.site-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav {
  flex: 1 1 360px;
  justify-content: center;
  gap: clamp(34px, 6vw, 92px);
}

.site-controls {
  gap: 5px;
}

.control {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.control span {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
}

select,
.icon-button {
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--control);
  font: inherit;
}

select {
  max-width: 156px;
  padding: 0 30px 0 12px;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  place-items: center;
  padding: 8px;
  cursor: pointer;
}

.icon-button svg,
.summary-card button svg {
  display: block;
  width: 100%;
  height: 100%;
}

nav a,
footer a {
  text-decoration: none;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: min(760px, calc(100vh - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: clamp(32px, 5vw, 70px);
  padding: clamp(22px, 5vw, 58px) 0 clamp(34px, 6vw, 74px);
}

.hero-copy,
.product-shot {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lede {
  max-width: 580px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-copy h1 {
  font-family: Neuton, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  font-style: normal;
}

.hero-copy h1 .title-mark {
  text-decoration: underline;
  text-decoration-thickness: 0.055em;
  text-underline-offset: 0.08em;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 24px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  white-space: normal;
  text-align: center;
}

.button.primary {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.04rem;
  color: var(--paper);
  background: var(--brand);
}

.button.secondary {
  color: var(--ink);
  background: color-mix(in srgb, var(--mint) 58%, white);
  border: 1px solid var(--line);
}

.product-shot {
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--line) 80%, white);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 34px 90px var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-strong) 82%, transparent);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--sage);
}

.browser-bar p {
  margin: 0 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.page-preview {
  padding: clamp(22px, 4vw, 42px);
}

.page-preview h2 {
  margin-bottom: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 38%, transparent);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1.55rem, 2.7vw, 2.4rem);
  font-weight: 400;
  line-height: 1.12;
}

.highlight-wrap {
  position: relative;
  display: inline;
}

.highlight {
  display: inline;
  color: var(--paper);
  background: var(--accent);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 1.7;
}

.cursor-mark {
  position: absolute;
  right: -26px;
  bottom: -28px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}

.cursor-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.summary-card {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 18px;
  color: var(--ink);
  background: var(--surface);
}

.summary-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.summary-card button {
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  padding: 5px;
}

.summary-card p {
  font-weight: 800;
}

.summary-card ul,
.plain-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}

.strip p {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  font-weight: 800;
  text-align: center;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(32px, 6vw, 72px);
  padding: clamp(72px, 10vw, 130px) 0;
}

.steps {
  display: grid;
  gap: 18px;
}

.steps article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.steps span {
  color: var(--accent);
  font-weight: 900;
}

.steps h3,
.steps p {
  grid-column: 2;
}

.steps p {
  max-width: 620px;
}

.steps p,
.page section p {
  color: var(--muted);
  line-height: 1.6;
}

.install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 28px;
  background: var(--mint);
}

.install p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.page {
  max-width: 860px;
  padding: clamp(54px, 8vw, 92px) 0;
}

.page h1 {
  font-size: clamp(2.7rem, 5.8vw, 5rem);
}

.page h2 {
  font-size: clamp(1.9rem, 4vw, 3.35rem);
}

.page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

footer {
  min-height: 88px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 780px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  nav {
    flex-wrap: wrap;
  }

  .site-controls {
    flex-wrap: wrap;
  }

  .hero,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-shot {
    max-width: none;
    justify-self: stretch;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
  }

  .install {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  main,
  .site-header,
  footer {
    width: min(100% - 22px, 1120px);
  }

  .actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.45rem, 16vw, 4rem);
  }

  h2,
  .page h2 {
    font-size: clamp(1.7rem, 10vw, 2.55rem);
  }

  .steps article {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
  }

  .strip {
    grid-template-columns: 1fr;
  }
}
