:root {
  --bg: #f7f2ea;
  --bg-soft: #fbf8f3;
  --surface: #fffdf9;
  --surface-muted: #efe6d8;
  --text: #24201c;
  --muted: #665f55;
  --faint: #8b8174;
  --border: #ded2c1;
  --border-strong: #c4b28f;
  --accent: #7b643f;
  --accent-dark: #3a3023;
  --accent-soft: #e5d8bf;
  --shadow: 0 2px 8px rgba(36, 32, 28, 0.1);
  --shadow-soft: 0 2px 8px rgba(36, 32, 28, 0.08);
  --radius: 10px;
  --radius-small: 8px;
  --container: 1180px;
  --font-main: "Avenir Next", Avenir, "Helvetica Neue", Calibri, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  background: var(--accent-dark);
  color: #fffdf9;
  padding: 8px 12px;
  border-radius: var(--radius-small);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 64px 0;
}

.section-border {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.section-warm {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 234, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(100% - 40px, var(--container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
}

.desktop-nav,
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15.5px;
}

.desktop-nav a,
.footer-nav a {
  padding: 4px 0;
}

.desktop-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  padding: 11px 18px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-solid {
  background: var(--accent-dark);
  color: #fffdf9;
  border-color: var(--accent-dark);
}

.button-solid:hover {
  background: #241f18;
  border-color: #241f18;
  color: #fffdf9;
}

.button-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.button-outline:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--text);
}

.full-button {
  width: 100%;
}

.menu-toggle {
  display: none;
  min-height: 46px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--text);
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.mobile-nav {
  width: min(100% - 40px, var(--container));
  margin: 0 auto 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 8px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-small);
  color: var(--muted);
}

.mobile-nav a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.hero {
  padding-top: 86px;
  padding-bottom: 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: 56px;
  align-items: center;
}

.hero-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
}

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

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: 64px;
  font-weight: 750;
  line-height: 1.1;
}

h2 {
  margin-bottom: 16px;
  font-size: 36px;
  font-weight: 750;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 750;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.value-list,
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
}

.hero-points li,
.idea-card,
.addon-item,
.process-note,
.solution-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.hero-points li {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 16px;
}

.workflow-card,
.trial-card,
.pricing-card,
.portfolio-card,
.form-shell,
.faq-item,
.process-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.workflow-card {
  padding: 28px;
  border-color: var(--border-strong);
  background: #fffbf5;
}

.workflow-top {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.workflow-top p:first-child {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 18px;
  font-weight: 750;
}

.workflow-top p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.workflow-list li {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--bg-soft);
}

.workflow-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 16.5px;
}

.workflow-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.two-column,
.trial-layout,
.contact-layout,
.faq-layout,
.addon-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 17px;
}

.copy-stack p {
  margin-bottom: 14px;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.solution-box {
  padding: 22px;
}

.solution-box p {
  margin-bottom: 0;
}

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

.section-heading p,
.addon-layout > div > p,
.faq-layout > div > p,
.contact-layout > div > p,
.trial-layout > div > p {
  color: var(--muted);
  font-size: 17px;
}

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

.idea-card {
  min-height: 112px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  font-size: 16.5px;
  font-weight: 700;
}

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

.process-card {
  padding: 20px;
}

.step-number {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 15.5px;
  font-weight: 750;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.process-note {
  margin-top: 18px;
  padding: 20px;
}

.process-note p {
  margin-bottom: 12px;
  color: var(--muted);
}

.process-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.process-links a {
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--muted);
  padding: 9px 13px;
  font-size: 15.5px;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fffdf9;
}

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

.portfolio-card {
  overflow: hidden;
}

.portfolio-media {
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 12px;
  background: #f0e8dc;
  border-bottom: 1px solid var(--border);
}

.portfolio-phone {
  width: min(330px, 100%);
  aspect-ratio: 9 / 16;
  padding: 7px;
  border: 1px solid var(--accent-dark);
  border-radius: 14px;
  background: #19140f;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.portfolio-phone iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: #000;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: grid;
  align-content: center;
  border: 0;
  border-radius: 10px;
  background: #fffdf9;
  color: var(--muted);
  text-align: center;
}

.portfolio-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
}

.portfolio-placeholder p {
  margin-bottom: 12px;
  font-size: 15.5px;
}

.portfolio-placeholder span {
  color: var(--accent);
  font-size: 14.5px;
  font-weight: 750;
}

.portfolio-body {
  padding: 20px;
}

.portfolio-label,
.plan-note {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 750;
}

.portfolio-body p {
  color: var(--muted);
  font-size: 16px;
}

.portfolio-body p:last-child {
  margin-bottom: 0;
}

.trial-section {
  background: var(--accent-dark);
  color: #fffdf9;
  padding: 78px 0;
}

.trial-section h2,
.trial-section p {
  color: #fffdf9;
}

.trial-section p {
  color: #eee4d6;
}

.trial-section .trial-layout > div > p {
  color: #eee4d6;
}

.trial-card {
  background: var(--surface);
  color: var(--text);
  padding: 28px;
  border-color: var(--border-strong);
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
}

.price-line strong {
  font-size: 46px;
  line-height: 1;
}

.price-line span {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.check-list li {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 16px;
}

.check-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

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

.pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
}

.pricing-card.is-featured {
  border-color: var(--border-strong);
}

.pricing-card.is-trial {
  border-color: var(--accent-dark);
  background: #fffaf2;
}

.pricing-card.is-essential {
  border-color: var(--accent);
  background: #fffdf8;
}

.pricing-card h3 {
  min-height: 48px;
}

.pricing-price {
  margin-bottom: 10px;
}

.pricing-price strong {
  font-size: 36px;
  line-height: 1;
}

.pricing-price span {
  color: var(--muted);
}

.plan-audience {
  min-height: 126px;
  color: var(--muted);
  font-size: 16px;
}

.pricing-card .check-list {
  flex: 1;
  margin-top: 6px;
}

.addon-layout {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
}

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

.addon-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: 16px;
}

.addon-item strong {
  color: var(--text);
}

.addon-item span {
  color: var(--muted);
  text-align: right;
}

.faq-layout {
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 20px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.contact-section {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.contact-layout {
  grid-template-columns: minmax(260px, 0.5fr) minmax(620px, 1.25fr);
  gap: 56px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.form-shell {
  min-height: 430px;
  overflow: hidden;
  border-color: var(--border-strong);
  background: #fffdf9;
}

.form-shell.has-embed {
  min-height: 1400px;
}

.tally-placeholder {
  height: 100%;
  min-height: 430px;
  padding: 32px;
  display: grid;
  align-content: center;
  gap: 12px;
  background: #fffbf5;
}

.tally-placeholder h3 {
  margin-bottom: 4px;
  font-size: 24px;
}

.tally-placeholder p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.tally-placeholder code {
  display: inline-block;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--bg-soft);
  color: var(--accent-dark);
  padding: 4px 8px;
}

.tally-frame {
  display: block;
  width: 100%;
  min-height: 1400px;
  border: 0;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 44px 0;
  font-size: 16px;
}

.footer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer .brand {
  color: var(--text);
}

.copyright {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: var(--faint);
  font-size: 15px;
}

:focus-visible {
  outline: 3px solid rgba(123, 100, 63, 0.35);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 52px;
  }

  .hero-grid,
  .two-column,
  .trial-layout,
  .contact-layout,
  .faq-layout,
  .addon-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .idea-grid,
  .process-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-audience,
  .pricing-card h3 {
    min-height: auto;
  }
}

@media (max-width: 780px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-points,
  .idea-grid,
  .process-grid,
  .portfolio-grid,
  .pricing-grid,
  .addon-list {
    grid-template-columns: 1fr;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .container,
  .header-inner,
  .mobile-nav {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 44px 0;
  }

  .hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 19px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.14;
  }

  h2 {
    font-size: 27px;
  }

  .workflow-card,
  .trial-card,
  .pricing-card,
  .portfolio-body,
  .faq-item,
  .process-card,
  .tally-placeholder {
    padding: 18px;
  }

  .form-shell.has-embed,
  .tally-frame {
    min-height: 1320px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .addon-item {
    display: block;
  }

  .addon-item span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}
