:root {
  color-scheme: light;
  --paper: #f6f4ed;
  --ink: #23362b;
  --muted: #566358;
  --line: #d7dcd0;
  --orange: #b63c11;
  --green: #1b3025;
  --cream: #f4f3e9;
  --soft: #edf0e6;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--orange);
  text-underline-offset: 4px;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
  border-radius: 4px;
}

button {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 3;
  padding: 8px 16px;
  background: white;
  transform: translateY(-180%);
}

.skip:focus {
  transform: none;
}

.site-header,
.page,
.site-footer {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 40px;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-size: 30px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -1.3px;
}

.brand small {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.hero {
  padding: 76px 0 72px;
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(43px, 4.8vw, 63px);
  line-height: 1.04;
  letter-spacing: -3px;
  font-weight: 660;
  margin: 0 0 26px;
  max-width: 680px;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.lede {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 590px;
  margin: 0 0 28px;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 19px;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 650;
  border-radius: 7px;
  text-decoration: none;
  min-height: 48px;
  transition:
    background 0.16s,
    transform 0.16s;
}

.action:hover {
  background: #96310d;
  transform: translateY(-1px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  font-size: clamp(30px, 3.5vw, 43px);
  font-weight: 570;
  line-height: 1.15;
  letter-spacing: -1.6px;
  margin: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 15px;
  max-width: 370px;
  margin: 0;
}

.example {
  padding: 72px 0;
}

.example-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fffef9;
}

.example-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.example-controls button {
  padding: 19px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  min-height: 64px;
}

.example-controls button[aria-selected="true"] {
  color: var(--ink);
  background: var(--soft);
  border-bottom-color: var(--orange);
  font-weight: 650;
}

.example-controls button:hover {
  background: var(--soft);
}

.example-controls button:disabled {
  cursor: default;
}

.example-controls button:focus-visible {
  outline-offset: -7px;
}

.native-capture { margin: 0; }

.capture-launch { display: block; cursor: zoom-in; background: #212121; }

.capture-launch img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; }

.native-capture figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.capture-enlarge { display: inline-flex; align-items: center; min-height: 44px; flex: none; color: var(--ink); text-underline-offset: 4px; }

.capture-enlarge span { margin-left: 6px; }

.capture-lightbox { width: min(1840px, calc(100vw - 28px)); max-width: none; max-height: calc(100svh - 28px); padding: 0; border: 1px solid #48544b; border-radius: 12px; background: #212121; color: #f5f4ee; }

.capture-lightbox::backdrop { background: #0b130ee6; }

.capture-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 14px 8px 20px; border-bottom: 1px solid #48544b; }

.capture-heading h3 { margin: 0; font-size: 15px; font-weight: 500; }

.capture-close { width: 44px; height: 44px; flex: none; border: 1px solid #657367; border-radius: 6px; background: transparent; color: inherit; font-size: 26px; cursor: pointer; }

.capture-scroll { max-height: calc(100svh - 100px); overflow: auto; }

.capture-scroll img { display: block; width: max(1400px, 100%); max-width: none; height: auto; }

.capture-open { overflow: hidden; }

@media (max-width: 680px) {
  .native-capture figcaption { align-items: flex-start; padding: 10px 14px; gap: 10px; font-size: 12px; }
}

.feature-section {
  padding-bottom: 60px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 50px;
}

.feature-list article {
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.feature-list h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0 0 7px;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 26px 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav { margin-left: auto; justify-content: flex-end; display: flex; flex-wrap: wrap; gap: 20px; }

.site-footer a {
  color: var(--muted);
}

::selection {
  background: #f3c6a6;
  color: #23362b;
}

@media (max-width: 960px) {
  .hero {
      gap: 36px;
      padding-top: 55px;
    }

  .hero h1 {
      letter-spacing: -2.1px;
    }
}

@media (max-width: 680px) {
  .site-header,
  .page,
  .site-footer {
      padding-inline: 22px;
    }

  .site-header {
      min-height: 82px;
      gap: 12px;
      padding-block: 18px;
      align-items: center;
      flex-direction: row;
    }

  .brand-name {
      font-size: 27px;
    }

  .brand img {
      width: 32px;
      height: 32px;
    }

  .brand small {
      font-size: 19px;
    }

  .site-nav {
      gap: 22px;
    }

  .site-nav a {
      font-size: 13px;
    }

  .hero {
      grid-template-columns: 1fr;
      padding-block: 44px;
      gap: 34px;
    }

  .hero h1 {
      font-size: clamp(41px, 9.5vw, 57px);
      letter-spacing: -1.9px;
      margin-bottom: 22px;
    }

  .lede {
      font-size: 17px;
      line-height: 1.7;
    }

  .example {
      padding-block: 45px;
    }

  .section-heading {
      display: block;
      margin-bottom: 28px;
    }

  .section-heading > p {
      margin-top: 18px;
      font-size: 14px;
    }

  .section-heading h2 {
      font-size: 33px;
      letter-spacing: -1px;
    }

  .example-controls button {
      padding: 13px 4px;
      font-size: 12px;
      min-height: 48px;
    }

  .feature-list {
      grid-template-columns: 1fr;
      gap: 0;
    }

  .feature-list article {
      padding-block: 22px;
    }

  .feature-section {
      padding-bottom: 32px;
    }

  .site-footer {
      display: block;
      padding-block: 23px;
    }

  .site-footer > span {
      display: block;
    }

  .site-footer > span + span {
      margin-top: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
  html {
      scroll-behavior: auto;
    }

  *,
  *::before,
  *::after {
      transition: none !important;
      animation: none !important;
    }

  .action:hover {
      transform: none;
    }
}

.action.chatgpt {
  background: #fffef9;
  color: var(--ink);
  border: 1px solid #c6cfbf;
}

.action.chatgpt:hover {
  background: #e8edde;
}

.action.chatgpt img {
  width: 24px;
  height: 24px;
  flex: none;
  color-scheme: light;
}

.editions {
  padding-bottom: 64px;
}

.edition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.edition-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
}

.edition-card h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 37px;
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin: 0 0 18px;
}

.edition-card h3 img {
  flex: none;
  width: 1em;
  height: 1em;
}

.edition-card h3 em {
  font:
    italic 31px Georgia,
    serif;
}

.edition-card > p {
  font-size: 15px;
}

.edition-card ul {
  margin: 23px 0 30px;
  padding-left: 18px;
  font-size: 14px;
}

.edition-card li + li {
  margin-top: 10px;
}

.full-edition {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.full-edition > p,
.full-edition li {
  color: #c7d3c4;
}

.edition-link {
  color: var(--cream);
  font-size: 15px;
  font-weight: 650;
}

.edition-link:focus-visible {
  outline-color: #ffb78c;
}

.light-edition {
  background: #fffef9;
}

.light-edition > p,
.light-edition li {
  color: var(--muted);
}

@media (max-width: 960px) {
  .edition-card {
      padding: 27px;
    }

  .edition-card .action {
      font-size: 13px;
      padding-inline: 14px;
    }
}

@media (max-width: 680px) {
  .edition-grid {
      grid-template-columns: 1fr;
      gap: 18px;
    }

  .edition-card {
      padding: 26px 23px;
    }

  .edition-card h3 {
      font-size: 33px;
    }

  .edition-card > p {
      font-size: 14px;
    }

  .edition-card ul {
      font-size: 13px;
    }

  .edition-card .action {
      font-size: 13px;
      padding-inline: 12px;
      gap: 9px;
    }

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

  .hero .actions .action {
      font-size: 13px;
    }

  .site-nav {
      gap: 13px 20px;
    }
}

.hero-product {
  min-width: 0;
  margin: 0;
  border: 1px solid #bfcaba;
  border-radius: 15px;
  overflow: hidden;
  background: #14251d;
  color: var(--cream);
  box-shadow: 0 22px 55px #1b302522;
}

.hero-product video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  background: #101714;
}

.hero-product figcaption {
  padding: 19px 20px 20px;
  border-top: 1px solid #425348;
  font-size: 12px;
  line-height: 1.6;
}

.hero-product figcaption strong,
.hero-product figcaption span {
  display: block;
}

.hero-product figcaption strong {
  font-size: 15px;
  margin-bottom: 7px;
}

.hero-product figcaption span {
  color: #c7d3c5;
}

.hero-product figcaption a {
  display: inline-block;
  color: #ffb591;
  margin-top: 9px;
}

.walkthrough-transcript {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.walkthrough-transcript summary {
  color: var(--ink);
  cursor: pointer;
  width: fit-content;
}

.walkthrough-transcript p {
  max-width: 900px;
  margin-bottom: 0;
}

.hero-product .walkthrough-transcript { margin: 0; color: #c7d3c5; font-size: 12px; }

.hero-product .walkthrough-transcript summary { color: #ffb591; }

@media (max-width: 960px) and (min-width: 681px) {
  .hero {
      grid-template-columns: 1fr;
    }

  .hero-product {
      max-width: 760px;
    }
}
