:root {
  color-scheme: light;
  --bg: #f4dfc1;
  --bg-soft: #fbf0df;
  --paper: rgba(255, 248, 239, 0.84);
  --paper-strong: rgba(255, 249, 241, 0.92);
  --paper-solid: #fff9f2;
  --ink: #2d1e12;
  --ink-soft: #523722;
  --muted: #735438;
  --line: rgba(110, 76, 39, 0.16);
  --line-strong: rgba(110, 76, 39, 0.24);
  --accent: #7aab3d;
  --accent-deep: #5d832d;
  --accent-soft: rgba(122, 171, 61, 0.14);
  --copper: #8a6444;
  --shadow: 0 28px 70px rgba(84, 51, 19, 0.12);
  --shadow-soft: 0 14px 30px rgba(84, 51, 19, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(122, 171, 61, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(138, 100, 68, 0.18), transparent 34%),
    linear-gradient(180deg, #f8ead4 0%, #f4dfc1 38%, #f8efe3 100%);
}

a {
  color: inherit;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(248, 234, 212, 0.92), rgba(248, 234, 212, 0.7));
  border-bottom: 1px solid rgba(110, 76, 39, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-logo {
  width: clamp(58px, 7vw, 72px);
  height: auto;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background-color 140ms ease;
}

.header-cta,
.button-primary {
  color: #102000;
  background: linear-gradient(180deg, #8dc04a, var(--accent));
  box-shadow: 0 12px 24px rgba(105, 147, 48, 0.22);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 248, 239, 0.72);
  border-color: var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.workflow-list,
.premium-cards,
.faq-grid,
.feature-grid {
  min-width: 0;
}

.hero-copy {
  padding: 24px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.79rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.1rem);
  line-height: 0.95;
  max-width: 12ch;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-text,
.section-heading p,
.premium-card p,
.feature-card p,
.faq-card p,
.footer-copy,
.collaboration-copy p,
.workflow-list p,
.hero-points li,
.panel-card p,
.panel-card span,
.form-note,
.footer-meta,
.footer-support,
.thank-you-copy {
  color: var(--ink-soft);
  line-height: 1.68;
}

.platform-strip,
.platform-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platform-strip {
  margin-top: 24px;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 239, 0.8);
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.95rem;
}

.platform-chip svg {
  width: 18px;
  height: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-points li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.point-icon,
.feature-icon,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid rgba(122, 171, 61, 0.22);
}

.point-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

.hero-panel,
.workflow-list,
.faq-card,
.feature-card {
  border: 1px solid var(--line);
  background: var(--paper);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 22px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.gallery-band {
  padding-top: 18px;
}

.gallery-heading {
  margin-bottom: 20px;
}

.gallery-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.gallery-viewport {
  min-width: 0;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 12px 18px;
  margin: -12px -12px -18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.phone-frame {
  margin: 0;
  width: min(100%, 360px);
  padding: 14px;
  border-radius: 42px;
  border: 1px solid rgba(90, 62, 33, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 228, 210, 0.98));
  box-shadow:
    0 30px 60px rgba(84, 51, 19, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.phone-frame-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #f7efe4;
  box-shadow: inset 0 0 0 1px rgba(57, 38, 22, 0.1);
}

.phone-frame-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 18px;
  border-radius: 999px;
  background: rgba(46, 30, 18, 0.9);
  z-index: 1;
}

.phone-frame-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-caption {
  width: min(100%, 520px);
  text-align: center;
}

.gallery-kicker {
  margin-bottom: 8px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 800;
}

.gallery-caption strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.gallery-caption span {
  color: var(--ink-soft);
  line-height: 1.66;
}

.gallery-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform 140ms ease,
    background-color 140ms ease,
    border-color 140ms ease;
}

.gallery-arrow:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.gallery-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gallery-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(110, 76, 39, 0.22);
  cursor: pointer;
  transition:
    transform 140ms ease,
    background-color 140ms ease;
}

.gallery-dot.is-active {
  transform: scale(1.15);
  background: var(--accent-deep);
}

.panel-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 249, 241, 0.78);
  border: 1px solid rgba(110, 76, 39, 0.1);
}

.panel-primary {
  background: linear-gradient(160deg, rgba(255, 249, 241, 0.96), rgba(245, 232, 210, 0.96));
}

.panel-label {
  margin-bottom: 12px;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  font-weight: 800;
}

.panel-card strong,
.panel-card h2 {
  display: block;
  margin-bottom: 10px;
}

.card-icon,
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.signup-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hidden-field {
  display: none;
}

.form-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

.form-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: var(--paper-solid);
  color: var(--ink);
  font: inherit;
}

.form-field input:focus,
.consent-field input:focus {
  outline: 2px solid rgba(122, 171, 61, 0.34);
  outline-offset: 2px;
}

.consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.consent-field input {
  margin: 2px 0 0;
  accent-color: var(--accent-deep);
}

.form-submit {
  width: 100%;
}

.band,
.workflow,
.faq {
  padding: 46px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 0;
}

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

.feature-card,
.faq-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.workflow-grid,
.premium-grid,
.collaboration-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.workflow-grid {
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 26px;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 20px;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.workflow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 800;
}

.premium-band {
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.3), rgba(255, 245, 232, 0.52));
}

.premium-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.premium-cards {
  display: grid;
  gap: 16px;
}

.premium-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 239, 0.7);
  border: 1px solid var(--line-strong);
}

.collaboration-band {
  padding-top: 18px;
}

.collaboration-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid rgba(110, 76, 39, 0.12);
  border-bottom: 1px solid rgba(110, 76, 39, 0.12);
}

.site-footer {
  padding: 30px 0 52px;
}

.footer-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.footer-links-wrap {
  display: grid;
  gap: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.footer-links a,
.footer-meta a,
.footer-support a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-meta a:hover,
.footer-support a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.thank-you-body {
  min-height: 100vh;
}

[hidden] {
  display: none !important;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.invite-body {
  min-height: 100vh;
}

.invite-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.invite-shell {
  max-width: 760px;
  padding: 40px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.invite-logo {
  width: min(180px, 52vw);
  height: auto;
  margin-bottom: 18px;
}

.invite-copy,
.invite-status,
.invite-help {
  color: var(--ink-soft);
  line-height: 1.68;
}

.invite-status {
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--copper);
}

.invite-actions,
.invite-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.invite-footer-actions {
  margin-top: 20px;
}

.invite-token-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 249, 241, 0.78);
  border: 1px solid rgba(110, 76, 39, 0.12);
}

.invite-token {
  display: block;
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 248, 239, 0.92);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-all;
  white-space: break-spaces;
}

.thank-you-shell {
  max-width: 720px;
  text-align: center;
  padding: 40px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.thank-you-logo {
  width: min(220px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.thank-you-copy {
  margin: 0 auto 24px;
  max-width: 50ch;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 980px) {
  .header-row,
  .hero-grid,
  .workflow-grid,
  .premium-grid,
  .collaboration-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-row {
    display: grid;
  }

  .header-nav {
    order: 3;
  }

  .header-cta {
    width: fit-content;
  }

  h1 {
    max-width: 14ch;
  }

  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-arrow {
    display: none;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 24px, 1140px);
  }

  .site-header {
    position: static;
  }

  .header-row {
    gap: 14px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding: 0;
  }

  .band,
  .workflow,
  .faq {
    padding: 34px 0;
  }

  .feature-grid,
  .faq-grid,
  .panel-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .workflow-list,
  .feature-card,
  .faq-card,
  .premium-card,
  .thank-you-shell,
  .invite-shell {
    border-radius: 22px;
  }

  .workflow-list {
    padding: 20px;
  }

  .workflow-list li {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .workflow-list span {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero-points li {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .point-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .brand-logo {
    width: clamp(58px, 18vw, 70px);
  }

  .form-field input {
    min-height: 52px;
  }

  .gallery-track {
    gap: 14px;
    padding-inline: 6px;
    margin-inline: -6px;
  }

  .gallery-slide {
    flex-basis: 84%;
  }

  .phone-frame {
    width: 100%;
    padding: 10px;
    border-radius: 32px;
  }

  .phone-frame-screen {
    border-radius: 24px;
  }

  .phone-frame-screen::before {
    top: 8px;
    height: 14px;
  }

  .gallery-caption {
    text-align: left;
  }
}
