:root {
  color-scheme: light;
  --bg: #f8f1dc;
  --surface: #fff9ec;
  --surface-strong: #fff3cc;
  --paper: #f1e2bc;
  --text: #211811;
  --muted: #776b5c;
  --accent: #f4a337;
  --accent-dark: #b96f0f;
  --line: #282018;
  --line-soft: rgba(40, 32, 24, 0.18);
  --shadow: 0 22px 52px -34px rgba(40, 32, 24, 0.42);
  font-family: Geist, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@property --beam-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-synthesis-weight: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

.wallpaper,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.wallpaper {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(248, 241, 220, 0.72), rgba(248, 241, 220, 0.98)),
    url("./assets/backgrounds/clipform-wallpaper.png") center / cover;
}

.noise {
  z-index: -2;
  opacity: 0.24;
  background-image: radial-gradient(rgba(40, 32, 24, 0.18) 0.8px, transparent 0.8px);
  background-size: 10px 10px;
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, 0.74) 58%, transparent 100%);
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 28px));
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 14px auto 0;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(255, 249, 236, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img:first-child {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.wordmark {
  width: 128px;
  max-width: 38vw;
  margin-left: -8px;
}

nav {
  display: flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 243, 204, 0.72);
}

nav a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  transition: color 0.24s cubic-bezier(0.16, 1, 0.3, 1), background 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover {
  background: var(--surface);
  color: var(--text);
  transform: translateY(-1px);
}

.header-cta {
  position: relative;
  display: inline-flex;
  overflow: hidden;
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(40, 32, 24, 0.7);
  border-radius: 9px;
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--line);
  font-size: 0.82rem;
  font-weight: 850;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--line);
}

.section-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(430px, 1.24fr);
  align-items: center;
  gap: 48px;
  padding: clamp(78px, 8vw, 118px) 0 clamp(84px, 9vw, 128px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p,
figure,
blockquote {
  margin: 0;
}

h1 {
  max-width: 560px;
  font-size: clamp(3rem, 5.6vw, 5.45rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy > p:not(.hero-kicker):not(.download-note),
.section-intro p {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.48;
  font-weight: 620;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  width: fit-content;
  margin-top: 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.hero-proof span {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 860;
}

.hero-proof span + span {
  border-left: 1px solid var(--line-soft);
}

.download-note {
  max-width: 430px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
  font-weight: 720;
}

.button {
  position: relative;
  overflow: hidden;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(40, 32, 24, 0.72);
  border-radius: 9px;
  box-shadow: 2px 2px 0 var(--line);
  font-weight: 850;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.magic-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.44), transparent 34%);
  opacity: 0;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.magic-button > span,
.button span {
  position: relative;
  z-index: 1;
}

.button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--line);
}

.magic-button:hover::before {
  opacity: 1;
}

.button:active,
.header-cta:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0 var(--line);
}

.button.primary {
  background: var(--accent);
}

.button.secondary {
  background: rgba(255, 249, 236, 0.78);
}

.hero-stage {
  position: relative;
  min-height: clamp(420px, 44vw, 560px);
  display: grid;
  place-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% 2% 6% 14%;
  border: 1px solid var(--line-soft);
  border-radius: 42px;
  background: rgba(255, 243, 204, 0.38);
  transform: rotate(2deg);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(40, 32, 24, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 32, 24, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 52% 48%, #000 0, rgba(0, 0, 0, 0.72) 38%, transparent 72%);
  animation: grid-drift 16s cubic-bezier(0.16, 1, 0.3, 1) infinite alternate;
}

.app-window {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(40, 32, 24, 0.72);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 16px 18px 0 rgba(40, 32, 24, 0.12), var(--shadow);
  transform: rotate(-1.4deg) translateX(10px);
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-window:hover {
  box-shadow: 22px 24px 0 rgba(40, 32, 24, 0.1), 0 28px 70px -44px rgba(40, 32, 24, 0.48);
  transform: rotate(-0.7deg) translate(4px, -8px);
}

.app-window::before {
  content: "";
  display: block;
  height: 25px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 18px 12px, #f06a5b 0 5px, transparent 6px),
    radial-gradient(circle at 38px 12px, #f7c84a 0 5px, transparent 6px),
    radial-gradient(circle at 58px 12px, #69bd6b 0 5px, transparent 6px),
    var(--paper);
}

.app-window img {
  display: block;
  width: 100%;
}

.capture-island {
  position: absolute;
  z-index: 5;
  right: 2%;
  bottom: 13%;
  display: grid;
  grid-template-columns: 32px minmax(86px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 249, 236, 0.18);
  border-radius: 999px;
  background: rgba(33, 24, 17, 0.88);
  box-shadow: 0 18px 44px -24px rgba(33, 24, 17, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--surface);
  backdrop-filter: blur(16px);
  animation: island-float 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.capture-island img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.capture-island strong {
  font-size: 0.82rem;
  white-space: nowrap;
}

.wave-line {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 22px;
}

.wave-line span {
  width: 5px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: center;
  animation: wave-rise 1.15s cubic-bezier(0.45, 0, 0.22, 1) infinite;
}

.wave-line span:nth-child(2) {
  animation-delay: 0.1s;
}

.wave-line span:nth-child(3) {
  animation-delay: 0.2s;
}

.wave-line span:nth-child(4) {
  animation-delay: 0.3s;
}

.wave-line span:nth-child(5) {
  animation-delay: 0.4s;
}

.wave-line span:nth-child(6) {
  animation-delay: 0.5s;
}

.split-section,
.flow-section,
.proof-section,
.download-section,
.faq-section {
  padding: 78px 0;
}

.problem-section {
  position: relative;
  grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(42px, 7vw, 96px);
  padding-top: 96px;
}

.problem-section::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 7%;
  width: 154px;
  height: 154px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  opacity: 0.45;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}

.problem-section {
  grid-template-columns: minmax(260px, 0.95fr) minmax(360px, 1.05fr);
}

.problem-meter {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(430px, 100%);
  margin-top: 30px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.problem-meter i {
  height: 1px;
  background:
    linear-gradient(90deg, var(--accent), transparent),
    repeating-linear-gradient(90deg, rgba(40, 32, 24, 0.22) 0 8px, transparent 8px 14px);
}

.issue-list {
  border-top: 1px solid var(--line-soft);
}

.issue-row {
  display: grid;
  grid-template-columns: 44px minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 21px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.issue-row:nth-child(2) {
  margin-left: clamp(18px, 5vw, 76px);
}

.issue-row:nth-child(3) {
  margin-left: clamp(0px, 2.5vw, 38px);
}

.issue-row:hover {
  background: rgba(255, 243, 204, 0.36);
  transform: translateX(8px);
}

.issue-row span,
.flow-steps article span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.issue-row strong,
.flow-steps article strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.issue-row p,
.flow-steps article p {
  color: var(--muted);
  line-height: 1.46;
  font-weight: 620;
}

.section-heading {
  display: grid;
  justify-items: center;
  text-align: center;
}

.section-heading.align-left {
  justify-items: start;
  text-align: left;
}

.flow-section {
  position: relative;
  isolation: isolate;
}

.flow-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 42px;
  bottom: 42px;
  left: 50%;
  width: 100vw;
  border-block: 1px solid var(--line-soft);
  background:
    linear-gradient(90deg, rgba(241, 226, 188, 0.72), rgba(255, 243, 204, 0.28)),
    radial-gradient(circle at 78% 18%, rgba(244, 163, 55, 0.16), transparent 24%);
  transform: translateX(-50%) rotate(-0.35deg);
}

.flow-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  margin-top: 34px;
}

.workflow-panel {
  position: relative;
  align-items: stretch;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid rgba(40, 32, 24, 0.22);
  border-radius: 16px;
  background: rgba(255, 249, 236, 0.72);
  box-shadow: 12px 14px 0 rgba(40, 32, 24, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.workflow-panel::after {
  content: "";
  position: absolute;
  right: 27%;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(transparent, rgba(40, 32, 24, 0.2), transparent);
}

.flow-steps {
  display: grid;
  align-content: start;
  border-top: 0;
}

.flow-steps article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 8px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.flow-steps article:first-child {
  padding-top: 2px;
}

.flow-steps article:last-child {
  border-bottom: 0;
}

.flow-steps article strong {
  grid-column: 2;
}

.flow-steps article p {
  grid-column: 2;
  margin-top: 8px;
}

.flow-steps article:hover {
  background: rgba(255, 243, 204, 0.36);
  transform: translateX(8px);
}

.template-preview {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(40, 32, 24, 0.06);
}

.preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -22px -22px 0;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(241, 226, 188, 0.42);
}

.preview-top strong {
  font-size: 1.18rem;
}

.preview-top span {
  border: 1px solid rgba(40, 32, 24, 0.54);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 850;
}

.preview-top span {
  padding: 8px 11px;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.template-preview:hover .preview-top span {
  background: var(--accent);
  transform: translateY(-2px);
}

.template-preview p {
  max-width: 58ch;
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.48;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.proof-copy {
  width: min(620px, 100%);
  position: sticky;
  top: 120px;
}

.use-case-strip {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line-soft);
}

.use-case-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(40, 32, 24, 0.2);
  border-radius: 999px;
  background: rgba(255, 243, 204, 0.54);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), background 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.use-case-strip span:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.quote-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

blockquote {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line-soft);
}

blockquote:nth-child(2) {
  width: min(520px, 100%);
  margin-left: auto;
}

blockquote p {
  color: var(--text);
  font-size: clamp(1.18rem, 2.2vw, 1.72rem);
  line-height: 1.32;
  font-weight: 760;
}

cite {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-style: normal;
  font-weight: 820;
}

.product-overview {
  padding: 34px 0 76px;
}

.overview-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(300px, 0.72fr);
  gap: clamp(32px, 6vw, 88px);
  min-height: 470px;
  align-items: center;
  padding: clamp(34px, 6vw, 76px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 16%, rgba(244, 163, 55, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 249, 236, 0.92), rgba(243, 238, 224, 0.92));
  box-shadow: 0 28px 80px -54px rgba(40, 32, 24, 0.48);
}

.overview-panel::before {
  content: "";
  position: absolute;
  inset: auto -70px -130px auto;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(40, 32, 24, 0.1);
  border-radius: 999px;
}

.overview-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.overview-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  line-height: 1.24;
  font-weight: 620;
}

.overview-copy .overview-body {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.54;
}

.overview-copy h2 {
  max-width: 620px;
  font-size: clamp(2.65rem, 5vw, 5.2rem);
  line-height: 0.94;
}

.overview-copy h2::first-line {
  color: var(--accent-dark);
}

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
}

.overview-links a,
.feature-copy a {
  color: #0f6aff;
  font-weight: 880;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.overview-links a::after,
.feature-copy a::after {
  content: ">";
  margin-left: 8px;
}

.overview-links a:hover,
.feature-copy a:hover {
  opacity: 0.72;
  transform: translateX(2px);
}

.tool-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(94px, 1fr));
  gap: 16px;
  transform: rotate(1deg);
}

.tool-grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px -32px rgba(40, 32, 24, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--text);
  font-weight: 900;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.tool-grid span:nth-child(2n) {
  transform: translateY(34px);
}

.tool-grid span:hover {
  background: var(--surface);
  transform: translateY(-4px);
}

.tool-grid span:nth-child(2n):hover {
  transform: translateY(28px);
}

.feature-showcase {
  display: grid;
  gap: clamp(72px, 10vw, 132px);
  padding: 92px 0;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.feature-row.reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(300px, 0.78fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy h2 {
  max-width: 620px;
  font-size: clamp(2.25rem, 4vw, 4.1rem);
}

.feature-copy,
.feature-visual,
.use-case-board {
  min-width: 0;
}

.feature-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.58;
  font-weight: 620;
}

.feature-copy a {
  display: inline-flex;
  margin-top: 24px;
}

.feature-visual {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 90px -62px rgba(40, 32, 24, 0.55);
}

.capture-visual {
  display: grid;
  place-items: center;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(33, 24, 17, 0.82), rgba(33, 24, 17, 0.72)),
    radial-gradient(circle at 30% 0%, rgba(244, 163, 55, 0.26), transparent 30%);
}

.browser-field {
  width: min(660px, 100%);
  min-height: 170px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: rgba(255, 249, 236, 0.92);
}

.browser-field p {
  max-width: 620px;
  font-size: clamp(1.24rem, 2vw, 1.78rem);
  line-height: 1.35;
  font-weight: 620;
}

.inline-island {
  position: absolute;
  right: 8%;
  bottom: 15%;
}

.template-visual {
  display: grid;
  place-items: center;
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 249, 236, 0.98), rgba(255, 243, 204, 0.68));
}

.snippet-window {
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid rgba(40, 32, 24, 0.22);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 26px 68px -46px rgba(40, 32, 24, 0.58);
}

.snippet-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.snippet-window-top strong,
.insert-preview strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.snippet-window-top span {
  color: var(--muted);
  font-weight: 860;
}

.snippet-window p {
  margin: 0;
  padding: 18px 22px 0;
  font-size: 1.06rem;
  line-height: 1.5;
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 22px 22px;
}

.field-row span {
  padding: 8px 10px;
  border: 1px solid rgba(40, 32, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 243, 204, 0.78);
  font-size: 0.84rem;
  font-weight: 840;
}

.shortcut-visual {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: center;
  padding: 36px;
  background: linear-gradient(145deg, rgba(255, 249, 236, 0.96), rgba(243, 238, 224, 0.82));
}

.shortcut-stack {
  display: grid;
  gap: 12px;
}

.shortcut-stack span {
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--line);
  font-weight: 900;
}

.shortcut-stack span:nth-child(2) {
  transform: translateX(28px);
  background: var(--surface-strong);
}

.shortcut-stack span:nth-child(3) {
  transform: translateX(10px);
  background: var(--surface);
}

.insert-preview {
  min-height: 190px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 60px -44px rgba(40, 32, 24, 0.52);
}

.insert-preview p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.46;
  font-weight: 620;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  padding: 88px 0 78px;
}

.proof-band > blockquote {
  min-height: 310px;
  display: grid;
  align-content: center;
  padding: clamp(26px, 4vw, 44px);
  border: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 24px 70px -52px rgba(40, 32, 24, 0.46);
}

.use-case-board {
  padding-top: 16px;
}

.use-case-board h2 {
  max-width: 560px;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.use-case-board > p {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.54;
  font-weight: 620;
}

.use-case-board blockquote {
  width: min(560px, 100%);
  margin: 34px 0 0 auto;
}

.pricing-intro {
  width: min(760px, 100%);
  margin: 0 auto 26px;
  text-align: center;
}

.pricing-intro h2 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.pricing-intro p {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.48;
  font-weight: 650;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  width: min(520px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(40, 32, 24, 0.7);
  border-radius: 16px;
  background: rgba(255, 249, 236, 0.88);
  box-shadow: 10px 12px 0 rgba(40, 32, 24, 0.12), var(--shadow);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  box-shadow: 16px 18px 0 rgba(40, 32, 24, 0.1), 0 28px 70px -44px rgba(40, 32, 24, 0.48);
  transform: translateY(-6px);
}

.pricing-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.pricing-card h3 {
  margin: 14px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.price-lockup {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: max-content;
}

.price-lockup strong {
  font-size: clamp(3.2rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.price-lockup span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.plan-label {
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(40, 32, 24, 0.22);
  border-radius: 999px;
  color: var(--text);
  background: rgba(244, 163, 55, 0.2);
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-summary {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 650;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  font-size: 1.08rem;
}

.pricing-divider {
  height: 1px;
  background: var(--line-soft);
}

.pricing-includes {
  display: grid;
  gap: 12px;
}

.pricing-includes > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-includes ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-includes li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.3;
  font-weight: 720;
}

.pricing-includes li::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 10px;
  width: min(820px, 100%);
  margin: 34px auto 0;
}

details {
  padding: 0 18px;
  border-top: 1px solid var(--line-soft);
  transition: background 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line-soft);
}

details:hover {
  background: rgba(255, 243, 204, 0.42);
}

summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 880;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.35rem;
}

details[open] summary::after {
  content: "-";
}

details p {
  max-width: 650px;
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  line-height: 1.48;
  font-weight: 620;
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
}

.landing-footer img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.border-beam {
  --beam-angle: 0deg;
  border-color: transparent;
  background:
    linear-gradient(rgba(255, 249, 236, 0.94), rgba(255, 249, 236, 0.94)) padding-box,
    conic-gradient(from var(--beam-angle), transparent 0 68%, rgba(244, 163, 55, 0.18) 76%, #f4a337 82%, #fff3cc 86%, transparent 94%) border-box;
  animation: beam-spin 9s linear infinite;
}

.app-window.border-beam {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--beam-angle), transparent 0 68%, rgba(244, 163, 55, 0.2) 76%, #f4a337 82%, #fff3cc 86%, transparent 94%) border-box;
}

.pricing-card.border-beam {
  background:
    linear-gradient(rgba(255, 249, 236, 0.92), rgba(255, 249, 236, 0.92)) padding-box,
    conic-gradient(from var(--beam-angle), transparent 0 64%, rgba(244, 163, 55, 0.22) 76%, #f4a337 84%, #fff3cc 88%, transparent 96%) border-box;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.shine-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 26%, rgba(255, 255, 255, 0.42) 44%, transparent 58%);
  transform: translateX(-120%);
  animation: shine 7.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes shine {
  0%,
  64% {
    transform: translateX(-120%);
  }
  84%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes beam-spin {
  to {
    --beam-angle: 360deg;
  }
}

@keyframes grid-drift {
  from {
    transform: translate3d(-10px, -8px, 0);
  }

  to {
    transform: translate3d(12px, 10px, 0);
  }
}

@keyframes island-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes wave-rise {
  0%,
  100% {
    transform: scaleY(0.55);
    opacity: 0.64;
  }

  46% {
    transform: scaleY(2.1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  nav {
    display: none;
  }

  .hero,
  .split-section,
  .proof-section,
  .flow-board,
  .quote-grid,
  .overview-panel,
  .feature-row,
  .feature-row.reverse,
  .shortcut-visual,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: initial;
  }

  .overview-panel,
  .feature-visual {
    min-height: 0;
  }

  .tool-grid {
    transform: none;
  }

  .tool-grid span:nth-child(2n),
  .tool-grid span:nth-child(2n):hover,
  .shortcut-stack span:nth-child(2),
  .shortcut-stack span:nth-child(3) {
    transform: none;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-stage {
    min-height: 390px;
  }

  .capture-island {
    right: 4%;
    bottom: 4%;
  }

  .inline-island {
    right: 5%;
    bottom: 10%;
  }

  .pricing-card-top,
  .pricing-includes ul {
    grid-template-columns: 1fr;
  }

  .pricing-card-top {
    display: grid;
  }

  .price-lockup {
    justify-items: start;
  }

  .issue-row:nth-child(2),
  .issue-row:nth-child(3),
  blockquote:nth-child(2) {
    width: auto;
    margin-left: 0;
  }

  .workflow-panel::after,
  .flow-section::before,
  .problem-section::before {
    display: none;
  }

  .proof-copy {
    position: static;
  }

  .use-case-strip,
  .quote-grid {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    top: 8px;
    width: calc(100% - 16px);
    min-height: 58px;
    gap: 8px;
  }

  .wordmark {
    width: 106px;
  }

  .header-cta {
    display: none;
  }

  .section-shell {
    width: calc(100% - 18px);
  }

  h1 {
    max-width: 9.8ch;
    font-size: 2.9rem;
    line-height: 0.98;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-copy > p:not(.hero-kicker):not(.download-note) {
    max-width: 32ch;
    font-size: 1rem;
  }

  .button {
    width: calc(100% - 6px);
  }

  .download-note {
    max-width: 32ch;
  }

  .app-window {
    transform: none;
  }

  .hero-stage::before {
    display: none;
  }

  .issue-row {
    grid-template-columns: 38px 1fr;
    gap: 8px 14px;
  }

  .flow-steps article {
    grid-template-columns: 1fr;
  }

  .flow-steps article span,
  .flow-steps article strong,
  .flow-steps article p {
    grid-column: 1;
  }

  .issue-row p {
    grid-column: 2;
  }

  .template-preview {
    min-height: 0;
    padding: 18px;
  }

  .preview-top {
    margin: -18px -18px 0;
    padding: 16px 18px;
  }

  .capture-island {
    left: 50%;
    right: auto;
    bottom: 6%;
    transform: translateX(-50%);
    animation: none;
  }

  .split-section,
  .flow-section,
  .proof-section,
  .product-overview,
  .feature-showcase,
  .proof-band,
  .download-section,
  .faq-section {
    padding: 54px 0;
  }

  .overview-panel {
    width: 100%;
    max-width: 100%;
    padding: 26px;
    border-radius: 18px;
  }

  .overview-copy h2,
  .feature-copy h2,
  .use-case-board h2 {
    max-width: 100%;
    font-size: 1.72rem;
    line-height: 1.1;
    overflow-wrap: break-word;
  }

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

  .feature-showcase {
    gap: 64px;
  }

  .feature-visual {
    border-radius: 18px;
  }

  .capture-visual,
  .template-visual,
  .shortcut-visual {
    padding: 18px;
  }

  .browser-field p {
    font-size: 1.05rem;
  }
}
