:root {
  --bg: #f4f0e6;
  --bg-elevated: #fffdf8;
  --ink: #13222a;
  --muted: #4b5f69;
  --line: #d8d5c9;
  --accent: #0f6c73;
  --accent-strong: #07555d;
  --accent-soft: #dff4f2;
  --warm: #ec8b3d;
  --warm-soft: #ffe8d4;
  --shadow: 0 10px 28px rgba(26, 38, 43, 0.1);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Public Sans", "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.7rem;
  line-height: 1.15;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.backdrop {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  pointer-events: none;
}

.backdrop-a {
  width: 430px;
  height: 430px;
  top: -140px;
  right: -80px;
  background: var(--warm);
  animation: float-a 16s ease-in-out infinite;
}

.backdrop-b {
  width: 480px;
  height: 480px;
  bottom: -220px;
  left: -160px;
  background: var(--accent);
  animation: float-b 18s ease-in-out infinite;
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-18px, 10px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -12px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(244, 240, 230, 0.86);
  border-bottom: 1px solid rgba(216, 213, 201, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  display: block;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.brand-text {
  font: 700 1.05rem/1 "Sora", sans-serif;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  color: var(--ink);
}

.hero {
  padding: clamp(3rem, 6vw, 5.2rem) 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
}

.hero-main {
  max-width: 100%;
}

.hero-copy {
  max-width: 67ch;
  color: #2f4a54;
  font-weight: 600;
  font-size: 1.03rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.hero-preview {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.86), rgba(223, 244, 242, 0.38));
  box-shadow: var(--shadow);
  padding: 0.95rem;
  align-self: start;
}

.hero-preview h2 {
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  margin-bottom: 0.25rem;
}

.preview-stack {
  display: grid;
  gap: 0.5rem;
}

.preview-stage-wrap {
  position: relative;
}

.preview-stage {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.preview-stage:hover {
  border-color: #c8d6d9;
}

.preview-stage img {
  display: block;
  width: 100%;
  height: 248px;
  object-fit: contain;
  object-position: center;
  border-radius: 11px;
  background: transparent;
  pointer-events: none;
}

.preview-stage-label {
  margin: 0;
  font: 700 0.88rem/1.25 "Public Sans", "Segoe UI", sans-serif;
  color: #20363f;
  text-align: center;
  cursor: zoom-in;
}

.preview-zoom-icon {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(21, 34, 40, 0.78);
  display: grid;
  place-items: center;
  pointer-events: none;
}

.preview-zoom-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.preview-stage:hover .preview-zoom-icon {
  background: rgba(15, 108, 115, 0.9);
}

.preview-control-btn {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #1d3138;
  font: 700 1rem/1 "Sora", sans-serif;
  cursor: pointer;
}

.preview-control-btn:hover {
  background: #f4f1e8;
}

.preview-control-side {
  width: 2.15rem;
  height: 2.15rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 8px rgba(16, 31, 38, 0.18);
}

#heroPreviewPrev {
  left: 0.42rem;
}

#heroPreviewNext {
  right: 0.42rem;
}

#heroPreviewCounter {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font: 600 0.82rem/1.2 "Sora", sans-serif;
}

.preview-attribution {
  margin: 0.72rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.preview-attribution a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.cta-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  text-decoration: none;
  font: 700 0.96rem/1 "Sora", sans-serif;
  border-radius: 0.82rem;
  padding: 0.9rem 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 8px 20px rgba(15, 108, 115, 0.25);
}

.button.primary:hover {
  box-shadow: 0 12px 24px rgba(15, 108, 115, 0.3);
}

.button.secondary {
  border: 1px solid rgba(15, 108, 115, 0.3);
  background: #fbfefd;
  color: var(--accent-strong);
}

.button.secondary:hover {
  border-color: rgba(15, 108, 115, 0.42);
  background: #eef8f6;
}

.micro-points {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: #2f4a54;
  display: grid;
  gap: 0.4rem;
}

.micro-points li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.micro-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--warm);
}

.proof {
  padding: 0.4rem 0 2rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.proof-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.78rem 0.85rem;
}

.proof-label {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font: 600 0.76rem/1 "Sora", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.proof-value {
  margin: 0;
  font: 700 0.96rem/1.2 "Public Sans", "Segoe UI", sans-serif;
  color: var(--ink);
}

.demo {
  padding: 1.4rem 0 2.6rem;
}

.demo-copy {
  max-width: 72ch;
  color: var(--muted);
}

.video-wrap {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.video-note code {
  font-family: "Consolas", "Courier New", monospace;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.08rem 0.28rem;
}

.workflow {
  padding: 0 0 2.7rem;
}

.step-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.step-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem;
}

.step-num {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font: 700 0.8rem/1 "Sora", sans-serif;
  margin-bottom: 0.6rem;
}

.step-item p {
  margin: 0;
  color: var(--muted);
}

.highlights {
  padding: 2.8rem 0;
}

.card-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: linear-gradient(170deg, var(--bg-elevated), #f8f4ea);
  min-height: 160px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  padding: 1.2rem 0 2.4rem;
}

.split-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.1rem;
}

.panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1rem;
}

.panel li {
  margin-bottom: 0.45rem;
}

.faq {
  padding: 2.1rem 0 2.6rem;
}

.faq-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.85rem;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.cta-final {
  padding: 0 0 3.4rem;
}

.cta-box {
  border-radius: calc(var(--radius) + 3px);
  background: linear-gradient(145deg, var(--accent-soft), var(--warm-soft));
  border: 1px solid rgba(15, 108, 115, 0.18);
  padding: 1.7rem;
  box-shadow: var(--shadow);
}

.cta-box p {
  color: #20363f;
}

.cta-sub {
  margin: 0.8rem 0 0;
  color: #2f4a54;
}

.cta-sub a {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.1rem 0 1.7rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner .small {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

body.modal-open {
  overflow: hidden;
}

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

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(13, 24, 30, 0.76);
  cursor: pointer;
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  max-height: 90vh;
  overflow: hidden;
  border: 1px solid #c7c6bd;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  padding: 0.55rem 0.55rem 0.7rem;
}

.image-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d3138;
  font: 700 1.25rem/1 "Sora", sans-serif;
  cursor: pointer;
  z-index: 4;
}

.image-modal-dialog img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-nav-btn {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #1d3138;
  font: 700 1.05rem/1 "Sora", sans-serif;
  cursor: pointer;
}

.image-nav-btn:hover {
  background: #f4f1e8;
}

#imageModalCounter {
  margin: 0;
  position: absolute;
  left: 50%;
  top: 0.45rem;
  transform: translateX(-50%);
  color: #fff;
  font: 600 0.84rem/1.2 "Sora", sans-serif;
  background: rgba(19, 35, 41, 0.66);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  z-index: 3;
}

#imageModalZoom {
  margin: 0;
  min-width: 3.2rem;
  text-align: center;
  color: #fff;
  font: 600 0.84rem/1.2 "Sora", sans-serif;
  background: rgba(19, 35, 41, 0.66);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
}

.image-modal-stage {
  position: relative;
  max-height: 72vh;
  overflow: auto;
  border: 1px solid #ddd8cb;
  border-radius: 10px;
  background: #faf8f2;
}

.image-modal-stage.is-zoomed img {
  cursor: zoom-out;
}

.image-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 10px rgba(16, 31, 38, 0.25);
}

.image-stage-prev {
  left: 0.45rem;
}

.image-stage-next {
  right: 0.45rem;
}

.image-stage-zoom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 0.36rem;
  align-items: center;
  z-index: 3;
}

.image-stage-zoom-btn {
  width: 2rem;
  height: 2rem;
}

#imageModalCaption {
  margin: 0.05rem 0 0;
  color: #35505a;
  font-size: 0.92rem;
  text-align: center;
}

.image-modal-hint {
  margin: 0.45rem 0 0;
  color: #617981;
  font-size: 0.83rem;
  text-align: center;
}

.section-reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.7s ease forwards;
}

.section-reveal:nth-of-type(2) {
  animation-delay: 0.1s;
}

.section-reveal:nth-of-type(3) {
  animation-delay: 0.17s;
}

.section-reveal:nth-of-type(4) {
  animation-delay: 0.24s;
}

.section-reveal:nth-of-type(5) {
  animation-delay: 0.31s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .proof-grid,
  .step-grid,
  .split-grid,
  .card-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: unset;
  }

  .hero-main {
    max-width: 760px;
  }

}

@media (max-width: 700px) {
  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .container {
    width: min(1120px, calc(100% - 1.4rem));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .footer-inner .small {
    white-space: normal;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .preview-control-btn {
    width: 1.9rem;
    height: 1.9rem;
  }

  .preview-stage img {
    height: 205px;
  }

  .preview-zoom-icon {
    width: 1.84rem;
    height: 1.84rem;
    right: 0.45rem;
    bottom: 0.45rem;
  }

  #heroPreviewPrev {
    left: 0.3rem;
  }

  #heroPreviewNext {
    right: 0.3rem;
  }

  .image-modal-dialog {
    width: min(1120px, 96vw);
    max-height: 94vh;
    padding: 0.5rem 0.5rem 0.62rem;
  }

  .image-modal-dialog img {
    max-height: 64vh;
  }

  .image-modal-stage {
    max-height: 64vh;
  }

  .image-stage-prev {
    left: 0.32rem;
  }

  .image-stage-next {
    right: 0.32rem;
  }

  .image-stage-zoom {
    right: 0.4rem;
    bottom: 0.4rem;
    gap: 0.3rem;
  }

  .image-stage-zoom-btn {
    width: 1.8rem;
    height: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
