:root {
  --bg: #f7f6f3;
  --paper: #ffffff;
  --ink: #1d1c1a;
  --muted: #6c675f;
  --line: #e3ded7;
  --orange: #f26b21;
  --amber: #f3b34c;
  --teal: #0d8f7d;
  --green: #4c8b61;
  --charcoal: #22201e;
  --shadow: 0 12px 32px rgba(41, 32, 24, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 16px 48px;
  background: rgba(247, 246, 243, 0.92);
  border-bottom: 1px solid rgba(222, 214, 204, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 168px;
  height: 46px;
}

.brand img {
  display: block;
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(255, 253, 250, 0.72);
}

.nav a.support-link {
  color: #ffffff;
  background: var(--charcoal);
}

.hero {
  position: relative;
  min-height: 600px;
  padding: 86px 48px 96px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.product-hero {
  background: #171512;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 16, 13, 0.86), rgba(19, 16, 13, 0.48) 48%, rgba(19, 16, 13, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: #fffdfa;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a8f1df;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.92;
  font-weight: 850;
}

h2 {
  font-size: 40px;
  line-height: 1.12;
}

h3 {
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 660px;
  color: rgba(255, 253, 250, 0.86);
  font-size: 22px;
  line-height: 1.55;
}

.page-hero .lead,
.section > p,
.features p,
.work-card p,
.screen-shot figcaption,
.showcase-card figcaption {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--orange);
  border-color: var(--orange);
}

.button.secondary {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--charcoal);
}

.button.light {
  color: #fffdfa;
  border-color: rgba(255, 253, 250, 0.62);
  background: rgba(255, 253, 250, 0.08);
}

.section,
.example-section,
.page-hero {
  max-width: 1160px;
  margin: 0 auto;
  padding: 78px 48px;
}

.section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: 56px;
}

.section h2,
.section-heading h2 {
  margin-bottom: 0;
}

.section > p {
  font-size: 19px;
  line-height: 1.65;
}

.product-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px 78px;
}

.showcase-card,
.screen-shot,
.work-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-card:not(.wide) img {
  aspect-ratio: 1 / 1;
}

.showcase-card figcaption,
.screen-shot figcaption {
  padding: 16px 18px 18px;
  font-size: 15px;
  line-height: 1.45;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px 78px;
}

.features article {
  min-height: 192px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-mark {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 850;
}

.features h3 {
  margin-bottom: 12px;
}

.features p,
.work-card p {
  line-height: 1.55;
}

.updates {
  max-width: none;
  background: #ebe5dc;
  padding-left: max(48px, calc((100vw - 1064px) / 2));
  padding-right: max(48px, calc((100vw - 1064px) / 2));
}

.page-hero {
  padding-top: 96px;
  padding-bottom: 46px;
}

.page-hero h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 82px);
}

.page-hero .lead {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.6;
}

.examples-hero {
  position: relative;
}

.buy-hero {
  padding-bottom: 34px;
}

.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px 78px;
}

.buy-card,
.support-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
}

.buy-card {
  display: grid;
  gap: 32px;
  padding: 34px;
}

.buy-card h2 {
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 62px);
}

.buy-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.price-block {
  display: grid;
  gap: 4px;
  padding: 24px;
  color: #ffffff;
  background: var(--charcoal);
  border-radius: 8px;
}

.price-block span {
  color: #a8f1df;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-block strong {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.buy-preview {
  position: relative;
  margin: 0;
  padding: 26px;
  background: linear-gradient(145deg, #2b241f, #151312);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.buy-preview img {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 8px;
}

.buy-preview-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  color: #fffdfa;
}

.buy-preview-note span {
  color: #a8f1df;
  font-weight: 800;
}

.buy-preview-note strong {
  font-size: 24px;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto 78px;
  padding: 34px 48px;
}

.support-panel h2 {
  margin-bottom: 12px;
}

.support-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.support-hero {
  padding-bottom: 34px;
}

.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px 78px;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-card h2 {
  margin-bottom: 0;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.copy-value {
  min-width: 0;
  width: 100%;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  outline: none;
}

.copy-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--charcoal);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.template-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-card textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;
  padding: 16px;
  color: var(--ink);
  background: #f7f6f3;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-status {
  min-height: 22px;
  color: var(--teal) !important;
  font-weight: 750;
}

.tabs-row {
  position: sticky;
  top: 76px;
  z-index: 12;
  display: flex;
  gap: 10px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 48px 22px;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(14px);
}

.tabs-row a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--charcoal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

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

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.work-card h3,
.work-card p {
  padding-left: 20px;
  padding-right: 20px;
}

.work-card h3 {
  margin: 20px 0 10px;
}

.work-card p {
  margin-bottom: 22px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screen-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.screen-note {
  margin: 0;
  min-height: 190px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.screen-note h3 {
  margin: 18px 0 10px;
  font-size: 24px;
}

.screen-note p {
  margin: 0;
  color: var(--muted);
}

.screen-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #201d19;
}

.esp-grid .screen-shot img {
  aspect-ratio: 1 / 1;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 34px 48px 46px;
  color: var(--muted);
}

.footer img {
  display: block;
  width: 150px;
  height: auto;
}

.asset-stage {
  width: 1200px;
  min-height: 900px;
  background: #f6f3ee;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.capture-hero {
  position: relative;
  width: 1600px;
  height: 980px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(242, 107, 33, 0.34), transparent 28%),
    linear-gradient(120deg, #201b16 0%, #2f241c 45%, #74614f 100%);
}

.capture-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.capture-table {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 310px;
  background: linear-gradient(180deg, #8b7059, #4d382b);
}

.capture-controller {
  position: absolute;
  right: 170px;
  bottom: 210px;
  width: 560px;
  height: 360px;
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(145deg, #2e2d2b, #121211);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.45);
}

.capture-oled {
  display: grid;
  gap: 18px;
  height: 100%;
  padding: 30px;
  color: #d9fff4;
  background: #050707;
  border: 2px solid #45413c;
  border-radius: 18px;
}

.capture-oled strong {
  color: #fffdfa;
  font-size: 78px;
  line-height: 1;
}

.capture-oled span {
  font-size: 25px;
}

.capture-phone {
  position: absolute;
  right: 650px;
  bottom: 160px;
  width: 300px;
  height: 600px;
  padding: 18px;
  border-radius: 42px;
  background: #151515;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  transform: rotate(-6deg);
}

.capture-phone-screen {
  height: 100%;
  padding: 28px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9f7f2, #e8e0d5);
}

.capture-phone-screen img {
  width: 142px;
  display: block;
  margin-bottom: 40px;
}

.capture-temp {
  margin: 18px 0;
  padding: 22px;
  color: #fffdfa;
  background: #24211e;
  border-radius: 18px;
}

.capture-temp strong {
  display: block;
  font-size: 56px;
}

.capture-temp span {
  color: #a8f1df;
  font-size: 16px;
}

.mock-phone {
  width: 520px;
  height: 760px;
  padding: 26px;
  background: #151515;
  border-radius: 56px;
}

.mock-app {
  height: 100%;
  padding: 36px 30px;
  background: #f8f5ef;
  border-radius: 36px;
}

.mock-app img {
  display: block;
  width: 178px;
  margin-bottom: 26px;
}

.mock-panel {
  padding: 26px;
  margin-bottom: 18px;
  color: #fffdfa;
  background: #24211e;
  border-radius: 24px;
}

.mock-panel small,
.mock-row small {
  display: block;
  color: #948d83;
  font-size: 17px;
  margin-bottom: 8px;
}

.mock-panel strong {
  font-size: 74px;
  line-height: 1;
}

.mock-state {
  color: #d5fff2;
  font-size: 25px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #e0d8ce;
}

.mock-row strong {
  font-size: 24px;
}

.mock-chart {
  height: 230px;
  margin-top: 28px;
  padding: 24px;
  background: #fffdfa;
  border: 1px solid #ded6cc;
  border-radius: 24px;
}

.mock-chart svg,
.profile-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.oled-card {
  width: 720px;
  height: 720px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #3a332b, #151312 70%);
}

.oled-device {
  width: 520px;
  height: 520px;
  padding: 46px;
  background: linear-gradient(145deg, #2a2927, #111);
  border-radius: 42px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.38);
}

.oled-screen {
  height: 100%;
  padding: 34px;
  color: #eafff8;
  background: #030505;
  border: 2px solid #4a4540;
  border-radius: 22px;
}

.oled-screen small {
  color: #98e7d5;
  font-size: 22px;
  font-weight: 800;
}

.oled-screen strong {
  display: block;
  margin: 34px 0 18px;
  color: #fffdfa;
  font-size: 88px;
  line-height: 1;
}

.oled-screen span {
  display: block;
  margin-top: 18px;
  font-size: 26px;
}

.profile-card {
  width: 720px;
  height: 540px;
  padding: 34px;
  background: #fffdfa;
  border-radius: 28px;
}

.profile-card h3 {
  margin: 0 0 18px;
  font-size: 30px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 620px;
    padding: 72px 24px 84px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(19, 16, 13, 0.94), rgba(19, 16, 13, 0.34));
  }

  .section,
  .example-section,
  .page-hero {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-strip,
  .features,
  .work-grid,
  .screens-grid,
  .screen-note-grid,
  .buy-layout,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .buy-layout,
  .support-panel,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .support-panel {
    margin-left: 24px;
    margin-right: 24px;
    padding: 28px;
  }

  .features {
    padding-bottom: 64px;
  }

  .tabs-row {
    top: 0;
    overflow-x: auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand,
  .brand img {
    width: 142px;
  }

  .nav {
    font-size: 14px;
  }

  .hero {
    min-height: 590px;
    background-position: 66% center;
  }

  .lead,
  .page-hero .lead {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  h2 {
    font-size: 30px;
  }

  .section > p {
    font-size: 17px;
  }

  .product-strip,
  .features,
  .work-grid,
  .screens-grid,
  .screen-note-grid,
  .buy-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .buy-card {
    padding: 24px;
  }

  .buy-actions {
    display: grid;
  }

  .contact-card {
    padding: 24px;
  }

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

  .contact-actions {
    display: grid;
  }

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

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