@font-face {
  font-family: "Grotesk";
  src: url("fonts/grotesk-lat.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Grotesk";
  src: url("fonts/grotesk-ext.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Document";
  src: url("fonts/literata-lat.woff2") format("woff2");
  font-weight: 560 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Document";
  src: url("fonts/literata-ext.woff2") format("woff2");
  font-weight: 560 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.site-header {
  transition: transform 0.45s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-over-story {
  transform: translateY(-110%);
  pointer-events: none;
}
.site-footer {
  position: relative;
  z-index: 8;
  background: #0a2540;
}
.faq-ia a:not(.btn) {
  color: var(--color-primary);
  font-weight: 600;
}
.faq-ia .btn-primary {
  color: var(--color-white);
}

.hero-ia {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-cloud);
}

.hero-text {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.scene-veil,
.exit-veil {
  position: fixed;
  inset: -18%;
  pointer-events: none;
  opacity: 0;
}
.scene-veil {
  z-index: 5;
  background: radial-gradient(ellipse at 50% 62%, #24564c 0%, #0e1c1a 60%);
}
.exit-veil {
  z-index: 6;
  background: radial-gradient(ellipse at 50% 70%, rgba(246, 249, 252, 0.2) 0%, #f6f9fc 62%);
}

.hero-ia .hero-copy {
  justify-items: center;
  text-align: center;
}

.hero-ia .hero-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
}

.hero-ia .hero-copy p {
  margin-inline: auto;
}

.chat-apps {
  position: relative;
  z-index: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 36px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.chat-apps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 96px;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-tile {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.app-tile img {
  width: 52px;
  height: 52px;
}

.app-tile-claude { background: #d97757; }
.app-tile-gpt { background: #74aa9c; }
.app-tile-gpt img { width: 84px; height: 84px; }
.app-tile-cursor { background: #111111; }
.app-tile-cursor img { width: 46px; height: 46px; }

.story {
  position: relative;
  z-index: 6;
  height: 560vh;
  background: transparent;
}

.story-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

#stage {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1080px;
  height: 1920px;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  transform-origin: center center;
}

#wash {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #1d403a 0%, rgba(14, 28, 26, 0) 72%);
  pointer-events: none;
}

#icons {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  gap: 52px;
}

.chat-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 210px;
}

.app {
  width: 188px;
  height: 188px;
  border-radius: 44px;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  position: relative;
}
.app::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.app.claude { background: #d97757; }
.app.gpt { background: #74aa9c; padding: 0; }
.app.cursor { background: #111111; }
.app img { width: 116px; height: 116px; display: block; }
.app.gpt img { width: 188px; height: 188px; border-radius: 44px; }
.app.gpt::after { display: none; }

.chat-brand figcaption {
  font-family: "Grotesk", sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #d7e6e1;
  line-height: 1;
}

#composer {
  position: absolute;
  left: 72px;
  width: 936px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px 0 36px;
  background: #f6f3ec;
  color: #142420;
  border-radius: 40px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.composer-copy {
  position: relative;
  flex: 1;
  min-width: 0;
  font-family: "Grotesk", sans-serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.22;
}
.mention {
  color: #05665d;
  font-weight: 650;
}

#ghost {
  color: #3e514c;
  display: block;
}
#typed { white-space: normal; }
#caret {
  display: inline-block;
  width: 3px;
  margin-left: 2px;
  background: #0b7a70;
  vertical-align: text-bottom;
  border-radius: 1px;
  transform: translateY(2px);
}

.send {
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background: #142420;
  color: #f6f3ec;
  display: grid;
  place-items: center;
}
.send svg { width: 30px; height: 30px; }

#status {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  overflow: hidden;
  color: #d7e6e1;
  font-family: "Grotesk", sans-serif;
  font-weight: 560;
  font-size: 32px;
  letter-spacing: -0.03em;
  opacity: 0;
}
.dots {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 46px;
  flex: none;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #8fd9cf;
  display: block;
}
#paper { opacity: 0; }

#result {
  position: absolute;
  left: 72px;
  width: 936px;
  top: 0;
}

#paper {
  background: #f7f4ee;
  color: #1a2420;
  border-radius: 28px;
  padding: 48px 48px 42px;
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
}

.inv-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.word {
  font-family: "Grotesk", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.04em;
  color: #0b7a70;
  padding-top: 14px;
}
.doc-name {
  font-family: "Document", serif;
  font-weight: 680;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: right;
}
.doc-num {
  margin-top: 10px;
  text-align: right;
  font-family: "Grotesk", sans-serif;
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #4a5e58;
}
.who {
  margin-top: 36px;
  font-family: "Document", serif;
  font-weight: 650;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.rule {
  height: 1px;
  background: #e4d9c8;
  margin: 26px 0;
}
.line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
  font-family: "Grotesk", sans-serif;
  font-weight: 560;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.line.total {
  font-family: "Document", serif;
  font-weight: 680;
  font-size: 42px;
  letter-spacing: -0.035em;
}
.line + .line { margin-top: 16px; }

#issued {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  opacity: 0;
}
.check {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  background: #0b7a70;
  color: #f6f3ec;
  display: grid;
  place-items: center;
}
.check svg { width: 30px; height: 30px; }
.issued-title {
  font-family: "Grotesk", sans-serif;
  font-weight: 650;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #e8f4f1;
}
.issued-dgi {
  margin-top: 6px;
  font-family: "Grotesk", sans-serif;
  font-weight: 560;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #b7ddd4;
}

#filelink {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  color: #e8f4f1;
}
.file-badge {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 18px;
  background: #f6f3ec;
  color: #0b7a70;
  display: grid;
  place-items: center;
}
.file-badge svg { width: 30px; height: 30px; }
.file-title {
  font-family: "Grotesk", sans-serif;
  font-weight: 650;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: #8fd9cf;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.file-name {
  margin-top: 6px;
  font-family: "Grotesk", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #c5d9d3;
}

#close {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 88px;
  opacity: 0;
  pointer-events: none;
}
.close-cta {
  margin-top: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 0 48px;
  border-radius: 999px;
  background: #41dcac;
  color: #0a2540;
  font-family: "Grotesk", sans-serif;
  font-weight: 650;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.close-cta:hover,
.close-cta:focus {
  background: #32c99b;
  color: #0a2540;
}
.faq-ia {
  position: relative;
  z-index: 7;
  background: var(--color-cloud);
}
.faq-ia h2 {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.faq-ia .faq-left > div p,
.faq-ia .faq-callout p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.faq-ia .faq-callout .btn {
  margin-top: 1rem;
}
#close img {
  width: 460px;
  height: auto;
  display: block;
}
#close p {
  margin-top: 52px;
  max-width: 820px;
  font-family: "Grotesk", sans-serif;
  font-weight: 650;
  font-size: 52px;
  letter-spacing: -0.035em;
  line-height: 1.14;
  color: #f4f1ea;
}

.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  text-align: center;
  font-family: "Grotesk", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7e6e1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}
