:root {
  color-scheme: light;
  --ink: #14231f;
  --muted: #62716c;
  --white: #fffefa;
  --paper: #eee8df;
  --line: rgba(20, 35, 31, 0.14);
  --green: #0d6c55;
  --coral: #ee6048;
  --shadow: 0 24px 64px rgba(20, 35, 31, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(238, 96, 72, 0.18), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(40, 93, 168, 0.18), transparent 28%),
    linear-gradient(180deg, #e9eee8 0%, #f5eee5 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: 100%;
  min-height: 100svh;
}

.phone-canvas {
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.visual-slice {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--white);
}

.visual-slice img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.slice-bridge {
  position: relative;
  z-index: 4;
  height: 48px;
  margin: -10px 0;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 30%, #fff 50%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 0) 100%);
}

.slice-bridge--proof-workflow {
  height: 50px;
}

.slice-bridge--workflow-final {
  height: 50px;
}

.hotspot {
  position: absolute;
  z-index: 2;
  border: 0;
  border-radius: 8px;
  color: transparent;
  background: transparent;
  min-height: 44px;
}

.hotspot:focus-visible {
  outline: 3px solid #89efc6;
  outline-offset: 2px;
  background: rgba(137, 239, 198, 0.16);
}

.hotspot--hero-consult {
  left: 5.58%;
  top: 88.1%;
  width: 88.84%;
  height: 8.4%;
}

.hotspot--proof-demo {
  left: 6.51%;
  top: 31.5%;
  width: 86.98%;
  height: 29%;
}

.hotspot--proof-consult {
  left: 5.58%;
  top: 87%;
  width: 88.84%;
  height: 8.7%;
}

.hotspot--final-materials {
  left: 5.58%;
  top: 25.2%;
  width: 88.84%;
  height: 26.2%;
}

.hotspot--final-consult {
  left: 5.58%;
  top: 83.2%;
  width: 88.84%;
  height: 8.3%;
}

.btn,
.fixed-cta button,
.top-link {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  font-weight: 950;
  text-decoration: none;
}

.btn--primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 16px 28px rgba(238, 96, 72, 0.3);
}

.btn--full {
  width: 100%;
}

.fixed-cta {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 20;
  width: min(calc(100% - 28px), 398px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.94);
  border: 1px solid rgba(20, 35, 31, 0.12);
  box-shadow: 0 16px 40px rgba(20, 35, 31, 0.2);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: translateX(-50%) translateY(10px);
}

.fixed-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.fixed-cta button {
  color: var(--white);
  background: var(--green);
}

.top-link {
  color: var(--ink);
  background: #efe7d9;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 21, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(100%, 390px);
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  line-height: 1.5;
}

.modal-label {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: #efe7d9;
  font-size: 24px;
  line-height: 1;
}

.modal-dialog h2 {
  margin: 4px 38px 10px 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.25;
}

.modal-dialog p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.modal-dialog .modal-note {
  margin: 2px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(13, 108, 85, 0.16);
  border-radius: 8px;
  color: #315048;
  background: rgba(13, 108, 85, 0.07);
  font-size: 13px;
}

.modal-fields {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.modal-fields[hidden] {
  display: none;
}

.modal-fields label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.modal-fields input,
.modal-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  color: var(--ink);
  background: #fff;
}

.modal-fields textarea {
  min-height: 96px;
  resize: vertical;
}

.field-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  line-height: 1.6;
}

.field-check input {
  width: 16px;
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.form-status.is-error {
  color: #b52716;
}

.modal-actions {
  margin: 16px 0 10px;
}

.modal-actions[hidden] {
  display: none;
}

.sample-shell {
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

.sample-header,
.sample-section,
.sample-grid > section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.96);
  box-shadow: 0 18px 46px rgba(20, 35, 31, 0.1);
}

.sample-header {
  padding: 28px;
  border-top: 7px solid #1168e8;
}

.sample-kicker {
  margin: 0 0 8px;
  color: #1168e8;
  font-size: 13px;
  font-weight: 950;
}

.sample-header h1,
.sample-section h2,
.sample-grid h2 {
  margin: 0;
  line-height: 1.2;
}

.sample-header h1 {
  font-size: clamp(32px, 6vw, 58px);
}

.sample-lead {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.sample-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.sample-nav a,
.sample-tag {
  min-height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  background: #eef5ff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.sample-section {
  margin: 18px 0 0;
  padding: 24px;
}

.sample-section h2,
.sample-grid h2 {
  color: var(--ink);
  font-size: 24px;
}

.sample-section p,
.sample-section li,
.sample-grid li,
.sample-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.sample-section ul,
.sample-section ol,
.sample-grid ul,
.sample-grid ol {
  padding-left: 1.2em;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.sample-grid > section {
  padding: 20px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.before-after > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.before-after strong {
  display: block;
  margin-bottom: 8px;
  color: #1168e8;
}

.prompt-card {
  border-left: 6px solid #ee6048;
  background: #fff7f4;
}

.back-link {
  margin-top: 18px;
}

@media (min-width: 760px) {
  .page-shell {
    padding: 28px 0;
  }

  .phone-canvas {
    border-radius: 22px;
  }
}

@media (max-width: 680px) {
  .sample-shell {
    width: min(100% - 20px, 430px);
    padding: 16px 0 42px;
  }

  .sample-header,
  .sample-section,
  .sample-grid > section {
    padding: 18px;
  }

  .sample-grid,
  .before-after {
    grid-template-columns: 1fr;
  }
}
