/* Shapai homepage (src/views/index.html only). Not used by blog/404 pages (those use style.css). */

@font-face {
  font-family: 'Rubik Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Arimo');
  size-adjust: 103%;
  ascent-override: 90.8%;
  descent-override: 24.3%;
  line-gap-override: 0%;
}

:root {
  --brand: #1fbfc0;
  --deep: #0e7c86;
  --cream: #f3fbfb;
  --ink: #17252e;
  --butter: #f6c85f;
  --muted: #3e525a;
  --primary: #0e7c86; /* used by the legal modals' inline styles */
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Rubik', 'Rubik Fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.page {
  width: 100%;
  background: var(--cream);
  overflow-x: hidden;
}

.wrap {
  max-width: 1264px;
  margin: 0 auto;
  padding: 0 32px;
}

.stack-56 {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.stack-40 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

h1,
h2,
h3 {
  margin: 0;
}

/* ---------- shared bits ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-deep {
  background: var(--deep);
  color: #fff;
}
.btn-butter {
  background: var(--butter);
  color: var(--ink);
  font-weight: 700;
}
.btn-lg {
  font-size: 18px;
  padding: 18px 32px;
}
.btn-butter.btn-lg {
  padding: 18px 36px;
}

.eyebrow {
  font-weight: 700;
  color: var(--deep);
  font-size: 16px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
}

h2 {
  font-size: 42px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

/* ---------- header ---------- */
.site-header {
  max-width: 1264px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 48px;
  height: auto;
  object-fit: contain;
}
.brand-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--deep);
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-weight: 500;
  font-size: 16px;
}
.nav-a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
}
.nav-a:hover {
  color: var(--deep);
}
.btn-nav {
  padding: 12px 24px;
}

/* ---------- hero ---------- */
.hero {
  max-width: 1264px;
  margin: 0 auto;
  padding: 32px 32px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #33464e;
}
.hero h1 {
  font-size: 60px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-wrap: balance;
}
.hl {
  background: var(--butter);
  padding: 0 12px;
  border-radius: 18px;
  white-space: nowrap;
}
.hero-desc {
  margin: 0;
  font-size: 20px;
  color: var(--muted);
  max-width: 540px;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.hero-link {
  font-weight: 600;
  font-size: 17px;
  color: var(--deep);
  padding: 12px 8px;
}
.hero-note {
  margin: -8px 0 0;
  font-size: 15px;
  color: #4b5c64;
  text-wrap: balance;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 432px;
}
.hero-disc {
  position: absolute;
  width: min(352px, 90%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #cdeff0;
}
.hero-ring {
  position: absolute;
  width: min(450px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 2px dashed #8fd6d8;
}
.mascot {
  position: relative;
  width: 240px;
}
/* 3D mascot renders (eyes baked in) */
.mascot-art img {
  display: block;
  width: 100%;
  height: auto;
}

.pill {
  position: absolute;
  background: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* Six pills evenly spaced on an orbit around the mascot (slots at 0/60/120/... degrees).
   --rx/--ry are the orbit radii; sizes per breakpoint below keep every pill clear of the mascot box. */
.hero-visual {
  --rx: 196px;
  --ry: 210px;
}
.pill {
  left: calc(50% + var(--ox, 0px));
  top: calc(50% + var(--oy, 0px));
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  white-space: nowrap;
  width: max-content;
}
.pill-fb {
  --ox: calc(var(--rx) * -0.5);
  --oy: calc(var(--ry) * -0.866);
  --rot: 3deg;
}
.pill-ig {
  --ox: calc(var(--rx) * 0.5);
  --oy: calc(var(--ry) * -0.866);
  --rot: -4deg;
}
.pill-yt {
  --ox: var(--rx);
  --oy: 0px;
  --rot: 2deg;
}
.pill-any {
  --ox: calc(var(--rx) * 0.5);
  --oy: calc(var(--ry) * 0.866);
  --rot: -3deg;
  background: var(--butter);
  font-weight: 700;
}
.pill-pin {
  --ox: calc(var(--rx) * -0.5);
  --oy: calc(var(--ry) * 0.866);
  --rot: 3deg;
}
.pill-tt {
  --ox: calc(var(--rx) * -1);
  --oy: 0px;
  --rot: -3deg;
}

/* Narrow hero visual (two-column 952-1239px): smaller mascot, icon-only side pills */
@media (min-width: 641px) and (max-width: 700px), (min-width: 952px) and (max-width: 1275px) {
  .hero-visual {
    --rx: 170px;
    --ry: 167px;
  }
  .mascot {
    width: 192px;
  }
}
@media (min-width: 641px) and (max-width: 700px), (min-width: 952px) and (max-width: 1275px), (max-width: 640px) {
  .pill-tt,
  .pill-yt {
    padding: 8px;
  }
  .pill-tt .pill-t,
  .pill-yt .pill-t {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- how ---------- */
.how {
  background: #fff;
  border-radius: 40px 40px 0 0;
  padding: 96px 0;
}
.grid-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}
.step-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-title h3 {
  font-size: 24px;
  font-weight: 700;
}
.step-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.step-extra {
  margin-top: auto;
}
.step-bubble {
  display: inline-block;
  background: #cdeff0;
  border-radius: 20px 20px 20px 6px;
  padding: 12px 18px;
  font-size: 14px;
  direction: ltr;
  color: #33464e;
}
.step-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-chip {
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 500;
}
.step-search {
  background: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  color: #4b5c64;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------- benefits ---------- */
.benefits {
  background: var(--cream);
  padding: 0 0 96px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.benefits-card {
  background: var(--deep);
  border-radius: 32px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.benefits-eyebrow {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}
.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid #dce8ea;
  font-size: 19px;
  font-weight: 500;
}
.check {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #cdeff0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- examples (phones) ---------- */
.examples {
  padding: 96px 0;
  background: var(--cream);
}
.grid-chats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 40px;
  justify-items: center;
}
.chat-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 400px;
}
.chat-title {
  font-size: 22px;
  font-weight: 700;
  align-self: flex-start;
}
.phone {
  width: 100%;
  max-width: 400px;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
}
.screen {
  background: #e4f1f1;
  border-radius: 31px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-head {
  background: var(--deep);
  color: #fff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.chat-avatar img {
  width: 30px;
  height: auto;
  object-fit: contain;
}
.chat-who {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.chat-name {
  font-weight: 700;
  font-size: 18px;
}
.chat-status {
  font-size: 13px;
  color: #fff;
}
.chat-body {
  padding: 14px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.msg {
  font-size: 15px;
}
.msg-out {
  align-self: flex-end;
  max-width: 84%;
  background: #bfebec;
  border-radius: 20px 20px 6px 20px;
  padding: 9px 14px;
}
.msg-url {
  direction: ltr;
  text-align: left;
  word-break: break-all;
}
.msg-in {
  align-self: flex-start;
  max-width: 90%;
  background: #fff;
  border-radius: 20px 20px 20px 6px;
  padding: 10px 14px;
}
.msg-tip {
  background: #fff3d1;
}
.msg-time {
  font-size: 12px;
  color: #55656c;
  margin-top: 3px;
  display: block;
  direction: ltr;
  text-align: left;
}
.msg-media {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 96px;
  border-radius: 12px;
  background: #e4f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.msg-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.msg-tip .msg-ok {
  margin-bottom: 8px;
}
.msg-ok svg {
  flex: none;
}
.msg-line {
  line-height: 1.5;
}
.mb6 {
  margin-bottom: 6px;
}
.msg-hint {
  margin-top: 8px;
  color: var(--muted);
}
.muted {
  color: #4b5c64;
}
.ltr {
  direction: ltr;
  unicode-bidi: embed;
}
.tip-list {
  margin: 2px 0;
  padding: 0 18px;
  line-height: 1.5;
}
.recipe-name {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 6px;
}
.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.recipe-tags span {
  background: #cdeff0;
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
}
.recipe-del {
  border-top: 1px solid #e1e8ea;
  margin: 8px -14px -6px;
  padding: 8px 14px 0;
}
.recipe-del span {
  color: #b42318;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- organization ---------- */
.organization {
  padding: 0 0 96px;
  background: var(--cream);
}
.org-card {
  background: #fff;
  border-radius: 32px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 40px;
  align-items: center;
}
.org-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.org-text h2 {
  font-size: 34px;
  line-height: 1.2;
}
.org-text p {
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
}
.guide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.guide-chips a {
  background: var(--cream);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s;
}
.guide-chips a:hover {
  background: #cdeff0;
}
.tag-cloud {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.tag-cloud li {
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
}
.tag-a {
  background: #cdeff0;
}
.tag-b {
  background: #fdebb8;
}
.tag-c {
  background: #e4eaee;
}

/* ---------- proof ---------- */
.proof {
  padding: 0 0 96px;
  background: var(--cream);
}
.proof-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
}
.proof-num {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--deep);
  line-height: 1;
  direction: ltr;
  unicode-bidi: isolate;
}
.proof-text {
  font-size: 22px;
  font-weight: 600;
  color: #33464e;
}
.grid-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.quote {
  margin: 0;
  background: #fff;
  border-radius: 24px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote-mark {
  font-size: 64px;
  line-height: 0.8;
  height: 36px;
  font-weight: 800;
  color: var(--brand);
}
.quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}
.quote figcaption {
  margin-top: auto;
  font-weight: 700;
  font-size: 15px;
  color: var(--deep);
}

/* ---------- faq ---------- */
.faq {
  padding: 96px 0;
  background: #fff;
  border-radius: 40px;
}
.faq-wrap {
  max-width: 944px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream);
  border-radius: 20px;
  padding: 0 24px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 600;
  min-height: 24px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-plus {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}
.faq-item p {
  margin: 0;
  padding: 0 0 24px;
  font-size: 17px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- final cta ---------- */
.final-cta {
  padding: 96px 32px 0;
}
.final-card {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--deep);
  border-radius: 40px 40px 0 0;
  padding: 64px 48px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.final-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
.final-inner h2 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.final-inner p {
  margin: 0;
  font-size: 20px;
  max-width: 440px;
  color: #fff;
}
.final-card :focus-visible {
  outline-color: #fff;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e6eff2;
}
.footer-inner {
  max-width: 1264px;
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-name {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.footer-tag,
.footer-copy {
  font-size: 15px;
  color: #b3c4ca;
}
.footer-copy {
  font-size: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
}
.footer-nav a,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
}
.link-btn {
  background: none;
  border: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.footer-nav a:hover,
.link-btn:hover {
  color: #fff;
  text-decoration: underline;
}
.socials {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 4px;
}
.footer-nav .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #b3c4ca;
}
.footer-nav .social:hover {
  color: #fff;
}
.site-footer :focus-visible {
  outline-color: #fff;
}

/* ---------- legal modals (ported from style.css) ---------- */
.modal {
  width: min(700px, calc(100% - 40px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.modal-box {
  background: #fff;
  color: var(--ink);
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  max-height: 80dvh;
  border-radius: 24px;
  position: relative;
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-close {
  position: sticky;
  top: -24px;
  left: -24px;
  float: left;
  z-index: 100;
  background: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-top: -24px;
  margin-left: -24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}
.modal-close:hover {
  color: var(--deep);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.modal-box h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: var(--deep);
  letter-spacing: 0;
}
.modal-content {
  font-size: 1rem;
  line-height: 1.8;
}
.modal-content h3 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
}
.modal-box::-webkit-scrollbar {
  width: 8px;
}
.modal-box::-webkit-scrollbar-track {
  background: transparent;
}
.modal-box::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

/* ---------- animations ---------- */
/* bouncy hop: squash on take-off and landing, stretch in the air (pivot at the feet) */
.bounce {
  transform-origin: 50% 100%;
}
.bounce-soft {
  animation: hop-soft 4.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes hop-soft {
  0%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  10% {
    transform: translateY(0) scale(1.04, 0.95);
  }
  24% {
    transform: translateY(-14px) scale(0.97, 1.04);
  }
  38% {
    transform: translateY(0) scale(1.05, 0.94);
  }
  48% {
    transform: translateY(0) scale(0.99, 1.01);
  }
  56% {
    transform: translateY(0) scale(1, 1);
  }
}
/* H1: the question on its own (balanced) lines, the answer below */
.h1-q {
  display: block;
  text-wrap: balance;
}

/* legacy fragment targets (/#hero, /#steps, /#highlights) linked from blog and 404 pages */
.hero,
.how,
.benefits {
  position: relative;
}
.anchor-alias {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  scroll-margin-top: 16px;
}

/* tablet: nav drops to its own row so the join button stays beside the logo */
@media (min-width: 641px) and (max-width: 951px) {
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .bounce,
  .btn {
    animation: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .modal-box {
    animation: none;
  }
  .faq-plus,
  .modal-close {
    transition: none;
  }
}

[id] {
  scroll-margin-top: 16px;
}

/* ---------- mobile ---------- */
@media (max-width: 640px) {
  .wrap,
  .faq-wrap {
    padding: 0 16px;
  }
  .site-header {
    padding: 14px 16px;
    gap: 8px 12px;
  }
  .brand-logo {
    width: 40px;
  }
  .brand-name {
    font-size: 24px;
  }
  .btn-nav {
    padding: 10px 20px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    font-size: 14px;
    border-top: 1px solid #dce8ea;
    padding-top: 2px;
  }
  .nav-a {
    padding: 0 2px;
  }

  .hero {
    padding: 16px 16px 56px;
    gap: 24px;
  }
  .hero-text {
    gap: 20px;
  }
  .hero h1 {
    font-size: clamp(32px, 9.4vw, 40px);
    letter-spacing: -1px;
  }
  .hl {
    padding: 0 8px;
    border-radius: 14px;
  }
  .hero-desc {
    font-size: 17px;
  }
  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    text-align: center;
  }
  .btn-lg,
  .btn-butter.btn-lg {
    font-size: 17px;
    padding: 16px 24px;
    text-align: center;
  }
  .hero-note {
    margin: -12px 0 0;
    font-size: 14px;
  }
  .hero-visual {
    min-height: 356px;
    --rx: 117px;
    --ry: 139px;
  }
  .hero-disc {
    width: min(352px, 78%);
  }
  .hero-ring {
    width: min(450px, 87%);
  }
  .mascot {
    width: 174px;
  }
  .pill {
    font-size: 13px;
    padding: 8px 12px;
    gap: 6px;
  }
  .pill svg {
    width: 20px;
    height: 20px;
  }
  .pill-tt,
  .pill-yt {
    padding: 8px;
  }

  .how {
    padding: 56px 0;
    border-radius: 28px 28px 0 0;
  }
  .stack-56 {
    gap: 32px;
  }
  .stack-40 {
    gap: 28px;
  }
  h2 {
    font-size: 30px;
  }
  .step-card {
    padding: 22px;
  }
  .step-title h3 {
    font-size: 22px;
  }
  .benefits {
    padding-bottom: 56px;
  }
  .benefits-card {
    padding: 32px 24px;
    border-radius: 24px;
  }
  .benefit-list li {
    font-size: 17px;
  }
  .examples {
    padding: 56px 0;
  }
  .grid-chats {
    gap: 32px;
  }
  .org-card {
    padding: 28px 20px;
    border-radius: 24px;
    gap: 28px;
  }
  .org-text h2 {
    font-size: 26px;
  }
  .organization,
  .proof {
    padding-bottom: 56px;
  }
  .proof-num {
    font-size: 56px;
  }
  .proof-text {
    font-size: 18px;
  }
  .quote {
    padding: 24px 22px 20px;
  }
  .faq {
    padding: 56px 0;
    border-radius: 28px;
  }
  .faq-wrap {
    gap: 28px;
  }
  .faq-item {
    padding: 0 18px;
  }
  .faq-item summary {
    font-size: 17px;
    padding: 18px 0;
  }
  .faq-item p {
    font-size: 16px;
  }
  .final-cta {
    padding: 56px 16px 0;
  }
  .final-card {
    padding: 40px 20px 48px;
    border-radius: 28px 28px 0 0;
  }
  .final-inner h2 {
    font-size: 34px;
  }
  .final-inner p {
    font-size: 18px;
  }
  .footer-inner {
    padding: 36px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .modal-close {
    margin-top: -20px;
    margin-left: -16px;
    top: -20px;
    left: -16px;
  }
  .modal-box {
    padding: 28px 20px;
    max-height: 85vh;
  }
  .modal-box h2 {
    font-size: 1.4rem;
  }
}
