:root {
  --bg: #fff9f4;
  --surface: #ffffff;
  --surface-2: #fff0e7;
  --text: #24364a;
  --muted: #61707e;
  --line: #eadfd5;
  --primary: #277275;
  --primary-dark: #19575a;
  --accent: #ee7f52;
  --accent-soft: #fff0e7;
  --shadow: 0 16px 34px rgba(67, 48, 35, 0.10);
  --radius: 8px;
  --radius-sm: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffaf5 0%, #f7fbfa 58%, #fbfdff 100%);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.12; color: var(--text); }
h1 { font-size: clamp(2.1rem, 3.2vw, 3.45rem); letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 2.25vw, 2.35rem); letter-spacing: 0; }
h3 { font-size: 1.35rem; }
ul { padding-left: 1.15rem; color: var(--muted); }
li { margin-bottom: 0.55rem; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 4.5rem 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid #eadfd5;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.kicker-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
}
.lead {
  font-size: 1.15rem;
  max-width: 720px;
}
.tiny {
  font-size: 0.95rem;
  color: var(--muted);
}
.text-center { text-align: center; }
.muted { color: var(--muted); }
.surface {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(217,228,241,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.inline { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-2);
  color: #7a3e24;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 600;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 28px rgba(39,114,117,0.23);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(39,114,117,0.28); }
.btn-secondary {
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border-color: #bfd0e8;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 245, 0.86);
  border-bottom: 1px solid rgba(234,223,213,0.85);
}
.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  font-size: 1.04rem;
}
.brand img {
  width: 190px;
  max-width: 48vw;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary-dark); }
.mobile-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 5.2rem 0 4.1rem;
  background: linear-gradient(180deg, #fff7ef 0%, rgba(255,255,255,0) 100%);
}
.hero h1 {
  max-width: 760px;
}
.page-hero h1 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.hero-visual,
.card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(217,228,241,0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-visual {
  padding: 1rem;
}
.window-bar {
  display: flex;
  gap: 0.45rem;
  padding-bottom: 0.9rem;
}
.window-bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #e4d8cc;
}
.mockup-page {
  background: linear-gradient(180deg, #fffaf6, #f4fbfa);
  border-radius: 8px;
  border: 1px solid #eadfd5;
  padding: 1.25rem;
}
.profile-preview {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eadfd5;
  box-shadow: 0 10px 22px rgba(67, 48, 35, 0.08);
}
.avatar,
.avatar-lg,
.photo-placeholder {
  background: linear-gradient(135deg, #ffe0cf, #e6f4f2);
  border: 1px solid #ead4c6;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.avatar::before,
.avatar-lg::before,
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 28%, rgba(255,255,255,0.9), transparent 26%),
              radial-gradient(circle at 50% 95%, rgba(238,127,82,0.28), rgba(39,114,117,0.12) 38%, transparent 40%);
}
.avatar { width: 100px; height: 120px; }
.avatar-lg { width: 170px; height: 200px; }
.photo-placeholder { width: 100%; min-height: 220px; }
.profile-photo { width: 112px; height: 136px; }
.profile-preview-body h2 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.profile-preview-body h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 0.45rem;
}
.profile-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.65rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  background: #eaf7f4;
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
}
.profile-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.profile-actions span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 8px;
  background: #fff8f2;
  border: 1px solid #eadfd5;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}
.share-note {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #f7fbfa;
  border: 1px solid #d8ebe8;
}
.share-note strong { color: var(--primary-dark); }
.share-note span { color: var(--muted); }
.trust-line {
  margin-top: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.share-channels .badge {
  background: #fff;
  border: 1px solid #eadfd5;
  color: var(--text);
}
.mock-lines { display: flex; flex-direction: column; gap: 0.8rem; }
.line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7eef8, #f5f9ff);
}
.line.short { width: 45%; }
.line.mid { width: 66%; }
.line.long { width: 92%; }
.metric-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1rem; }
.metric {
  padding: 0.95rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5edf8;
}
.metric strong { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; }
.card { padding: 1.4rem; }
.card.soft { background: linear-gradient(180deg, #ffffff, #fff8f2); }
.card h2 { font-size: clamp(1.5rem, 2vw, 2.15rem); }
.card h3, .card h4 { margin-bottom: 0.65rem; }
.icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, #fff0e7, #e9f7f4);
  margin-bottom: 1rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.promo {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #24364a, #19575a);
  color: #fff;
}
.promo h2, .promo p { color: #fff; }
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 4.2rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pricing-card .price-note {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: #7a3e24;
  font-size: 0.92rem;
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 1rem;
}
.pricing-card.highlight {
  position: relative;
  border: 1px solid rgba(39,114,117,0.28);
  box-shadow: 0 24px 48px rgba(39,114,117,0.15);
}
.pricing-card.highlight::after {
  content: "Most popular";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: #eaf7f4;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}
.placeholder-shot {
  min-height: 230px;
  border: 1px dashed #bdd0e8;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8f2, #fbfffd);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.4rem;
}
.placeholder-shot strong { font-size: 1.05rem; }
.faq-item {
  padding: 1.35rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.88);
}
.case-study-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.case-study-card {
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7fbfa, #fff8f2);
  border: 1px solid #eadfd5;
}
.case-browser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eadfd5;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}
.case-browser::before {
  content: "";
  width: 52px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ee7f52 0 10px, #f3bd62 10px 22px, #277275 22px 34px, transparent 34px);
}
.case-profile {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #eadfd5;
}
.case-screenshot {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: top center;
  margin-top: 1rem;
  border-radius: 8px;
  border: 1px solid #eadfd5;
  box-shadow: 0 12px 24px rgba(67, 48, 35, 0.10);
}
.screenshot-showcase {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.5rem;
  align-items: start;
}
.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 1rem;
  align-items: start;
}
.screenshot-frame {
  margin: 0;
  padding: 0.8rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.screenshot-frame img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eadfd5;
  object-fit: cover;
  object-position: top center;
}
.desktop-shot img {
  height: auto;
  max-height: 520px;
}
.mobile-shot img { height: 500px; }
.screenshot-frame figcaption {
  margin-top: 0.7rem;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}
.form-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
}
.form-card,
.info-card {
  padding: 1.5rem;
}
label {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
input, select, textarea {
  width: 100%;
  border: 1px solid #d9cbbf;
  background: #fff;
  border-radius: 8px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #72aaa8;
  box-shadow: 0 0 0 4px rgba(39,114,117,0.10);
}
input[type="file"] {
  padding: 0.55rem;
  color: var(--muted);
}
input[type="file"]::file-selector-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 0.68rem 1rem;
  margin-right: 0.85rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
input[type="file"]::file-selector-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
input[type="file"]::-webkit-file-upload-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 0.68rem 1rem;
  margin-right: 0.85rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
textarea { min-height: 130px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1rem; }
.form-hp {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}
.upload-placeholder {
  padding: 1rem;
  border: 1px dashed #a9bfdc;
  border-radius: 8px;
  background: #fff8f2;
  color: var(--muted);
}
.notice {
  border-left: 4px solid var(--accent);
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 0 8px 8px 0;
  background: #f4fbf8;
}
.success-message {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  background: #edf9f6;
  color: #155b53;
  font-weight: 700;
}
.page-hero {
  padding: 4.5rem 0 2.5rem;
}
.page-hero .surface {
  padding: 2rem;
}
.profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.4rem;
}
.profile-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
}
.profile-main { display: flex; flex-direction: column; gap: 1.25rem; }
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.tag {
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: #fff8f2;
  border: 1px solid #eadfd5;
  color: var(--primary-dark);
  font-weight: 600;
}
.timeline {
  display: grid;
  gap: 1rem;
}
.timeline-item {
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}
.share-box {
  padding: 1rem;
  background: #fffaf6;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.code-copy {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.93rem;
  color: var(--text);
}
.viewer-login {
  max-width: 560px;
  margin: 0 auto;
}
.viewer-login-form {
  margin-top: 1.2rem;
}
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.viewer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.viewer-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}
.viewer-table th,
.viewer-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.viewer-table th {
  color: var(--primary-dark);
  font-size: 0.88rem;
  background: #fff8f2;
}
.viewer-table td {
  color: var(--muted);
  font-size: 0.94rem;
}
.viewer-table td strong,
.viewer-table td span {
  display: block;
}
.viewer-table a {
  color: var(--primary-dark);
  font-weight: 800;
}
.viewer-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.34rem 0.65rem;
  border-radius: 999px;
  background: #eaf7f4;
  color: var(--primary-dark);
  font-weight: 800;
}
.viewer-detail-row td {
  background: #fffdf9;
}
.viewer-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.viewer-detail div {
  padding: 0.75rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}
.viewer-detail strong {
  margin-bottom: 0.3rem;
  color: var(--text);
}
.viewer-detail span {
  color: var(--muted);
}
.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(217,228,241,0.85);
  background: rgba(255,255,255,0.72);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.4rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--primary-dark); }
.spacer-sm { height: 0.5rem; }
.spacer-md { height: 1rem; }
.spacer-lg { height: 1.5rem; }

@media (max-width: 1080px) {
  .hero-grid,
  .split,
  .case-study-feature,
  .screenshot-showcase,
  .form-shell,
  .profile-layout,
  .viewer-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .nav .btn { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 3.6rem 0; }
  .hero { padding: 3.7rem 0 3.4rem; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
  .metric-row,
  .profile-preview,
  .case-profile {
    grid-template-columns: 1fr;
  }
  .avatar-lg { width: 100%; max-width: 220px; }
  .profile-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-photo { width: 100%; max-width: 180px; }
  .desktop-shot img,
  .mobile-shot img {
    height: auto;
    max-height: 620px;
  }
}
