:root {
  --primary: #cc785c;
  --primary-active: #a9583e;
  --primary-disabled: #e6dfd8;
  --ink: #141413;
  --body: #3d3d3a;
  --body-strong: #252523;
  --muted: #6c6a64;
  --muted-soft: #8e8b82;
  --hairline: #e6dfd8;
  --hairline-soft: #ebe6df;
  --canvas: #faf9f5;
  --surface-soft: #f5f0e8;
  --surface-card: #efe9de;
  --surface-cream-strong: #e8e0d2;
  --surface-dark: #181715;
  --surface-dark-elevated: #252320;
  --surface-dark-soft: #1f1e1b;
  --on-primary: #ffffff;
  --on-dark: #faf9f5;
  --on-dark-soft: #a09d96;
  --accent-teal: #5db8a6;
  --accent-amber: #e8a55a;
  --success: #5db872;
  --display: "Tiempos Headline", "Cormorant Garamond", "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(204, 120, 92, 0.26);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 64px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  color: var(--body-strong);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.company-headline span {
  display: block;
}

.global-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 64px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--hairline);
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: blur(18px);
}

.global-brand,
.global-links {
  display: flex;
  align-items: center;
}

.global-brand {
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
}

.global-brand img {
  display: none;
}

.global-brand::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 18px 2px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) center / 2px 18px no-repeat;
}

.global-links {
  justify-content: center;
  gap: 30px;
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.global-links a,
.sub-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.global-links a:hover,
.sub-links a:hover,
.site-footer a:hover,
.legal-content a:hover,
.contact-card a:hover {
  color: var(--primary);
}

.nav-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.nav-action:hover,
.button.primary:hover {
  background: var(--primary-active);
}

.sub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-soft);
}

.sub-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.2;
}

.sub-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.section,
.hero-band {
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  padding-right: max(24px, calc((100vw - 1200px) / 2));
}

.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  align-items: center;
  gap: 72px;
  padding-top: 84px;
  padding-bottom: 76px;
  background: var(--canvas);
}

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

.hero-copy h1 span {
  display: block;
}

.eyebrow,
.tile-label {
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--body);
  font-size: 20px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.button:active,
.pill:active {
  transform: translateY(1px);
}

.button.primary,
.pill.primary {
  background: var(--primary);
  color: var(--on-primary);
}

.button.secondary,
.pill.secondary {
  border-color: var(--hairline);
  background: var(--canvas);
  color: var(--ink);
}

.button.secondary:hover,
.pill.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button.secondary-on-dark {
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
}

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

.pill.small {
  min-height: 32px;
  padding: 8px 14px;
  font-size: 13px;
}

.text-link {
  color: var(--primary);
  font-weight: 500;
}

.text-link.dark {
  color: var(--on-dark);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-meta span,
.product-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--body-strong);
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
}

.hero-artifact {
  width: 100%;
  margin: 0;
  border-radius: 16px;
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 24px;
}

.artifact-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--on-dark-soft);
  font-family: var(--mono);
  font-size: 13px;
}

.artifact-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
}

.artifact-chrome span:nth-child(2) {
  background: var(--accent-amber);
}

.artifact-chrome span:nth-child(3) {
  background: var(--accent-teal);
  margin-right: 6px;
}

.artifact-chrome strong {
  color: var(--on-dark);
  font-weight: 400;
}

.shot-carousel {
  position: relative;
  width: min(232px, 100%);
  margin: 0 auto;
}

.shot-viewport {
  overflow: hidden;
  border: 1px solid rgba(250, 249, 245, 0.12);
  border-radius: 16px;
  background: var(--canvas);
}

.shot-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.screenshot {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  background: var(--canvas);
}

.carousel-control {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(250, 249, 245, 0.12);
  border-radius: 999px;
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
  font-size: 26px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.carousel-control.previous {
  left: -52px;
}

.carousel-control.next {
  right: -52px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: -30px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-dark-elevated);
  padding: 0;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  width: 22px;
  background: var(--primary);
}

.artifact-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
  border-top: 1px solid rgba(250, 249, 245, 0.12);
  padding-top: 20px;
}

.artifact-metrics span {
  display: block;
  margin-bottom: 4px;
  color: var(--on-dark);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
}

.artifact-metrics p {
  margin-bottom: 0;
  color: var(--on-dark-soft);
  font-size: 13px;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-heading {
  width: min(900px, 100%);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 52px;
  width: min(1200px, 100%);
  text-align: left;
}

.section-heading.split .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--body);
}

.editorial-section,
.workflow-section {
  background: var(--surface-soft);
}

.feature-grid,
.workflow-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.workflow-grid article,
.contact-card,
.legal-content article {
  border-radius: 12px;
  background: var(--surface-card);
  padding: 32px;
}

.feature-card p,
.workflow-grid p,
.contact-card p,
.legal-content p,
.legal-content li {
  color: var(--body);
}

.card-mark {
  width: 22px;
  height: 22px;
  display: block;
  margin-bottom: 30px;
  background:
    linear-gradient(var(--primary), var(--primary)) center / 22px 2px no-repeat,
    linear-gradient(90deg, var(--primary), var(--primary)) center / 2px 22px no-repeat;
}

.card-mark.amber {
  background:
    linear-gradient(var(--accent-amber), var(--accent-amber)) center / 22px 2px no-repeat,
    linear-gradient(90deg, var(--accent-amber), var(--accent-amber)) center / 2px 22px no-repeat;
}

.card-mark.teal {
  background:
    linear-gradient(var(--accent-teal), var(--accent-teal)) center / 22px 2px no-repeat,
    linear-gradient(90deg, var(--accent-teal), var(--accent-teal)) center / 2px 22px no-repeat;
}

.product-surface {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  align-items: center;
  gap: 64px;
  background: var(--surface-dark);
  color: var(--on-dark);
}

.product-copy {
  max-width: 520px;
}

.product-copy h2,
.product-copy h3 {
  color: var(--on-dark);
}

.product-copy p {
  color: var(--on-dark-soft);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.product-tags span {
  background: var(--surface-dark-elevated);
  color: var(--on-dark);
}

.analysis-panel {
  display: flex;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface-dark-elevated);
  padding: 28px;
}

.analysis-panel img {
  width: min(390px, 100%);
  max-height: 720px;
  border-radius: 12px;
  object-fit: contain;
}

.workflow-grid article {
  background: var(--canvas);
}

.workflow-grid span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--primary);
  font-family: var(--mono);
  font-size: 14px;
}

.contact-cta {
  background: var(--canvas);
}

.coral-callout {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 56px;
}

.coral-callout h2 {
  margin-bottom: 12px;
}

.coral-callout p {
  max-width: 620px;
  margin-bottom: 0;
}

.on-coral {
  color: rgba(255, 255, 255, 0.86);
}

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

.site-footer {
  padding: 64px max(24px, calc((100vw - 1200px) / 2)) 34px;
  background: var(--surface-dark);
  color: var(--on-dark-soft);
  font-size: 14px;
}

.footer-grid {
  width: min(1200px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer h2 {
  margin-bottom: 6px;
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-line {
  width: min(1200px, 100%);
  margin: 0 auto;
  border-top: 1px solid rgba(250, 249, 245, 0.14);
  padding-top: 18px;
  text-align: center;
}

.page-hero {
  padding: 96px max(24px, calc((100vw - 980px) / 2)) 64px;
  background: var(--canvas);
  text-align: center;
}

.page-hero .section-inner,
.legal-content .section-inner,
.contact-content .section-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: 56px;
}

.page-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--body);
}

.legal-content,
.contact-content {
  padding: 86px max(24px, calc((100vw - 980px) / 2));
  background: var(--surface-soft);
}

.legal-content article {
  background: var(--canvas);
}

.legal-content h2 {
  margin-top: 42px;
  margin-bottom: 10px;
  font-size: 36px;
}

.legal-content h2:first-of-type {
  margin-top: 28px;
}

.legal-content a,
.contact-card a {
  color: var(--primary);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.body-copy {
  color: var(--body);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.contact-card {
  background: var(--canvas);
}

.contact-strip {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-strip a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--canvas);
  color: var(--primary);
  padding: 12px 18px;
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 1068px) {
  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-band,
  .product-surface {
    grid-template-columns: 1fr;
  }

  .hero-artifact,
  .product-copy {
    width: min(620px, 100%);
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading.split .eyebrow {
    margin-bottom: 0;
  }

  .coral-callout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 833px) {
  .global-nav {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .global-links {
    display: none;
  }

  .nav-action {
    padding-left: 14px;
    padding-right: 14px;
  }

  .sub-nav {
    padding: 0 20px;
  }

  .sub-links a:not(.pill) {
    display: none;
  }

  .section,
  .hero-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-band {
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .feature-grid,
  .workflow-grid,
  .contact-strip,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  h1,
  .page-hero h1 {
    font-size: 40px;
    line-height: 1.12;
  }

  h2 {
    font-size: 34px;
    line-height: 1.16;
  }

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

  .hero-artifact,
  .analysis-panel,
  .feature-card,
  .workflow-grid article,
  .contact-card,
  .legal-content article {
    padding: 24px;
  }

  .shot-carousel {
    width: min(182px, 52vw);
  }

  .carousel-control.previous {
    left: 8px;
  }

  .carousel-control.next {
    right: 8px;
  }

  .artifact-metrics {
    grid-template-columns: 1fr;
  }

  .coral-callout {
    padding: 32px 24px;
  }

  .contact-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 419px) {
  h1,
  .page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .global-brand span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-action {
    min-height: 36px;
    padding: 10px 12px;
    font-size: 13px;
  }
}
