:root {
  --ink: #173f46;
  --ink-deep: #0f3036;
  --paper: #f6f1e7;
  --paper-light: #fbf8f1;
  --coral: #e47a5f;
  --coral-soft: #f1c1b4;
  --sage: #cfddd0;
  --line: rgba(23, 63, 70, 0.18);
  --white-line: rgba(246, 241, 231, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: white;
  border-radius: 99px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(18px);
  width: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  text-decoration: none;
}
.brand__mark { width: 44px; height: 44px; color: var(--ink); }
.brand__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.brand__name em {
  margin-left: 2px;
  color: var(--coral);
  font-family: "Newsreader", serif;
  font-size: 21px;
  font-weight: 500;
  text-transform: none;
}
.desktop-nav { display: flex; gap: 34px; }
.desktop-nav a {
  position: relative;
  color: rgba(23, 63, 70, 0.74);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.desktop-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--coral);
  transition: right 0.3s var(--ease);
}
.desktop-nav a:hover::after { right: 0; }
.header-cta {
  justify-self: end;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.header-cta:hover { color: var(--paper); background: var(--ink); transform: translateY(-2px); }
.header-cta span { margin-left: 8px; }
.menu-button, .mobile-nav { display: none; }

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(86px, 10vw, 160px) clamp(28px, 7.4vw, 120px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: #93614f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow span { width: 32px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .samples h2, .how h2, .identity h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.hero h1 { max-width: 820px; font-size: clamp(53px, 6.4vw, 99px); line-height: 0.92; }
.hero h1 em, .samples h2 em, .how h2 em, .identity h2 em { color: var(--coral); font-weight: 400; }
.hero__lead {
  max-width: 605px;
  margin: 34px 0 0;
  color: rgba(23, 63, 70, 0.72);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.65;
}
.hero__actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.button span { margin-left: 18px; }
.button--primary { color: var(--paper); background: var(--ink); }
.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(23, 63, 70, 0.15); }
.text-link { font-size: 13px; font-weight: 700; text-underline-offset: 6px; }
.text-link span { margin-left: 8px; color: var(--coral); }
.hero__art {
  position: relative;
  min-height: 630px;
  color: rgba(23, 63, 70, 0.45);
  background: var(--sage);
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.hero__art::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.16;
  background-image: radial-gradient(var(--ink) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.path-art { position: absolute; inset: 3% 2% 2% 15%; width: 83%; height: 94%; }
.hero__seal {
  position: absolute;
  right: 5%;
  bottom: 4%;
  width: 150px;
  height: 150px;
  color: var(--ink);
  animation: seal-spin 26s linear infinite;
}
.hero__seal text { fill: currentColor; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

.finder { padding: clamp(90px, 11vw, 165px) clamp(22px, 6vw, 92px); background: var(--paper-light); }
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  align-items: end;
  gap: 70px;
}
.section-heading h2 { max-width: 720px; font-size: clamp(46px, 5.6vw, 80px); line-height: 0.98; }
.section-heading > p { margin: 0 0 6px; color: rgba(23, 63, 70, 0.68); font-size: 15px; line-height: 1.7; }
.search-box {
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 15px;
  max-width: 900px;
  margin: 70px 0 32px;
  padding: 10px 13px 10px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 15px 45px rgba(23, 63, 70, 0.06);
}
.search-box svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.search-box input { width: 100%; padding: 14px 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.search-box input::placeholder { color: rgba(23, 63, 70, 0.44); }
.search-box__hint { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; color: rgba(23, 63, 70, 0.48); font-size: 11px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.category-card {
  min-height: 385px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, background 0.35s;
}
.category-card:hover { z-index: 2; transform: translateY(-8px); box-shadow: 0 26px 56px rgba(23, 63, 70, 0.13); }
.category-card--coral { background: var(--coral-soft); }
.category-card--sage { background: var(--sage); }
.category-card__number { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; }
.category-card__icon { display: grid; place-items: center; width: 57px; height: 57px; margin: 54px 0 30px; border: 1px solid currentColor; border-radius: 50%; font-family: "Newsreader", serif; font-size: 23px; }
.category-card h3 { margin: 0; font-family: "Newsreader", serif; font-size: 34px; font-weight: 500; letter-spacing: -0.04em; }
.category-card p { margin: 12px 0 24px; color: rgba(23, 63, 70, 0.68); font-size: 13px; line-height: 1.6; }
.category-card__state { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.category-card__state b { font-size: 17px; font-weight: 400; }

.samples {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(500px, 1.25fr);
  gap: clamp(60px, 9vw, 150px);
  padding: clamp(95px, 12vw, 180px) clamp(22px, 6vw, 92px);
  color: var(--paper);
  background: var(--ink);
}
.eyebrow--light { color: var(--coral-soft); }
.samples h2 { font-size: clamp(48px, 5.4vw, 78px); line-height: 0.96; }
.samples__title > p:last-child { max-width: 430px; margin: 28px 0 0; color: rgba(246, 241, 231, 0.6); font-size: 14px; line-height: 1.7; }
.resource-list { border-top: 1px solid var(--white-line); }
.resource-row {
  display: grid;
  grid-template-columns: 126px 1fr 66px 44px;
  align-items: center;
  gap: 22px;
  min-height: 150px;
  border-bottom: 1px solid var(--white-line);
  transition: background 0.25s, padding 0.35s var(--ease);
}
.resource-row:hover { padding: 0 14px; background: rgba(246, 241, 231, 0.05); }
.resource-row__type { color: var(--coral-soft); font-size: 10px; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; }
.resource-row h3 { margin: 0 0 7px; font-family: "Newsreader", serif; font-size: 25px; font-weight: 500; }
.resource-row p { margin: 0; color: rgba(246, 241, 231, 0.5); font-size: 12px; }
.resource-row__meta { color: rgba(246, 241, 231, 0.55); font-size: 11px; }
.resource-row button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--white-line);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.resource-row button:hover { color: var(--ink); background: var(--coral-soft); transform: rotate(10deg); }
.resource-row.is-hidden { display: none; }
.empty-state { padding: 28px 0; color: rgba(246, 241, 231, 0.62); }

.how {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(480px, 1.2fr);
  gap: clamp(60px, 10vw, 170px);
  padding: clamp(95px, 12vw, 180px) clamp(22px, 7vw, 110px);
  background: var(--paper-light);
}
.how h2 { font-size: clamp(53px, 6vw, 86px); line-height: 0.96; }
.how__steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.how__steps li { display: grid; grid-template-columns: 62px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.how__steps li > span { color: var(--coral); font-family: "Newsreader", serif; font-size: 28px; }
.how__steps h3 { margin: 0 0 8px; font-family: "Newsreader", serif; font-size: 26px; font-weight: 500; }
.how__steps p { max-width: 520px; margin: 0; color: rgba(23, 63, 70, 0.62); font-size: 14px; line-height: 1.65; }

.identity {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  color: var(--paper);
  background: var(--coral);
  overflow: hidden;
}
.identity::before {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0.15;
  background: repeating-linear-gradient(125deg, transparent 0 45px, rgba(246, 241, 231, 0.5) 46px, transparent 47px 92px);
}
.identity__seal {
  position: relative;
  z-index: 1;
  justify-self: center;
  font-family: "Newsreader", serif;
  font-size: clamp(250px, 34vw, 520px);
  font-weight: 500;
  line-height: 0.7;
  letter-spacing: -0.15em;
  opacity: 0.18;
}
.identity__copy { position: relative; z-index: 2; max-width: 850px; padding: 100px 9vw 100px 20px; }
.identity h2 { font-size: clamp(54px, 7vw, 102px); line-height: 0.88; }
.identity h2 em { color: var(--paper); }
.identity__copy > p:last-child { max-width: 610px; margin: 32px 0 0; color: rgba(246, 241, 231, 0.78); font-size: 16px; line-height: 1.7; }

.site-footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 45px clamp(22px, 5vw, 76px);
  color: var(--paper);
  background: var(--ink-deep);
}
.brand--footer .brand__name { color: var(--paper); }
.site-footer p { margin: 0; color: rgba(246, 241, 231, 0.64); font-size: 12px; }
.site-footer__note { justify-self: end; }
.site-footer__note a { color: var(--coral-soft); font-weight: 700; text-underline-offset: 4px; }
.site-footer__note a:hover { color: var(--paper); }
.preview-toast {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  max-width: 330px;
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--paper);
  background: var(--ink-deep);
  box-shadow: 0 16px 38px rgba(15, 48, 54, 0.3);
  font-size: 12px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.preview-toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    justify-self: end;
  }
  .menu-button span { display: block; width: 18px; height: 1px; background: var(--ink); }
  .mobile-nav {
    position: absolute;
    top: 78px;
    right: 22px;
    display: grid;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper-light);
    box-shadow: 0 20px 50px rgba(23, 63, 70, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s var(--ease);
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a { padding: 13px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-nav a:hover { background: var(--paper); }
  .hero { grid-template-columns: 1fr; }
  .hero__art { min-height: 520px; border-top: 1px solid var(--line); border-left: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .samples, .how { grid-template-columns: 1fr; }
  .identity { grid-template-columns: 0.5fr 1.5fr; }
  .resource-row { grid-template-columns: 116px 1fr 58px 42px; }
}

@media (max-width: 640px) {
  .site-header { height: 78px; padding: 0 18px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 17px; }
  .brand__name em { font-size: 19px; }
  .hero { min-height: 0; }
  .hero__copy { padding: 76px 22px 82px; }
  .hero h1 { max-width: 100%; font-size: clamp(45px, 13.5vw, 56px); }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero__art { min-height: 440px; }
  .hero__seal { width: 115px; height: 115px; }
  .finder { padding: 85px 18px; }
  .section-heading h2 { font-size: 49px; }
  .search-box { margin-top: 46px; }
  .search-box__hint { display: none; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 315px; }
  .category-card__icon { margin: 38px 0 24px; }
  .samples { grid-template-columns: 1fr; padding: 88px 20px; }
  .samples h2 { font-size: 51px; }
  .resource-row { grid-template-columns: 1fr 42px; gap: 14px; padding: 25px 0; }
  .resource-row:hover { padding: 25px 8px; }
  .resource-row__type { grid-column: 1 / -1; }
  .resource-row__meta { display: none; }
  .resource-row button { grid-column: 2; grid-row: 2; }
  .how { padding: 88px 22px; }
  .how h2 { font-size: 58px; }
  .identity { grid-template-columns: 1fr; min-height: 700px; }
  .identity__seal { position: absolute; right: -6%; bottom: 1%; font-size: 370px; }
  .identity__copy { padding: 90px 22px; }
  .identity h2 { font-size: 58px; }
  .site-footer { grid-template-columns: 1fr; min-height: 260px; align-content: center; }
  .site-footer__note { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* WAMM application ecosystem */
body.modal-open { overflow: hidden; }
.apps { padding: clamp(90px, 11vw, 165px) clamp(22px, 6vw, 92px); background: var(--paper-light); }
.apps__heading { margin-bottom: 68px; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.app-card--community {
  min-height: 620px;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(50px, 8vw, 130px);
  background: var(--coral-soft);
}
.app-card--raffles { background: var(--sage); }
.app-card--hours { background: var(--paper); }
.app-card--dynamics { background: #eadfd0; }
.app-card__copy { display: flex; flex-direction: column; }
.app-card__topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; font-size: 11px; font-weight: 700; letter-spacing: 0.11em; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid currentColor; border-radius: 99px; text-transform: uppercase; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ready { color: #1c6a54; }
.status--progress { color: #98624e; }
.app-card__eyebrow { margin: 0 0 17px; color: rgba(23, 63, 70, 0.64); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.app-card h3 { max-width: 730px; margin: 0; font-family: "Newsreader", serif; font-size: clamp(39px, 4.4vw, 68px); font-weight: 500; line-height: 0.98; letter-spacing: -0.05em; }
.app-card > p:not(.app-card__eyebrow), .app-card__copy > p:not(.app-card__eyebrow) { max-width: 610px; margin: 25px 0 0; color: rgba(23, 63, 70, 0.67); font-size: 15px; line-height: 1.7; }
.app-card:not(.app-card--community) h3 { font-size: clamp(32px, 3vw, 46px); line-height: 1.05; }
.feature-list { display: grid; gap: 11px; margin: 30px 0 36px; padding: 0; list-style: none; color: rgba(23, 63, 70, 0.78); font-size: 13px; }
.feature-list li { display: flex; align-items: center; gap: 11px; }
.feature-list li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 10px; }
.app-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; width: max-content; max-width: 100%; margin-top: auto; padding: 15px 20px; border: 1px solid var(--ink); border-radius: 99px; color: var(--ink); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; transition: color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.app-cta:hover { color: var(--paper); background: var(--ink); transform: translateY(-3px); }
/* Primary group request, followed by secondary project details. */
.app-card__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.app-card__actions .app-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; max-width: 360px; min-height: 54px; margin-top: 0; padding: 10px 18px 10px 22px; border: 1px solid var(--ink); border-radius: 99px; color: var(--paper); background: var(--ink); font-size: 13px; font-weight: 700; text-align: left; transition: background 0.25s, box-shadow 0.25s; }
.app-card__actions .app-cta span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.12); transition: transform 0.25s; }
.app-card__actions .app-cta:hover { background: var(--ink-deep); box-shadow: 0 5px 16px rgba(23,63,70,0.12); transform: none; }
.app-card__actions .app-cta:hover span { transform: translateX(3px); }
.app-more { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 360px; min-height: 44px; padding: 10px 22px; border-radius: 10px; color: var(--ink); background: transparent; font-size: 12px; font-weight: 700; text-align: left; text-decoration: none; transition: background 0.25s; }
.app-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.app-card__actions :is(.app-cta, .app-more):focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.app-card__actions [aria-hidden] { flex-shrink: 0; }
.app-card--community .app-card__actions { max-width: 360px; }
.phone-preview { position: relative; align-self: end; justify-self: center; width: min(100%, 330px); min-height: 570px; margin-bottom: -110px; padding: 26px 20px; border: 8px solid var(--ink-deep); border-bottom: 0; border-radius: 43px 43px 0 0; color: var(--ink); background: var(--paper-light); box-shadow: 0 30px 70px rgba(23, 63, 70, 0.18); transform: rotate(2deg); }
.phone-preview::before { position: absolute; content: ""; top: 10px; left: 50%; width: 76px; height: 19px; border-radius: 99px; background: var(--ink-deep); transform: translateX(-50%); }
.phone-preview__bar { display: flex; justify-content: space-between; margin: 7px 6px 34px; font-size: 9px; font-weight: 700; }
.phone-preview__bar i { width: 22px; height: 7px; border-top: 2px solid; border-bottom: 2px solid; }
.phone-preview__hello { display: grid; gap: 3px; margin-bottom: 24px; }
.phone-preview__hello small { color: rgba(23, 63, 70, 0.56); font-size: 10px; }
.phone-preview__hello strong { font-family: "Newsreader", serif; font-size: 28px; font-weight: 500; }
.phone-preview__verse { padding: 23px; border-radius: 22px; color: var(--paper); background: var(--ink); }
.phone-preview__verse span, .phone-preview__verse small { color: var(--coral-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.phone-preview__verse p { margin: 28px 0 10px; font-family: "Newsreader", serif; font-size: 25px; line-height: 1.05; }
.phone-preview__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 17px 0; }
.phone-preview__actions span { display: grid; justify-items: center; gap: 7px; padding: 12px 4px; border-radius: 14px; background: #edf0e9; font-size: 8px; font-weight: 700; }
.phone-preview__actions b { font-size: 18px; font-weight: 400; }
.phone-preview__notice { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; }
.phone-preview__notice > i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--paper); background: var(--coral); font-style: normal; }
.phone-preview__notice div { display: grid; gap: 3px; }
.phone-preview__notice strong { font-size: 10px; }
.phone-preview__notice small { color: rgba(23, 63, 70, 0.55); font-size: 8px; }
.raffle-visual { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 48px 0 42px; }
.raffle-visual span { display: grid; place-items: center; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; font-family: "Newsreader", serif; font-size: clamp(24px, 3vw, 43px); }
.raffle-visual span:last-child { color: var(--paper); background: var(--ink); transform: rotate(7deg); }
.hours-visual { display: flex; align-items: center; margin: 48px 0 42px; color: rgba(23, 63, 70, 0.55); font-family: "Newsreader", serif; font-size: 28px; }
.hours-visual i { flex: 1; height: 1px; margin: 0 9px; background: var(--line); }
.dynamic-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 54px 0 45px; }
.dynamic-tags span { padding: 10px 14px; border: 1px solid var(--ink); border-radius: 99px; font-size: 11px; font-weight: 700; }
.dynamic-tags span:nth-child(2) { color: var(--paper); background: var(--ink); transform: rotate(-4deg); }

.lead-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity 0.25s, visibility 0s linear 0.25s; }
.lead-modal.is-open { visibility: visible; opacity: 1; transition: opacity 0.25s; }
.lead-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 48, 54, 0.62); backdrop-filter: blur(12px); }
.lead-modal__dialog { position: relative; width: min(100%, 620px); max-height: calc(100svh - 48px); overflow: auto; padding: 50px; border-radius: 26px; background: var(--paper-light); box-shadow: 0 35px 100px rgba(15, 48, 54, 0.35); transform: translateY(15px) scale(0.98); transition: transform 0.35s var(--ease); }
.lead-modal.is-open .lead-modal__dialog { transform: none; }
.lead-modal__close { position: absolute; top: 16px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.lead-modal h2 { margin: 0; font-family: "Newsreader", serif; font-size: clamp(42px, 6vw, 61px); font-weight: 500; line-height: 0.95; letter-spacing: -0.05em; }
.lead-modal__intro { margin: 18px 0 24px; color: rgba(23, 63, 70, 0.66); font-size: 14px; line-height: 1.6; }
.lead-modal__selection { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 24px; padding: 13px 15px; border-radius: 12px; color: var(--ink); background: var(--sage); font-size: 12px; }
.lead-modal__selection span { color: rgba(23, 63, 70, 0.6); }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lead-form label { display: grid; gap: 7px; color: var(--ink); font-size: 12px; font-weight: 700; }
.lead-form input { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: white; font-size: 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.lead-form input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23, 63, 70, 0.08); }
.lead-form label small { display: none; color: #a33f32; font-size: 10px; font-weight: 500; }
.lead-form label.has-error small { display: block; }
.lead-form label.has-error input { border-color: #b84f3f; }
.lead-form__note { grid-column: 1 / -1; margin: 4px 0 0; color: rgba(23, 63, 70, 0.56); font-size: 11px; line-height: 1.55; }
.lead-form__submit { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: 4px; padding: 16px 19px; border: 0; border-radius: 99px; color: var(--paper); background: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.lead-form__submit:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(23, 63, 70, 0.16); }

@media (min-width: 701px) and (max-width: 1100px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-card--dynamics { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .app-card--community { grid-template-columns: 1fr 300px; gap: 40px; }
  .app-card { min-height: 560px; }
}

@media (max-width: 700px) {
  .apps { padding: 85px 18px; }
  .apps__heading { margin-bottom: 45px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card, .app-card--community { grid-column: auto; min-height: 0; display: flex; padding: 30px 24px 34px; }
  .app-card__topline { margin-bottom: 50px; }
  .app-card h3, .app-card:not(.app-card--community) h3 { font-size: 38px; line-height: 1.04; }
  .app-card__actions { margin-top: 28px; padding-top: 22px; }
  .phone-preview { align-self: center; width: 280px; min-height: 500px; margin: 55px auto -80px; }
  .raffle-visual { margin: 40px 0 8px; }
  .hours-visual, .dynamic-tags { margin: 45px 0 8px; }
  .lead-modal { padding: 0; }
  .lead-modal__dialog { width: 100%; height: 100svh; max-height: none; padding: 72px 22px 30px; border-radius: 0; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form__note, .lead-form__submit { grid-column: 1; }
}

.lead-form__group { grid-column: 1 / -1; }
