:root {
  --ink: #1c2834;
  --paper: #f7f5f1;
  --white: #fffcf8;
  --mute: #6a7b8c;
  --line: #e2d9ce;
  --acc: #0f9f96;
  --acc2: #1aa6c1;
  --sun: #e8a04a;
  --deep: #243447;
  --yes: #0b7f78;
  --mid: #9a6700;
  --no: #9f1239;
  --font: "Sora", system-ui, sans-serif;
  --display: "Syne", sans-serif;
  --nav-h: 4rem;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
strong { font-weight: 700; }

.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,252,248,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,217,206,0.95);
  box-shadow: 0 8px 24px rgba(28,40,52,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h);
}
.logo {
  font-family: var(--display); font-weight: 800; color: var(--ink);
  font-size: 1.2rem; letter-spacing: -0.03em;
}
.logo span { color: var(--acc2); }
.nav-links { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }
.nav-links a { color: var(--mute); font-size: .9rem; font-weight: 600; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; border: 0; border-radius: 999px;
  padding: .55rem 1.05rem; font-weight: 800; cursor: pointer; font: inherit;
  box-shadow: 0 8px 22px rgba(15,159,150,0.22);
}

.hero-bleed {
  position: relative; min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--ink); overflow: hidden;
  padding: 0 0 4.5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,252,248,0.94) 0%, rgba(255,252,248,0.78) 34%, rgba(255,252,248,0.22) 62%, rgba(255,252,248,0.05) 100%),
    linear-gradient(180deg, rgba(255,248,240,0.18) 0%, transparent 45%, rgba(247,245,241,0.5) 100%),
    url("assets/hero-wash.jpg?v=bright3") 68% center/cover no-repeat;
}
.hero-copy { position: relative; z-index: 1; max-width: 38rem; }
.brand-mark {
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: .85rem;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}
.brand-mark::after {
  content: "";
  display: inline-block;
  width: .55em; height: .12em;
  margin-left: .12em;
  vertical-align: .18em;
  background: linear-gradient(90deg, var(--acc), var(--sun));
  border-radius: 2px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: .75rem;
  max-width: 22ch;
  color: var(--ink);
}
.hero-lead { color: var(--mute); font-size: 1.05rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }

.btn {
  border: 0; border-radius: 999px; padding: .78rem 1.25rem;
  font-weight: 800; cursor: pointer; font: inherit;
}
.btn-acc {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #fff;
  box-shadow: 0 10px 26px rgba(15,159,150,0.22);
}
.btn-ghost {
  background: rgba(255,252,248,0.82); color: var(--ink);
  border: 1px solid rgba(28,40,52,0.14);
}

section { padding: 3.6rem 0; }
section h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.03em;
  margin-bottom: .65rem;
}
.lead { color: var(--mute); max-width: 46rem; margin-bottom: 1.4rem; }

.compare-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.compare {
  width: 100%; min-width: 860px; border-collapse: collapse;
  font-size: .88rem;
}
.compare th, .compare td {
  padding: .7rem .65rem; text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.compare thead th {
  background: var(--deep); color: #f4f8fb;
  font-weight: 700; position: sticky; top: 0;
}
.compare thead th.us {
  background: var(--acc); color: #fff;
}
.compare td:first-child { font-weight: 600; color: var(--ink); min-width: 11rem; }
.compare td.us { background: rgba(15,159,150,.08); font-weight: 700; }
.compare .yes { color: var(--yes); }
.compare .mid { color: var(--mid); }
.compare .no { color: var(--no); }
.compare tbody tr:hover td { background: #fff8f0; }
.compare tbody tr:hover td.us { background: rgba(15,159,150,.14); }
.compare-note { margin-top: .9rem; color: var(--mute); font-size: .85rem; }

.shots-sec { background: #efeae3; }
.shots-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.shots-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: .42rem .85rem; cursor: pointer; font-weight: 700; color: var(--mute); font: inherit;
}
.shots-tabs button.active {
  background: var(--deep); color: #fff; border-color: var(--deep);
}
.shot-stage {
  background: #fff; border-radius: 18px; padding: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(28,40,52,0.06);
}
.shot-stage img { border-radius: 10px; margin: 0 auto; max-height: 520px; object-fit: contain; width: 100%; }
.shot-caption { color: var(--mute); text-align: center; margin-top: .75rem; font-size: .9rem; }
.shot-thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; margin-top: 1rem;
}
.shot-thumbs button {
  border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  padding: 0; cursor: pointer; background: none;
}
.shot-thumbs button.active { border-color: var(--acc); }
.shot-thumbs img { width: 100%; height: 56px; object-fit: cover; object-position: top; }

.feat-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1.75rem;
}
.feat-list h3 {
  font-family: var(--display); font-size: 1.1rem; margin-bottom: .35rem;
  letter-spacing: -0.02em;
}
.feat-list p { color: var(--mute); font-size: .95rem; }

.queue-sec {
  background:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(232,160,74,0.16), transparent 55%),
    linear-gradient(165deg, #fff8f0, #eef5f6);
  color: var(--ink);
}
.queue-sec h2 { color: var(--ink); }
.queue-sec .lead { color: var(--mute); }
.queue-flow {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .5rem;
}
.queue-flow > div {
  padding: 1.15rem 1.1rem; border-radius: 16px;
  background: rgba(255,255,255,0.88); border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28,40,52,0.04);
}
.queue-flow h3 {
  font-family: var(--display); font-size: 1.05rem; margin: .55rem 0 .4rem; color: var(--ink);
}
.queue-flow p { color: var(--mute); font-size: .92rem; }
.qn {
  display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--acc2));
  color: #fff; font-weight: 800; font-family: var(--display);
}
.queue-sec .compare-note { color: var(--mute); }
.queue-extra {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 1.35rem;
}
.queue-extra p {
  margin: 0; padding: 1rem 1.1rem; border-radius: 14px;
  background: rgba(255,255,255,0.8); border: 1px solid var(--line);
  color: var(--mute); font-size: .92rem;
}
.queue-extra strong { color: var(--ink); font-weight: 700; }

.design-sec { background: #fff; }
.design-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.design-grid > div {
  padding: 1.25rem 1.2rem; border-radius: 16px;
  border: 1px solid var(--line); background: var(--paper);
}
.design-grid h3 {
  font-family: var(--display); font-size: 1.15rem; margin-bottom: .45rem;
}
.design-grid p { color: var(--mute); font-size: .95rem; }

.demo-sec { background: #fff; }
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.demo-grid a {
  display: block; padding: .9rem 1rem; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); font-weight: 700;
}
.demo-grid a:hover { border-color: var(--acc); color: var(--acc); }
.demo-grid small { display: block; color: var(--mute); font-weight: 500; margin-top: .25rem; }

.price-wrap { text-align: center; max-width: 36rem; margin-inline: auto; }
.price-sum {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  color: var(--acc); letter-spacing: -0.04em; margin: .4rem 0 0.6rem;
}
.price-list {
  text-align: left; list-style: none; margin: 1.2rem auto 1.5rem;
  color: var(--mute);
}
.price-list li {
  padding: .45rem 0 .45rem 1.3rem;
  position: relative; border-bottom: 1px solid var(--line);
}
.price-list li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--acc);
}

.order-sec { background: #fff; }
.order-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.2rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: .25rem; color: var(--mute); }
input, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .85rem; font: inherit; background: #fff;
}
textarea { min-height: 96px; resize: vertical; }
.form-full { grid-column: 1 / -1; }

.modal-back {
  position: fixed; inset: 0; background: rgba(28,40,52,.45);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 1rem;
}
.modal-back.show { display: flex; }
.modal {
  width: min(520px, 100%); max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 18px; padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
}
.modal.wide { width: min(720px, 100%); }
.modal h3 { margin-bottom: .35rem; }
.modal .mute { color: var(--mute); font-size: .92rem; margin-bottom: .8rem; }
.chat-log {
  height: 280px; overflow: auto; background: #f7f5f1; color: var(--ink);
  border-radius: 12px; padding: .75rem; margin: .6rem 0; border: 1px solid var(--line);
}
.chat-bubble { max-width: 88%; margin: .35rem 0; padding: .55rem .75rem; border-radius: 12px; white-space: pre-wrap; }
.chat-bubble.me { background: var(--acc); color: #fff; margin-left: auto; }
.chat-bubble.them { background: #fff; border: 1px solid var(--line); }
.chat-meta { font-size: .68rem; opacity: .75; margin-top: .15rem; }
.chat-compose { display: flex; gap: .45rem; }
.toast {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .65rem 1rem; border-radius: 999px;
  display: none; z-index: 120;
}
.toast.show { display: block; }

footer {
  background: var(--deep); color: #9eb0c0;
  padding: 2rem 0; font-size: .9rem;
}

@media (max-width: 900px) {
  .feat-list, .demo-grid, .form-grid, .queue-flow, .design-grid, .queue-extra { grid-template-columns: 1fr; }
  .shot-thumbs { grid-template-columns: repeat(4, 1fr); }
  .nav-links { display: none; }
  .hero-bleed { min-height: 78vh; align-items: flex-end; padding-bottom: 3rem; }
}
