:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --surface: #f5f5f7;
  --surface-dark: #111111;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --line: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --blue: #0071e3;
  --max: 1280px;
  --gutter: clamp(22px, 4.5vw, 72px);
  --section-space: clamp(88px, 11vw, 176px);
  --hero: clamp(3.6rem, 6.8vw, 6.75rem);
  --display: clamp(3rem, 5.6vw, 5.25rem);
  --section-title: clamp(2.5rem, 4.4vw, 4.25rem);
  --card-title: clamp(1.9rem, 3vw, 3rem);
  --body-large: clamp(1.15rem, 1.7vw, 1.4rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 100; background: #fff; color: #000; padding: 12px 18px; border-radius: 999px; }
.skip:focus { top: 16px; }

.masthead {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
}
.wordmark { display: flex; align-items: center; width: clamp(118px, 12vw, 166px); }
.wordmark img { width: 100%; height: auto; }
.logo-dark-surface { display: none; }
.logo-light-surface { display: block; }
.masthead nav,
footer nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); font-size: 0.78rem; font-weight: 500; }
.masthead nav a { transition: color 0.2s; }
.masthead nav a:hover,
.masthead nav a:focus-visible { color: var(--blue); }
.buy-link { padding: 7px 14px; border-radius: 999px; background: var(--blue); color: #fff; }
.masthead nav .buy-link:hover,
.masthead nav .buy-link:focus-visible { color: #fff; background: #0077ed; }
.menu-button { display: none; border: 0; background: none; color: inherit; font: inherit; }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px var(--gutter) clamp(70px, 8vw, 120px);
  background: var(--surface);
  overflow: hidden;
}
.hero-copy {
  order: 1;
  width: min(100%, 1080px);
  padding: clamp(88px, 10vw, 150px) 0 clamp(56px, 7vw, 100px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kicker,
.chapter { margin: 0; color: var(--muted); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.015em; }
.hero h1,
.section-heading h2,
.lut-copy h2,
.library-copy h2,
.learn-story h2,
.finale h2 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.hero h1 { max-width: 1060px; margin-top: 28px; font-size: var(--hero); }
.hero-intro { max-width: 800px; margin: 34px auto 0; color: var(--muted); font-size: var(--body-large); line-height: 1.45; }
.outline-button,
.solid-button { display: inline-flex; align-items: center; gap: 10px; width: max-content; margin-top: 32px; color: var(--blue); font-size: 1.05rem; }
.outline-button:hover,
.outline-button:focus-visible,
.solid-button:hover,
.solid-button:focus-visible { text-decoration: underline; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; color: var(--muted); font-size: 0.82rem; }
.hero-image {
  order: 2;
  position: relative;
  width: min(100%, 1460px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 20px;
  background: #050505;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.2);
}
.hero-image img { width: 100%; height: auto; }

.manifesto {
  min-height: 78vh;
  padding: var(--section-space) var(--gutter);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: var(--paper);
}
.manifesto blockquote { max-width: 1180px; margin: 34px 0; font-size: var(--display); font-weight: 650; letter-spacing: -0.055em; line-height: 1; }
.manifesto > p:last-child { max-width: 830px; margin: 0; color: var(--muted); font-size: var(--body-large); }

.field-story { min-height: 92svh; position: relative; display: grid; align-items: end; overflow: hidden; background: #111; }
.field-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.field-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.84), rgba(0,0,0,.04) 66%); }
.field-caption { position: relative; z-index: 1; width: min(760px, calc(100% - (var(--gutter) * 2))); margin: 0 auto; padding: 0 0 clamp(66px, 8vw, 120px); color: #fff; }
.field-caption .chapter { color: rgba(255,255,255,.7); }
.field-caption h2 { max-width: 700px; margin: 18px 0 24px; font-size: var(--display); font-weight: 650; letter-spacing: -0.055em; line-height: 1; }
.field-caption p:not(.chapter) { max-width: 660px; margin: 0; color: rgba(255,255,255,.78); font-size: var(--body-large); }
.field-caption a,
.lut-copy > a,
.tool-grid a,
.library-copy > a { display: inline-block; margin-top: 24px; color: var(--blue); font-size: 1.02rem; }

.darkroom { padding: var(--section-space) var(--gutter); background: #000; color: #f5f5f7; }
.section-heading { width: min(100%, var(--max)); margin: 0 auto clamp(56px, 7vw, 96px); text-align: center; }
.section-heading h2 { max-width: 940px; margin: 22px auto 0; font-size: var(--display); }
.section-heading > p:last-child { max-width: 820px; margin: 30px auto 0; color: var(--muted-dark); font-size: var(--body-large); }
.app-frame { width: min(100%, 1500px); margin: 0 auto; overflow: hidden; background: #050505; border: 1px solid var(--line-dark); border-radius: 20px; box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.app-frame img { width: 100%; height: auto; }
.app-frame figcaption { display: flex; justify-content: space-between; gap: 20px; padding: 14px 18px; color: var(--muted-dark); font-size: 0.75rem; }

.lut-story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); min-height: 90svh; background: var(--paper); }
.lut-image-wrap { position: relative; overflow: hidden; background: #111; }
.lut-image-wrap img { width: 100%; height: 100%; min-height: 90svh; object-fit: cover; filter: grayscale(1); transition: filter .45s, transform .6s; }
.lut-image-wrap img[data-tone="silver"] { filter: grayscale(1) contrast(.86) brightness(1.12); }
.lut-image-wrap img[data-tone="deep"] { filter: grayscale(1) contrast(1.34) brightness(.82); }
.lut-readout { position: absolute; left: 24px; bottom: 22px; color: #fff; font-size: .75rem; font-weight: 600; }
.lut-copy { padding: var(--section-space) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.lut-copy h2 { max-width: 680px; margin-top: 22px; font-size: var(--section-title); }
.lut-copy > p:not(.chapter,.interaction-note) { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: var(--body-large); }
.lut-picker { display: flex; gap: 10px; margin-top: 34px; }
.lut-picker button { min-width: 88px; padding: 10px 16px; border: 1px solid #86868b; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }
.lut-picker button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.interaction-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }

.tools { padding: var(--section-space) var(--gutter); background: var(--surface); color: var(--ink); }
.tools .section-heading { text-align: left; }
.tools .section-heading h2 { margin-left: 0; }
.tool-grid { width: min(100%, var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.tool-grid article { padding: clamp(24px, 3vw, 40px); background: #fff; border-radius: 28px; }
.tool-image { aspect-ratio: 16 / 11; margin-bottom: 30px; overflow: hidden; border-radius: 16px; background: #171715; }
.tool-image img { width: 100%; height: 100%; object-fit: cover; }
.tool-grid h3 { margin: 18px 0; font-size: var(--card-title); font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; }
.tool-grid article > p:not(.chapter) { max-width: 540px; margin: 0; color: var(--muted); font-size: 1.05rem; }

.library-story { padding: var(--section-space) var(--gutter); background: var(--paper); color: var(--ink); }
.library-copy { width: min(100%, var(--max)); margin: 0 auto clamp(56px, 7vw, 96px); text-align: center; }
.library-copy h2 { max-width: 980px; margin: 22px auto 0; font-size: var(--display); }
.library-copy > p:not(.chapter) { max-width: 760px; margin: 30px auto 0; color: var(--muted); font-size: var(--body-large); }
.light-frame { border-color: var(--line); box-shadow: 0 35px 90px rgba(0,0,0,.12); }

.learn-story { max-width: none; margin: 0; padding: var(--section-space) var(--gutter); background: var(--surface); text-align: center; }
.learn-story > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.learn-story h2 { max-width: 1050px; margin-top: 22px; margin-bottom: 0; font-size: var(--display); }
.learn-story > p:not(.chapter) { max-width: 780px; margin-top: 30px; margin-bottom: 0; color: var(--muted); font-size: var(--body-large); }
.learn-story + .learn-story { background: #000; color: #f5f5f7; }
.learn-story + .learn-story > p:not(.chapter) { color: var(--muted-dark); }
.release-frame { margin-top: clamp(54px, 7vw, 90px); }
.learn-links { width: min(100%, 900px); margin-top: clamp(54px, 7vw, 90px); border-top: 1px solid var(--line); text-align: left; }
.learn-story + .learn-story .learn-links { border-color: var(--line-dark); }
.learn-links a { display: grid; grid-template-columns: 64px 1fr; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -0.025em; transition: color .2s; }
.learn-story + .learn-story .learn-links a { border-color: var(--line-dark); }
.learn-links a:hover,
.learn-links a:focus-visible { color: var(--blue); }
.learn-links span { color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: 0; }

.finale { min-height: 80svh; padding: var(--section-space) var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--paper); color: var(--ink); }
.finale h2 { max-width: 1160px; margin-top: 24px; font-size: var(--display); }
.finale > p:not(.chapter) { margin: 30px 0 0; color: var(--muted); font-size: var(--body-large); }
.solid-button { padding: 11px 20px; border-radius: 999px; background: var(--blue); color: #fff; }
.solid-button:hover,
.solid-button:focus-visible { background: #0077ed; text-decoration: none; }

footer { padding: 42px var(--gutter); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 22px; border-top: 1px solid var(--line); background: var(--surface); }
footer p { grid-column: 1; margin: 0; color: var(--muted); font-size: .78rem; }
footer nav { grid-column: 2; grid-row: 1 / 3; }
.footer-mark { width: 150px; }
.footer-mark .logo-dark-surface,
footer .wordmark img { display: none; }
footer .wordmark img:first-child { display: block; }

@media (max-width: 900px) {
  .masthead { height: 52px; }
  .menu-button { display: block; }
  .masthead nav { position: absolute; top: 52px; left: 0; right: 0; padding: 24px var(--gutter); display: none; flex-direction: column; align-items: flex-start; background: rgba(255,255,255,.97); color: var(--ink); border-bottom: 1px solid var(--line); }
  .masthead nav.open { display: flex; }
  .hero { padding-top: 52px; }
  .hero-copy { padding-top: 82px; }
  .lut-story { grid-template-columns: 1fr; }
  .lut-image-wrap img { min-height: 64svh; }
  .tool-grid { grid-template-columns: 1fr; }
  footer { display: block; }
  footer nav { margin-top: 30px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --hero: clamp(3.15rem, 15vw, 4.5rem); --display: clamp(2.75rem, 13vw, 4rem); --section-title: clamp(2.5rem, 12vw, 3.5rem); }
  .hero-copy { padding-top: 70px; }
  .hero-intro { font-size: 1.12rem; }
  .hero-image,
  .app-frame { border-radius: 12px; }
  .field-caption { width: calc(100% - (var(--gutter) * 2)); }
  .app-frame figcaption { display: block; }
  .app-frame figcaption span { display: block; margin: 4px 0; }
  .lut-copy { padding-top: 90px; padding-bottom: 90px; }
  .lut-picker { flex-wrap: wrap; }
  .tool-grid article { border-radius: 20px; }
  .learn-links a { grid-template-columns: 46px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Layouts release section follows the white product presentation. */
#layouts{background:#fff;color:#111}#layouts .chapter,#layouts .section-heading p{color:#595959}#layouts .learn-links a{color:#111;border-color:#dedee2}#layouts .learn-links span{color:#666}

.purchase-summary { margin: 22px auto 0; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.lab-inbox { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); padding: var(--section-space) max(var(--gutter), calc((100vw - var(--max)) / 2)); background: var(--surface); scroll-margin-top: 80px; }
.inbox-copy { align-self: center; }
.inbox-copy h2 { margin: 22px 0 0; font-size: var(--section-title); }
.inbox-intro { margin: 30px 0 0; font-size: var(--body-large); color: var(--muted); }
.inbox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.inbox-trial { color: var(--blue); font-weight: 500; }
.inbox-trial:hover { text-decoration: underline; }
.inbox-handoff, .inbox-limit { color: var(--muted); font-size: .9rem; line-height: 1.6; }
.inbox-handoff { margin-top: 18px; }
.inbox-limit { margin-top: 24px; max-width: 530px; }
.inbox-note { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: var(--ink); color: var(--paper); }
.inbox-envelope { display: block; width: 88px; height: 66px; margin-bottom: 32px; color: #f5f5f7; }
.inbox-note .chapter { color: var(--muted-dark); }
.inbox-steps { list-style: none; padding: 0; margin: 28px 0 0; }
.inbox-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.inbox-steps li > span { color: var(--muted-dark); font-size: .8rem; padding-top: 5px; }
.inbox-steps strong { font-size: 1.15rem; letter-spacing: -.02em; }
.inbox-steps p, .inbox-trust p { color: var(--muted-dark); font-size: .95rem; line-height: 1.6; margin: 6px 0 0; }
.inbox-trust { border-top: 1px solid var(--line-dark); margin-top: 12px; padding-top: 24px; }
.inbox-trust strong { font-size: 1rem; }
@media (max-width: 900px) { .lab-inbox { grid-template-columns: 1fr; } .inbox-copy { max-width: 680px; } }
.purchase-summary a, .refund-note a { text-decoration: underline; text-underline-offset: 3px; }
.finale > .refund-note { font-size: 1rem; }
@media (min-width: 901px) and (max-width: 1150px) { .masthead nav { gap: 14px; } }
