@charset "UTF-8";

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #101925;
  --dark: #0c1018;
  --light: #faf9f6;
  --muted: #4e5764;
  --line: #d9dce0;
  --yellow: #f4d84f;
  --lavender: #cec9ff;
  --violet: #41349a;
  --font: "DM Sans", sans-serif;
  --serif: Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-top: 5rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font: 1rem/1.6 var(--font);
}

::selection { color: var(--dark); background: var(--yellow); }
:focus-visible { outline: 3px solid #8072d9; outline-offset: 4px; }

h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.3rem); font-weight: 560; }
p { max-width: 70ch; }
a { color: inherit; text-underline-offset: .26em; }
button { font: inherit; }
.wrap { width: min(75rem, calc(100% - 6rem)); margin-inline: auto; }
.section-space { padding-block: clamp(4rem, 8.5vw, 8.25rem); }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-200%);
  background: white;
  color: var(--ink);
  padding: .75rem 1rem;
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--dark);
  color: white;
  border-bottom: 1px solid #ffffff26;
}

.nav {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.8rem;
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}

.wordmark small {
  display: block;
  color: #d3d5dc;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: .24rem;
}

.brand-mark {
  width: 2rem;
  flex: none;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav nav { display: flex; gap: 2rem; }
.nav nav a { color: #e2e4eb; font-size: .94rem; text-decoration: none; }
.nav nav a:hover { color: white; text-decoration: underline; }

.button {
  min-height: 3.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .65rem 1.22rem;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.button-nav {
  min-height: 2.75rem;
  border-color: #ffffff65;
  color: white;
}

.button-nav:hover { background: #ffffff19; }
.button-primary { background: var(--yellow); color: var(--dark); }
.button-primary:hover { background: #ffe97f; }

.hero {
  background:
    linear-gradient(90deg, #0c1018 5%, #0c1018e8 36%, #0c10182b 100%),
    linear-gradient(0deg, #0c1018 0%, #0c101800 65%, #0c101852 100%),
    var(--dark) url("assets/hero-museum.webp") center 54% / cover no-repeat;
  color: white;
  padding-block: clamp(4.2rem, 9vw, 8rem) clamp(3.7rem, 8vw, 7rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 5.2vw, 5.2rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3.1rem, 5.35vw, 5rem);
  font-weight: 570;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero h1 em { color: var(--lavender); font-style: normal; }
.hero-copy > p { color: #e1e3eb; font-size: clamp(1.05rem, 1.55vw, 1.26rem); max-width: 40ch; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.5rem; margin-top: 2rem; }
.text-link { padding-block: .6rem; color: #ece9ff; font-weight: 580; }
.text-link:hover { color: var(--yellow); }

.hero-specimen { min-width: 0; margin-inline: auto; width: min(100%, 28rem); }
.paper-stack { position: relative; padding: 0 1.35rem 1.9rem 0; isolation: isolate; }

.paper-front, .paper-back {
  border-radius: 12px;
  box-shadow: 0 1.2rem 3.5rem #04050b55;
}

.paper-back {
  position: absolute;
  z-index: -1;
  inset: 1.3rem .35rem 1.1rem 2.2rem;
  transform: rotate(4deg);
  transform-origin: 65% 50%;
  background: #aea4eb;
}

.paper-front {
  background: #fcfaf4;
  color: #252532;
  padding: clamp(1.25rem, 2.8vw, 2.4rem);
  transform: rotate(-2deg);
}

.paper-masthead, .paper-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem .8rem;
}

.paper-masthead { border-bottom: 1px solid #b6abb1; padding-bottom: .65rem; color: #4d3050; }
.paper-masthead span:first-child { font-size: 1.05rem; font-weight: 760; }
.paper-masthead span:last-child, .paper-footer, .paper-type { font-size: .82rem; }
.paper-type { color: #6b3b62; margin-top: 1.55rem; font-weight: 650; }
.paper-title { font: 400 clamp(1.9rem, 3.3vw, 3.05rem)/1.07 var(--serif); letter-spacing: -.04em; margin-block: .55rem .65rem; }
.paper-subtitle { font: 1.17rem/1.4 var(--serif); }
.paper-body { margin-top: .8rem; font-size: .91rem; color: #4c4853; }
.paper-footer { margin-top: 1.35rem; padding-top: .58rem; border-top: 1px solid #b6abb1; color: #514956; }
.hero-specimen figcaption { font-size: .82rem; color: #e5e3ed; margin: .5rem 0 0 .5rem; }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 1rem 3.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-intro p, .workflow-layout > div:first-child p { color: var(--muted); font-size: 1.12rem; }
.section-intro p { max-width: 35ch; }

.sample-workbench {
  display: grid;
  grid-template-columns: minmax(15rem, .36fr) minmax(0, 1fr);
  border: 1px solid #d5d4e0;
  border-radius: 14px;
  background: white;
}

.sample-brief {
  min-width: 0;
  padding: clamp(1.4rem, 3.1vw, 2.5rem);
  border-radius: 13px 0 0 13px;
  background: #eeedf7;
}

.sample-brief h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 1.2rem; }
.sample-brief dl > div + div { margin-top: .85rem; }
.sample-brief dt { color: #504a65; font-size: .9rem; }
.sample-brief dd { font-weight: 650; line-height: 1.45; }

.sample-output { display: flex; flex-direction: column; min-width: 0; border-radius: 0 13px 13px 0; }
.draft-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: .6rem 1.45rem;
  padding-inline: clamp(1.2rem, 3.4vw, 2.8rem);
}

.draft-tabs button {
  min-height: 3.25rem;
  padding: .4rem 0;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  text-align: left;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: .94rem;
  font-weight: 650;
}

.draft-tabs button:hover { color: var(--ink); }
.draft-tabs button:last-child { flex: none; white-space: nowrap; }
.draft-tabs button[aria-selected="true"] { color: var(--violet); border-bottom-color: var(--violet); }
.draft-tabs button:focus-visible, .draft-panel:focus-visible { outline-offset: -4px; }
.draft-panel { display: flex; flex: 1; flex-direction: column; }
.draft-preview { flex: 1; min-height: 17rem; padding: clamp(1.3rem, 3.4vw, 2.8rem); }
.draft-panel + .draft-panel { border-top: 1px solid var(--line); }
.draft-tabs:not([hidden]) ~ .draft-panel { border-top: 0; }
.draft-type { font-size: .9rem; font-weight: 700; color: var(--violet); }
.draft-preview h3 { font: 400 clamp(1.8rem, 4vw, 3.5rem)/1.08 var(--serif); letter-spacing: -.04em; margin-block: .52rem .72rem; }
.draft-preview h3 em { font-weight: 400; }
.draft-preview .draft-lede { font: clamp(1.12rem, 2vw, 1.34rem)/1.4 var(--serif); color: var(--ink); margin-bottom: .75rem; max-width: 51ch; }
.draft-preview > p:last-child { color: var(--muted); }
.structure-note {
  max-width: none;
  padding: .9rem clamp(1.3rem, 3.4vw, 2.8rem);
  background: #f4f2fb;
  border-radius: 0 0 13px 0;
  color: #352b5e;
  font-size: .95rem;
}
.structure-note strong { font-weight: 750; margin-right: .35rem; }
.example-note { margin-top: .85rem; font-size: .86rem; color: var(--muted); }

.workflow { background: #eae8f9; }
.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.workflow-layout > div:first-child p { max-width: 32ch; margin-top: 1rem; }
.workflow-list > div { border-top: 1px solid #bdb7d6; padding-block: 1.05rem; }
.workflow-list > div:last-child { border-bottom: 1px solid #bdb7d6; }
.workflow-list dt { font-size: 1.25rem; font-weight: 740; line-height: 1.25; margin-bottom: .45rem; }
.workflow-list dd { color: #44405c; max-width: 56ch; }

.split-layout { display: grid; grid-template-columns: minmax(0, .67fr) minmax(0, 1fr); gap: 1.65rem 4.5rem; }
.questions h2 { font-size: clamp(2.25rem, 4vw, 3.6rem); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 1rem 2rem 1rem 0; cursor: pointer; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: "";
  position: absolute;
  right: .2rem;
  top: 1.85rem;
  width: .72rem;
  height: 1px;
  background: currentColor;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { display: none; }
.faq-list summary:hover { color: var(--violet); }
.faq-list p { color: var(--muted); padding: 0 1.75rem 1rem 0; }

.pricing { background: #eeedf7; }
.pricing-intro p { color: var(--muted); font-size: 1.12rem; margin-block: .9rem 1.3rem; max-width: 34ch; }

.contact { background: var(--dark); color: #fff; padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.4rem 4rem; align-items: end; }
.contact h2 { max-width: 18ch; color: var(--lavender); }
.contact-layout > div:first-child p { color: #e1e3eb; max-width: 52ch; margin-top: .9rem; }
.contact-action p { margin-top: .75rem; font-size: .93rem; color: #e1e3eb; }
.contact-action a:hover { color: white; }
.contact-action a.button:hover { color: var(--dark); }

.footer { background: var(--dark); color: #e1e3eb; }
.footer-layout { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid #ffffff35; padding-block: 1.35rem; gap: .5rem 1.5rem; font-size: .9rem; }
.footer a { color: white; text-decoration: none; font-weight: 650; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 57rem) {
  .wrap { width: calc(100% - 3.5rem); }
  .nav { gap: 1.25rem; }
  .nav nav { gap: 1.2rem; }
  .hero h1 { font-size: clamp(2.65rem, 6.5vw, 4.3rem); }
  .hero-layout { gap: clamp(1.4rem, 4vw, 2.5rem); }
  .paper-back { inset-inline-end: .4rem; }
  .section-intro { grid-template-columns: 1fr; margin-bottom: 1.5rem; }
  .section-intro p { max-width: 52ch; }
  .sample-workbench { grid-template-columns: minmax(12rem, .4fr) minmax(0, 1fr); }
}

@media (max-width: 42rem) {
  html { scroll-padding-top: 7rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .nav { display: grid; grid-template-columns: 1fr auto; gap: .3rem .75rem; padding-top: .65rem; }
  .nav nav { grid-row: 2; grid-column: 1 / -1; gap: 1.2rem; border-top: 1px solid #ffffff26; }
  .nav nav a { display: flex; align-items: center; min-height: 2.75rem; }
  .button-nav { grid-column: 2; grid-row: 1; padding-inline: .85rem; }
  .hero { background-position: center, center, 60% center; padding-block: 3.3rem 3.2rem; }
  .hero-layout, .workflow-layout, .split-layout, .contact-layout, .sample-workbench { grid-template-columns: 1fr; }
  .hero-layout { gap: 2.75rem; }
  .hero h1 { font-size: clamp(2.4rem, 8.6vw, 3.6rem); }
  .hero-actions { margin-top: 1.4rem; }
  .hero-specimen { width: min(100%, 23rem); }
  .sample-brief { border-radius: 13px 13px 0 0; }
  .sample-brief dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
  .sample-brief dl > div + div { margin-top: 0; }
  .sample-brief dl > div:last-child { grid-column: 1 / -1; }
  .sample-output { border-radius: 0 0 13px 13px; }
  .draft-tabs { gap: 1rem; }
  .draft-preview { min-height: 15rem; }
  .structure-note { border-radius: 0 0 13px 13px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .text-link { transition: background-color .18s ease, color .18s ease; }
  .draft-panel:not([hidden]) .draft-preview { animation: show-draft .23s ease-out; }
  @keyframes show-draft { from { opacity: .65; } to { opacity: 1; } }
}
