/* ============================================================================
   uatops.com — "Daylight"
   The application's own light theme values, so the product screenshots read as
   the same piece of software. No JavaScript anywhere: the page is HTML and CSS
   only, which is why nothing here can fail to render.
   ========================================================================= */

:root {
  /* Declare the scheme so Android Chrome's Auto Dark Theme leaves the page
     alone. The application's own tailwind.css does this too. */
  color-scheme: light;

  /* Straight from the app's :root tokens */
  --paper:     #F4EFE6;
  --card:      #FBF8F2;
  --muted:     #E8E0D2;
  --ink:       #1C1917;
  --ink-soft:  #6F675C;
  --ink-faint: #918878;
  --line:      #D9CFBF;
  --brand:     #A85A3F;
  --accent:    #8B6F4E;
  --green:     #3F6B4A;

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, monospace;

  --shell:  76rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --bay:    clamp(4rem, 8.5vw, 7rem);

  --r-sm: 0.25rem;
  --r-md: 0.4rem;
  --r-lg: 0.6rem;

  --lift:   0 1px 0 rgba(28, 25, 23, .05), 0 20px 44px -26px rgba(28, 25, 23, .38);
  --lift-lg:0 1px 0 rgba(28, 25, 23, .06), 0 34px 70px -38px rgba(28, 25, 23, .45);
}

/* ── Reset ───────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
dl { margin: 0; }
a { color: inherit; text-decoration: none; }

code {
  font-family: var(--mono);
  font-size: .88em;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  padding: .1em .34em;
  border-radius: var(--r-sm);
}

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--r-sm); }

.skip {
  position: absolute; left: -9999px; top: .5rem; z-index: 99;
  background: var(--brand); color: var(--card);
  padding: .6rem 1rem; font-weight: 600; border-radius: var(--r-md);
}
.skip:focus { left: 1rem; }

/* ── Layout ──────────────────────────────────────────────────────────── */

.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--bay); }

/* ── Shared type ─────────────────────────────────────────────────────── */

.kicker {
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.032em;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}

.h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.09;
  letter-spacing: -.028em;
  max-width: 24ch;
}

.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.24;
  letter-spacing: -.015em;
  margin-bottom: .55rem;
}

.sub  { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-soft); max-width: 46ch; }
.lead { color: var(--ink-soft); max-width: 58ch; margin-top: .9rem; }
.note { color: var(--ink-soft); max-width: 64ch; margin-top: 2rem; font-size: .95rem; }

/* ── Nav ─────────────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 1.75rem; height: 3.7rem; }

.mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  margin-right: auto;
}
.mark span { color: var(--brand); }

.nav__links { display: flex; gap: 1.5rem; }
.nav__links a { font-size: .88rem; color: var(--ink-soft); transition: color .18s ease; }
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  font-size: .88rem; font-weight: 600; color: var(--brand);
  display: inline-flex; gap: .35rem; transition: opacity .18s ease;
}
.nav__cta:hover { opacity: .72; }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .92rem; font-weight: 600;
  padding: .72rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--fill { background: var(--brand); color: var(--card); }
.btn--fill:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn--line:hover { border-color: var(--accent); }

/* The product runs past its column — an object on the page, not a card in a
   grid cell. Clipped by body's overflow-x rather than a wrapper. */
.hero__shot {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--lift-lg);
  width: min(58rem, 118%);
}

/* ── Steps ───────────────────────────────────────────────────────────── */

.steps { background: var(--card); border-block: 1px solid var(--line); }
.steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 4vw, 3.25rem); }
.step p { color: var(--ink-soft); font-size: .95rem; }
.step__n {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--brand); display: block; margin-bottom: .8rem;
}

/* ── Full-bleed evidence ─────────────────────────────────────────────── */

.bleed-section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.bleed {
  margin: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-inline: var(--gutter);
}
.bleed img {
  width: min(92rem, 100%);
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-lg);
  background: var(--card);
}
.bleed figcaption {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 1.1rem;
}

/* ── Alternating shots ───────────────────────────────────────────────── */

.shots { display: grid; gap: clamp(3rem, 6vw, 5rem); }

.shot {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}
.shot:nth-child(even) .shot__img { order: 2; }

.shot__img {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--lift);
}
.shot__note p { color: var(--ink-soft); font-size: .95rem; }

.tag {
  font-family: var(--mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  padding-bottom: .5rem; margin-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}

/* ── Architecture ────────────────────────────────────────────────────── */

.arch { background: var(--card); border-block: 1px solid var(--line); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.pillar { padding-top: 1.3rem; border-top: 2px solid var(--line); }
.pillar p { color: var(--ink-soft); font-size: .94rem; }

.pillar__artifact {
  margin-top: 1.25rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--brand) !important;
  word-break: break-word;
}
.pillar__artifact span {
  display: block;
  font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .3rem;
}

/* ── Scale ───────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.25rem, 4.5vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.stat { background: var(--paper); padding: 1.4rem 1.35rem; }
.stat dt {
  font-family: var(--mono);
  font-size: .67rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: .55rem;
}
.stat dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat dd span {
  font-family: var(--mono);
  font-size: .68rem; font-weight: 400; letter-spacing: .05em;
  color: var(--ink-faint);
  margin-left: .4rem;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding-block: 2.25rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.foot__stack {
  display: flex; flex-wrap: wrap; gap: .4rem 1.4rem;
  font-family: var(--mono); font-size: .73rem; color: var(--ink-faint);
}
.foot__link { font-family: var(--mono); font-size: .78rem; color: var(--brand); display: inline-flex; gap: .35rem; }
.foot__link:hover { opacity: .72; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__shot { width: 100%; }
  .steps__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .pillars { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .shot { grid-template-columns: minmax(0, 1fr); }
  .shot:nth-child(even) .shot__img { order: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 40rem) {
  .nav__links { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
