:root {
  --ink: #171a18;
  --paper: #fffaf0;
  --white: #ffffff;
  --mint: #bee3cf;
  --mint-deep: #83c6a2;
  --yellow: #ffd95f;
  --pink: #efb5e5;
  --coral: #ff9b7b;
  --blue: #75c9ee;
  --muted: #545d57;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  min-height: 72px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(20px, 4vw, 64px);
  border-bottom: var(--line);
  background: rgb(255 250 240 / 94%);
  backdrop-filter: blur(10px);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 0 rgb(23 26 24 / 12%);
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
}

.brand-mark img {
  width: 25px;
  height: 25px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 750;
}

nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.header-download {
  justify-self: end;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 130px));
  padding: clamp(54px, 7vw, 96px) clamp(24px, 7vw, 110px) 90px;
  overflow: hidden;
  border-bottom: var(--line);
  background-color: var(--mint);
  background-image: url("./assets/saytype-app.png");
  background-repeat: no-repeat;
  background-position: right clamp(18px, 4vw, 64px) bottom 26px;
  background-size: min(760px, 56vw) auto;
}

.hero::after {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: 34px;
  left: clamp(20px, 5vw, 80px);
  height: 18px;
  border: 2px solid var(--ink);
  background: var(--coral);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(510px, 45vw);
}

.eyebrow {
  margin: 0 0 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 4px;
  font-size: clamp(62px, 10vw, 132px);
  font-weight: 950;
  line-height: 0.88;
}

.hero-offer {
  margin: 18px 0 10px;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
}

.hero-description {
  max-width: 510px;
  margin-bottom: 24px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 620;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 850;
}

.primary-button {
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
}

.secondary-button {
  background: var(--white);
}

.primary-button:hover,
.header-download:hover,
.download-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.hero-meta {
  margin: 18px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
}

.hero-screen-label {
  position: absolute;
  z-index: 3;
  right: max(5vw, 30px);
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 800;
}

.hero-screen-label span {
  width: 8px;
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--mint-deep);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: var(--line);
  background: var(--ink);
  color: var(--white);
}

.proof-strip span {
  min-width: 0;
  padding: 17px 18px;
  border-right: 1px solid rgb(255 255 255 / 45%);
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.proof-strip span:last-child {
  border-right: 0;
}

.feature-band,
.workflow-band,
.control-band,
.privacy-band,
.download-band,
.faq-band {
  border-bottom: var(--line);
}

.feature-band {
  padding: 86px clamp(24px, 6vw, 90px);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 42px;
}

.section-heading h2,
.control-copy h2,
.privacy-title h2,
.download-band h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
}

.section-heading > p:last-child,
.control-copy > p,
.download-band > div > p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scene-item {
  min-height: 330px;
  padding: 24px;
  border: var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.scene-chat { background: var(--yellow); }
.scene-doc { background: var(--mint); }
.scene-ai { background: var(--pink); }

.scene-index {
  display: inline-block;
  margin-bottom: 46px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 900;
}

.scene-item h3 {
  margin-bottom: 10px;
  font-size: 25px;
}

.scene-item p {
  min-height: 70px;
  line-height: 1.55;
}

.sample-message,
.sample-list,
.scene-item code {
  display: block;
  margin: 20px 0 0;
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--white);
  font-size: 13px;
  line-height: 1.6;
}

.sample-list {
  padding-left: 34px;
}

.workflow-band {
  position: relative;
  padding: 84px clamp(24px, 6vw, 90px) 130px;
  overflow: hidden;
  background: var(--blue);
}

.compact-heading {
  width: min(650px, 100%);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.workflow-step {
  display: grid;
  min-height: 145px;
  align-content: center;
  gap: 5px;
  padding: 20px;
  border: var(--line);
  border-radius: 5px;
  background: var(--paper);
}

.workflow-step strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.workflow-step span {
  font-size: 18px;
  font-weight: 900;
}

.workflow-step small {
  color: var(--muted);
}

.workflow-arrow {
  font-size: 28px;
  font-weight: 900;
}

.overlay-demo {
  position: absolute;
  right: 50%;
  bottom: 24px;
  display: grid;
  width: 236px;
  height: 72px;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  padding: 5px;
  border: 4px solid var(--ink);
  border-radius: 36px;
  background: #050505;
  box-shadow: 5px 5px 0 rgb(23 26 24 / 35%);
  transform: translateX(50%);
}

.overlay-control {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
}

.overlay-cancel { background: var(--pink); }
.overlay-confirm { background: var(--mint); }

.overlay-wave {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.overlay-wave i {
  width: 3px;
  height: 10px;
  background: white;
}

.overlay-wave i:nth-child(2n) { height: 22px; }
.overlay-wave i:nth-child(3n) { height: 30px; }

.control-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(450px, 1.2fr);
  gap: 60px;
  align-items: center;
  padding: 90px clamp(24px, 6vw, 90px);
  background: var(--paper);
}

.control-copy ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.control-copy li {
  padding: 12px 0;
  border-top: 2px solid var(--ink);
  font-size: 14px;
}

.control-copy li span {
  display: inline-block;
  min-width: 90px;
  font-weight: 900;
}

.control-visual {
  margin: 0;
}

.control-visual img {
  width: 100%;
  border: var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.control-visual figcaption {
  margin-top: 15px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  text-align: right;
}

.privacy-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  padding: 90px clamp(24px, 6vw, 90px);
  background: var(--mint);
}

.privacy-title h2 {
  margin-bottom: 0;
}

.privacy-points {
  display: grid;
}

.privacy-points > div {
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}

.privacy-points > div:last-child {
  border-bottom: 2px solid var(--ink);
}

.privacy-points strong {
  font-size: 19px;
}

.privacy-points p {
  margin: 8px 0 0;
  color: #36463d;
  line-height: 1.6;
}

.download-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 90px clamp(24px, 6vw, 90px);
  background: var(--yellow);
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.download-button {
  display: flex;
  width: min(380px, 100%);
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  border: var(--line);
  border-radius: 5px;
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--coral);
  color: var(--white);
}

.download-button span {
  font-size: 17px;
  font-weight: 900;
}

.download-button small {
  margin-top: 4px;
  color: #dce2de;
}

.download-actions p {
  margin: 0;
  font-size: 11px;
}

.faq-band {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding: 90px clamp(24px, 6vw, 90px);
  background: var(--pink);
}

.faq-list details {
  border-top: 2px solid var(--ink);
}

.faq-list details:last-child {
  border-bottom: 2px solid var(--ink);
}

.faq-list summary {
  position: relative;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 2px;
  content: "+";
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 700px;
  padding: 0 0 22px;
  margin: 0;
  color: #493b47;
  line-height: 1.7;
}

footer {
  display: grid;
  min-height: 120px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.footer-brand .brand-mark {
  background: var(--yellow);
}

footer p,
footer > span {
  margin: 0;
  font-size: 12px;
}

footer > span {
  justify-self: end;
  color: #bfc6c2;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 740px;
    padding-bottom: 360px;
    background-position: center calc(100% - 25px);
    background-size: 820px auto;
  }

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

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip span:nth-child(2) {
    border-right: 0;
  }

  .proof-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid rgb(255 255 255 / 45%);
  }

  .scene-grid,
  .control-band,
  .privacy-band,
  .download-band,
  .faq-band {
    grid-template-columns: 1fr;
  }

  .control-band,
  .privacy-band,
  .download-band,
  .faq-band {
    gap: 36px;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-arrow {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 8px 14px;
  }

  .brand {
    font-size: 18px;
  }

  .header-download {
    padding: 9px 11px;
    box-shadow: 2px 2px 0 var(--ink);
    font-size: 11px;
  }

  .hero {
    min-height: 760px;
    padding: 46px 20px 285px;
    background-position: center bottom 24px;
    background-size: 390px auto;
  }

  h1 {
    font-size: 68px;
  }

  .hero-offer {
    font-size: 30px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .primary-button,
  .secondary-button {
    min-width: 0;
    flex: 1;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero-meta {
    display: none;
  }

  .hero-screen-label {
    display: none;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip span {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 45%);
  }

  .feature-band,
  .workflow-band,
  .control-band,
  .privacy-band,
  .download-band,
  .faq-band {
    padding: 64px 20px;
  }

  .workflow-band {
    padding-bottom: 130px;
  }

  .scene-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .scene-item {
    min-height: 290px;
  }

  .control-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .control-visual img {
    min-height: 260px;
    object-fit: cover;
    object-position: left center;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer > span {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
