/* ==========================================================================
   Porchwell Studio: site styles
   Colors, fonts and spacing are set in the tokens below.
   ========================================================================== */

:root {
  --cream: #F5EFE4;
  --paper: #FBF8F2;
  --ink: #1C1712;
  --ink-2: #4F473D;
  --ink-3: #6E655A;
  --line: rgba(28, 23, 18, 0.12);
  --line-strong: rgba(28, 23, 18, 0.2);
  --amber: #EBA53F;
  --amber-soft: #F6DDB0;
  --ember: #B4470F;
  --night: #121C26;
  --night-line: rgba(245, 239, 228, 0.12);
  --on-night: rgba(245, 239, 228, 0.74);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(28, 23, 18, 0.05), 0 10px 30px rgba(28, 23, 18, 0.07);
  --shadow-lg: 0 2px 6px rgba(28, 23, 18, 0.06), 0 30px 70px -12px rgba(28, 23, 18, 0.24);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fine paper grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5.4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.eyebrow {
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 58ch;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  text-wrap: pretty;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.btn-sm {
  padding: 0.68rem 1.1rem;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px -12px rgba(235, 165, 63, 0.9), 0 0 0 4px rgba(235, 165, 63, 0.18);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(28, 23, 18, 0.05);
}

.btn-amber {
  background: var(--amber);
  color: var(--ink);
}

.btn-amber:hover {
  box-shadow: 0 14px 32px -12px rgba(235, 165, 63, 0.95);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

a:hover > .arrow {
  transform: translateX(3px);
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s, border-color 0.25s;
}

.site-header.scrolled,
.menu-open .site-header {
  border-bottom-color: var(--line);
  background: rgba(245, 239, 228, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  width: 32px;
  height: 32px;
}

.brand-light {
  font-style: italic;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.5px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle span:first-child {
  top: 16px;
}

.menu-toggle span:last-child {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 20.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  top: 20.5px;
  transform: rotate(-45deg);
}

.menu-toggle:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.mobile-menu {
  border-top: 1px solid var(--line);
}

.mobile-menu .container {
  display: grid;
  padding-block: 0.5rem 1.5rem;
}

.mobile-menu a:not(.btn) {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu .btn {
  margin-top: 1.25rem;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(36px, 6vw, 88px) clamp(64px, 9vw, 120px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  list-style: none;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(235, 165, 63, 0.2);
}

.hero-visual {
  position: relative;
}

.glow {
  position: absolute;
  inset: -16% -12% -12%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(235, 165, 63, 0.45), rgba(235, 165, 63, 0.14) 55%, rgba(235, 165, 63, 0));
}

/* Showcase (browser frame with sample concepts) -------------------------- */

.showcase {
  position: relative;
  z-index: 1;
}

.browser {
  overflow: hidden;
  border: 1px solid rgba(28, 23, 18, 0.08);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(28, 23, 18, 0.07);
  background: #EEE7DB;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D6CBBA;
}

.url {
  flex: 1;
  max-width: 250px;
  margin-inline: auto;
  padding: 4px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-3);
  font-size: 0.76rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform: translateX(-20px);
}

.browser-body {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #fff;
  container-type: inline-size;
}

.showcase-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 18px auto 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 242, 0.7);
}

.showcase-tabs button {
  position: relative;
  overflow: hidden;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.showcase-tabs button:hover {
  color: var(--ink);
}

.showcase-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--paper);
}

.showcase-tabs button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.showcase.auto .showcase-tabs button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 4px;
  left: 1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform-origin: left;
  animation: tab-progress 5s linear forwards;
}

@keyframes tab-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.tab-short {
  display: none;
}

.showcase-note {
  margin-top: 0.8rem;
  color: var(--ink-3);
  font-size: 0.82rem;
  text-align: center;
}

/* Sample concept mockups. Everything inside scales with the frame width. */

.concept {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease), visibility 0s linear 0.6s;
}

.concept.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease);
}

.concept-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  height: 100%;
  padding: 1em 1.3em 1.3em;
  font-family: var(--font-body);
  font-size: 12px;
  font-size: 2.05cqw;
  line-height: 1.3;
}

.c-nav {
  display: flex;
  align-items: center;
  gap: 1.2em;
}

.c-logo {
  margin-right: auto;
  font-weight: 600;
  white-space: nowrap;
}

.c-links {
  display: flex;
  gap: 1.3em;
  font-size: 0.82em;
  opacity: 0.72;
}

.c-links i {
  font-style: normal;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1.05em;
  border-radius: 999px;
  font-size: 0.78em;
  font-weight: 600;
  white-space: nowrap;
}

.c-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 0.75em;
}

.c-hero > svg,
.c-split-art > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 10, 16, 0.4) 0%, rgba(12, 10, 16, 0) 58%);
}

.c-hero-text {
  position: absolute;
  top: 1.3em;
  left: 1.4em;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55em;
  max-width: 50%;
  color: #fff;
}

.c-kicker {
  font-size: 0.68em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.c-title {
  font-family: var(--font-display);
  font-size: 2.2em;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

/* Builder concept */
.concept-builder {
  background: #F7F3EC;
  color: #1F1B17;
}

.concept-builder .c-logo {
  font-family: var(--font-display);
  font-size: 1.02em;
  letter-spacing: 0.28em;
}

.concept-builder .c-btn {
  background: #1F1B17;
  color: #F7F3EC;
}

.concept-builder .c-hero-text .c-btn {
  background: #F7F3EC;
  color: #1F1B17;
}

.c-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7em;
}

.c-thumb {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 5.2em;
  padding: 0.5em 0.65em;
  overflow: hidden;
  border-radius: 0.55em;
  color: #fff;
}

.c-thumb::before {
  content: "";
  position: absolute;
  right: 24%;
  bottom: 30%;
  left: 24%;
  height: 42%;
  background: rgba(20, 16, 13, 0.55);
  clip-path: polygon(0 38%, 50% 0, 100% 38%, 100% 100%, 0 100%);
}

.c-thumb::after {
  content: "";
  position: absolute;
  bottom: 36%;
  left: 45%;
  width: 10%;
  height: 14%;
  border-radius: 1px;
  background: #FFD48A;
  box-shadow: 0 0 0.9em 0.25em rgba(255, 196, 104, 0.6);
}

.c-thumb b {
  position: relative;
  z-index: 1;
  font-size: 0.7em;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.t1 { background: linear-gradient(165deg, #2C3E52 0%, #6D6676 52%, #D99A5B 100%); }
.t2 { background: linear-gradient(165deg, #7F8E7B 0%, #C9B999 60%, #EAD9BC 100%); }
.t3 { background: linear-gradient(165deg, #3A2D2A 0%, #946651 55%, #E0AE76 100%); }

/* Venue concept */
.concept-venue {
  background: #FBF6F3;
  color: #3A2A2E;
}

.concept-venue .c-logo {
  font-family: var(--font-display);
  font-size: 1.15em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.concept-venue .c-logo em {
  color: #9E5662;
  font-weight: 400;
}

.concept-venue .c-btn {
  background: #9E5662;
  color: #fff;
}

.concept-venue .c-hero-text .c-btn {
  background: #fff;
  color: #6B3E46;
}

.c-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.c-chips span {
  padding: 0.5em 0.95em;
  border: 1px solid rgba(158, 86, 98, 0.25);
  border-radius: 999px;
  background: #fff;
  color: #6B3E46;
  font-size: 0.74em;
}

/* Care home concept */
.concept-care {
  background: #F5F3EA;
  color: #26372B;
}

.concept-care .c-logo {
  color: #3F5A47;
  font-family: var(--font-display);
  font-size: 1.15em;
}

.concept-care .c-btn {
  background: #4F6F58;
  color: #fff;
}

.c-split {
  display: grid;
  flex: 1;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.3em;
  min-height: 0;
}

.c-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6em;
}

.concept-care .c-kicker {
  color: #6E8B74;
  opacity: 1;
}

.concept-care .c-title {
  color: #26372B;
  font-size: 2.05em;
}

.c-sub {
  color: #56645A;
  font-size: 0.8em;
  line-height: 1.45;
}

.c-split-art {
  position: relative;
  overflow: hidden;
  border-radius: 0.8em;
}

.c-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6em;
}

.c-cards span {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding: 0.65em 0.8em;
  border: 1px solid rgba(79, 111, 88, 0.16);
  border-radius: 0.6em;
  background: #fff;
  color: #56645A;
  font-size: 0.7em;
}

.c-cards b {
  color: #26372B;
  font-size: 1.1em;
}

/* Sections --------------------------------------------------------------- */

.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}

.section-head {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head.center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.ticks {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B4470F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8.5'/%3E%3C/svg%3E") center / 72% no-repeat;
}

/* Why */
.why {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.why-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.why-point {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-strong);
}

.why-point p {
  color: var(--ink-2);
}

/* Who we help */
.niches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.niche {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.niche::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--niche);
}

.niche:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-lg);
}

.niche-builder { --niche: #C0844F; }
.niche-venue { --niche: #B9737F; }
.niche-care { --niche: #7F9A7A; }

.niche-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--niche) 15%, transparent);
  color: var(--niche);
}

.niche-icon svg,
.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.niche-label {
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.niche h3 {
  font-size: 1.6rem;
}

.niche-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.niche-link:hover {
  color: var(--ember);
}

.who-note {
  margin-top: 2rem;
  color: var(--ink-2);
  text-align: center;
}

.who-note a {
  color: var(--ember);
  font-weight: 600;
}

/* How it works (night) */
.night {
  overflow: hidden;
  background: var(--night);
  color: var(--cream);
}

.night::before {
  content: "";
  position: absolute;
  top: -420px;
  left: 50%;
  width: 1000px;
  height: 900px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(235, 165, 63, 0.24), rgba(235, 165, 63, 0));
  transform: translateX(-50%);
}

.night > .container {
  position: relative;
  z-index: 1;
}

.night .eyebrow {
  color: var(--amber);
}

.night h2 em {
  color: var(--amber);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  list-style: none;
}

.step {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--night-line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.step-num {
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1;
}

.step h3 {
  color: var(--cream);
  font-size: 1.5rem;
}

.step p {
  color: var(--on-night);
}

.how-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: clamp(32px, 5vw, 48px);
}

.how-cta span {
  color: var(--on-night);
  font-size: 0.95rem;
}

/* What's included */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.feature {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  color: var(--ember);
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  color: var(--ink-2);
  font-size: 0.95rem;
}

/* Pricing */
.pricing {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  max-width: 1080px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(28px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--cream);
  box-shadow: var(--shadow-lg);
}

.price-card::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(235, 165, 63, 0.28), rgba(235, 165, 63, 0));
}

.price-card > * {
  position: relative;
}

.price-badge {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-per {
  color: var(--on-night);
  font-size: 1.15rem;
}

.price-sub,
.price-fine,
.price-start {
  color: var(--on-night);
}

.price-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.2rem;
  padding-block: 1.3rem;
  border-block: 1px solid var(--night-line);
  list-style: none;
  font-size: 0.96rem;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.price-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2em;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.price-card .btn {
  margin-top: 0.4rem;
}

.price-fine {
  margin-top: -0.4rem;
  font-size: 0.88rem;
  text-align: center;
}

.price-start {
  font-size: 0.92rem;
  text-align: center;
}

.price-start a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}

.compare {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.compare h3 {
  font-size: 1.6rem;
}

.compare-intro {
  color: var(--ink-2);
}

.compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.97rem;
}

.compare th,
.compare td {
  padding: 0.95rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare thead th {
  padding-top: 0.55rem;
  color: var(--ink-3);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare th:first-child {
  padding-left: 0;
}

.compare tbody th {
  color: var(--ink);
  font-weight: 600;
}

.compare td {
  color: var(--ink-2);
}

.compare .us {
  background: rgba(235, 165, 63, 0.16);
  color: var(--ink);
  font-weight: 600;
}

.compare thead .us {
  border-radius: 10px 10px 0 0;
  color: var(--ember);
}

.compare tbody tr:last-child .us {
  border-radius: 0 0 10px 10px;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-grid .section-head {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  position: relative;
  padding: 1.25rem 2.6rem 1.25rem 0;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.25s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list summary:focus-visible {
  border-radius: 6px;
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.faq-a {
  padding: 0 2.6rem 1.4rem 0;
  color: var(--ink-2);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 1.1rem;
}

.contact-alt {
  color: var(--ink-2);
}

.contact-alt a {
  color: var(--ember);
  font-weight: 600;
}

.form-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.field small {
  color: var(--ink-3);
  font-size: inherit;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  padding-right: 2.4rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E655A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 18px no-repeat;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ember);
  outline: none;
  box-shadow: 0 0 0 4px rgba(235, 165, 63, 0.25);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-fine {
  color: var(--ink-3);
  font-size: 0.85rem;
  text-align: center;
}

.form-status {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
}

.form-status.success { background: #E6EFE0; color: #2F4A2A; }
.form-status.error { background: #F7E1DA; color: #7A2E12; }
.form-status.info { background: #F6EBD6; color: #5E4211; }

/* Footer */
.site-footer {
  padding-block: 64px 32px;
  background: var(--night);
  color: var(--on-night);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 1rem;
}

.footer-col {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.footer-title {
  margin-bottom: 0.3rem;
  color: var(--cream);
  font-weight: 600;
}

.footer-col a {
  color: var(--on-night);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 0.9rem;
}

/* Sticky mobile call to action */
.sticky-cta {
  display: none;
}

/* Scroll reveal ---------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), translate 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.js .reveal.in,
.reveal-fallback:not(.ready) .reveal {
  opacity: 1;
  transform: none;
}

.niches > :nth-child(2),
.steps > :nth-child(2),
.price-grid > :nth-child(2),
.why-points > :nth-child(2),
.features > :nth-child(4n + 2) {
  transition-delay: 0.08s;
}

.niches > :nth-child(3),
.steps > :nth-child(3),
.why-points > :nth-child(3),
.features > :nth-child(4n + 3) {
  transition-delay: 0.16s;
}

.features > :nth-child(4n) {
  transition-delay: 0.24s;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: 100%;
    max-width: 660px;
    margin-inline: auto;
  }

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

  .features > * {
    transition-delay: 0s;
  }
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .niches,
  .steps,
  .why-points {
    grid-template-columns: 1fr;
  }

  .niches {
    max-width: 640px;
    margin-inline: auto;
  }

  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .sticky-cta {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    display: block;
    transform: translateY(160%);
    transition: transform 0.35s var(--ease);
  }

  .sticky-cta.show {
    transform: none;
  }

  .sticky-cta .btn {
    width: 100%;
    box-shadow: 0 14px 30px -10px rgba(28, 23, 18, 0.5);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand {
    font-size: 1.18rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .compare table {
    font-size: 0.9rem;
  }

  .compare th,
  .compare td {
    padding: 0.8rem 0.5rem;
  }

  .tab-long {
    display: none;
  }

  .tab-short {
    display: inline;
  }

  .showcase-tabs button {
    padding: 0.5rem 0.85rem;
  }

  .url {
    transform: none;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
