/* My AI Mac · myaimac.com */
:root {
  --bg: #f4efe6;
  --surface: #ffffff;
  --text: #1f1d1a;
  --text-2: #6d6862;
  --text-3: #a39d94;
  --primary: #5b57e0;
  --primary-hover: #4c48d2;
  --primary-ink: #5b57e0;
  --primary-soft: rgba(91, 87, 224, 0.1);
  --coral: #e8836b;
  --coral-ink: #a84a34;
  --sage: #9bb39a;
  --sage-ink: #557555;
  --wood: #c89b6a;
  --hairline: rgba(31, 29, 26, 0.08);
  --hairline-2: rgba(31, 29, 26, 0.12);
  --nav-bg: rgba(244, 239, 230, 0.72);
  --nav-bg-solid: rgba(244, 239, 230, 0.97);
  --shadow-sm:
    0 1px 2px rgba(31, 29, 26, 0.04), 0 6px 18px -8px rgba(31, 29, 26, 0.08);
  --shadow-md:
    0 1px 2px rgba(31, 29, 26, 0.04), 0 18px 44px -18px rgba(31, 29, 26, 0.16);
  --shadow-lg:
    0 2px 6px rgba(31, 29, 26, 0.04), 0 36px 80px -28px rgba(31, 29, 26, 0.22);
  --radius-lg: 28px;
  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 56px;
  --pad: 20px;
  --font:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --surface: #1e1b17;
    --text: #f3eee6;
    --text-2: #a8a196;
    --text-3: #6a645b;
    --primary-hover: #6a66ea;
    --primary-ink: #9c98f7;
    --primary-soft: rgba(143, 139, 246, 0.15);
    --coral-ink: #f0a58f;
    --sage-ink: #b4cbb3;
    --hairline: rgba(255, 255, 255, 0.07);
    --hairline-2: rgba(255, 255, 255, 0.12);
    --nav-bg: rgba(20, 18, 15, 0.72);
    --nav-bg-solid: rgba(20, 18, 15, 0.97);
    --shadow-sm:
      0 1px 2px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-md:
      0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 44px -18px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(255, 255, 255, 0.04);
    --shadow-lg:
      0 2px 6px rgba(0, 0, 0, 0.3), 0 36px 80px -28px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.05);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}
a {
  color: var(--primary-ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button {
  font: inherit;
  color: inherit;
}
::selection {
  background: rgba(91, 87, 224, 0.2);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}
p,
li,
dd {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
.ib {
  display: inline-block;
}
section[id] {
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.container {
  width: min(1200px, 100% - var(--pad) * 2);
  margin-inline: auto;
}
@media (min-width: 768px) {
  :root {
    --pad: 32px;
  }
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
}
.skip:focus {
  top: 12px;
  text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--h);
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s,
    box-shadow 0.25s,
    color 0.2s,
    transform 0.2s var(--ease);
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px -10px rgba(91, 87, 224, 0.7);
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 30px -10px rgba(91, 87, 224, 0.75);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.btn-secondary:hover {
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    0 8px 20px -10px rgba(31, 29, 26, 0.25);
}
.btn-sm {
  --h: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-sm::before {
  content: "";
  position: absolute;
  inset: -4px;
}
.btn-block {
  width: 100%;
}
.btn-light {
  --h: 56px;
  background: #fff;
  color: #1f1d1a;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn-light:hover {
  background: #f4f2ff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-bar {
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background-color 0.3s;
}
.site-header.scrolled .nav-bar,
.site-header.menu-open .nav-bar {
  border-bottom-color: var(--hairline);
}
.site-header.menu-open .nav-bar {
  background: var(--nav-bg-solid);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo:hover {
  text-decoration: none;
}
.logo svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links {
  display: none;
}
.menu-toggle {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle .bars {
  display: grid;
  gap: 5px;
}
.menu-toggle .bars span {
  display: block;
  width: 18px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.menu-open .menu-toggle .bars span:first-child {
  transform: translateY(3.3px) rotate(45deg);
}
.menu-open .menu-toggle .bars span:last-child {
  transform: translateY(-3.3px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--nav-bg-solid);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 24px 40px -24px rgba(31, 29, 26, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s linear 0.3s;
}
.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 16px;
}
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
  font-size: 20px;
  font-weight: 600;
}
.mobile-menu li:last-child a {
  border-bottom: 0;
}
.mobile-menu a:hover {
  text-decoration: none;
  color: var(--primary-ink);
}
.mobile-menu a svg {
  width: 18px;
  height: 18px;
  color: var(--text-3);
}

@media (min-width: 900px) {
  :root {
    --nav-h: 64px;
  }
  .nav-right {
    gap: 36px;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    color: var(--text-2);
    font-size: 15px;
    transition: color 0.2s;
  }
  .nav-links a:hover {
    color: var(--text);
    text-decoration: none;
  }
  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 20px;
}
.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-content {
  padding-top: 12px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(155, 179, 154, 0.28);
}
.hero h1 {
  margin-top: 20px;
  font-size: clamp(2.75rem, 1.6rem + 5vw, 4.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hero-sub {
  margin-top: 18px;
  max-width: 26em;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-media {
  position: relative;
  margin-top: 36px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #eadfcd;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% 50%;
}

.spec-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 520px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px -14px rgba(31, 29, 26, 0.35);
  color: #1f1d1a;
}
@supports not (
    (backdrop-filter: blur(1px)) or
    (-webkit-backdrop-filter: blur(1px))
  ) {
  .spec-bar {
    background: rgba(255, 255, 255, 0.86);
  }
}
.spec {
  padding: 0 8px;
  text-align: center;
}
.spec + .spec {
  border-left: 1px solid rgba(31, 29, 26, 0.1);
}
.spec dt {
  color: #5e5953;
  font-size: 12.5px;
  line-height: 1.4;
}
.spec dd {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .hero-media {
    aspect-ratio: 16 / 10;
  }
  .hero-media img {
    object-position: 80% 55%;
  }
  .spec-bar {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: 24px;
  }
  .hero-card {
    --text: #1f1d1a;
    --text-2: #4f4a44;
    --primary-ink: #5b57e0;
    --surface: rgba(255, 255, 255, 0.6);
    --hairline: rgba(255, 255, 255, 0.75);
    --hairline-2: rgba(255, 255, 255, 0.8);
    display: grid;
    grid-template-rows: 1fr auto;
    aspect-ratio: 1672 / 941;
    min-height: 580px;
    max-height: calc(100vh - 110px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    color: var(--text);
    box-shadow: var(--shadow-md);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .hero-media img {
    object-position: 85% 60%;
  }
  .hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(244, 239, 230, 0.55) 0%,
      rgba(244, 239, 230, 0.22) 38%,
      rgba(244, 239, 230, 0) 58%
    );
  }
  .hero-content {
    align-self: center;
    max-width: 620px;
    padding: 40px 0 120px clamp(48px, 5vw, 72px);
  }
  .hero-tag,
  .hero .btn-secondary {
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    backdrop-filter: blur(14px) saturate(150%);
  }
  .hero .btn-secondary {
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.8),
      0 8px 20px -12px rgba(31, 29, 26, 0.35);
  }
  .hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.78);
  }
  .hero-sub {
    font-size: 18px;
    max-width: 25em;
  }
  .spec-bar {
    position: absolute;
    left: clamp(48px, 5vw, 72px);
    right: auto;
    bottom: 40px;
    max-width: none;
    margin: 0;
    grid-template-columns: repeat(3, auto);
    padding: 14px 6px;
  }
  .spec {
    padding: 0 24px;
    text-align: left;
  }
  .spec dd {
    font-size: 17px;
  }
}

@media (prefers-color-scheme: dark) {
  .hero-media img,
  .feature-media img,
  .how-banner img {
    filter: brightness(0.93);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-top: clamp(88px, 11vw, 150px);
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--primary-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.section-head h2 {
  font-size: clamp(1.875rem, 1.25rem + 2.8vw, 3rem);
  line-height: 1.22;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.section-lead {
  margin-top: 16px;
  color: var(--text-2);
  font-size: clamp(16px, 0.55vw + 14px, 19px);
  line-height: 1.75;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.feature-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #efe7db;
  border-radius: var(--radius) var(--radius) 0 0;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature-body {
  padding: 24px 24px 28px;
}
.feature h3 {
  font-size: clamp(20px, 0.8vw + 16px, 24px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
}
@media (min-width: 720px) {
  .features {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (min-width: 960px) {
  .feature-body {
    padding: 32px 36px 38px;
  }
}
@media (hover: hover) {
  .feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .feature:hover .feature-media img {
    transform: scale(1.04);
  }
}

/* ---------- How it works ---------- */
.how-banner {
  aspect-ratio: 2 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #2e2b4d;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.how-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.steps {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: -28px 12px 0;
  padding: 28px 24px 30px;
  display: grid;
  gap: 28px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
}
.step-num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow:
    0 0 0 6px var(--surface),
    0 8px 16px -6px rgba(91, 87, 224, 0.7);
}
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 32px;
  bottom: -28px;
  width: 1px;
  background: linear-gradient(var(--primary), rgba(91, 87, 224, 0.14));
}
.step h3 {
  margin-top: 3px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}
.step p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
}
@media (min-width: 720px) {
  .how-banner {
    aspect-ratio: 1800 / 759;
    border-radius: var(--radius-lg);
  }
}
@media (min-width: 840px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: -72px 40px 0;
    padding: 40px 44px 44px;
    box-shadow: var(--shadow-lg);
  }
  .step {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .step:not(:last-child)::before {
    left: 48px;
    right: -24px;
    top: 15.5px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), rgba(91, 87, 224, 0.12));
  }
  .step h3 {
    margin-top: 0;
    font-size: 19px;
  }
}

/* ---------- Pricing ---------- */
.price-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    520px 280px at 0% 0%,
    rgba(91, 87, 224, 0.09),
    transparent 70%
  );
}
.price-main {
  padding: 32px 24px 28px;
}
.price-features {
  padding: 26px 24px 32px;
  border-top: 1px solid var(--hairline);
}
.plan-kicker {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.plan-name {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: clamp(22px, 1vw + 18px, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
}
.price .cur {
  align-self: flex-start;
  margin-top: 8px;
  color: var(--text-2);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.price .amt {
  color: var(--text-3);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price .per {
  color: var(--text-2);
  font-size: 17px;
}
.soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(232, 131, 107, 0.14);
  color: var(--coral-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.soon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.price-main .btn {
  margin-top: 28px;
}
.features-label {
  margin-bottom: 16px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.check-ic {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(155, 179, 154, 0.24);
  color: var(--sage-ink);
}
.check-ic svg {
  width: 14px;
  height: 14px;
}
.price-note {
  margin-top: 24px;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
}
@media (min-width: 760px) {
  .price-card {
    grid-template-columns: 1.05fr 1fr;
  }
  .price-main {
    padding: 48px;
  }
  .price-features {
    padding: 48px;
    border-top: 0;
    border-left: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .checks {
    gap: 18px;
  }
  .checks li {
    font-size: 17px;
  }
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  gap: 0;
}
.faq-list {
  padding: 4px 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.faq-item + .faq-item {
  border-top: 1px solid var(--hairline);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::marker {
  content: "";
}
.faq-item summary:focus-visible {
  outline-offset: 0;
}
.faq-ic {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--text-2);
  transition:
    background-color 0.25s,
    color 0.25s;
}
.faq-ic svg {
  width: 14px;
  height: 14px;
}
.faq-ic .v {
  transform-origin: 50% 50%;
  transform-box: fill-box;
  transition:
    transform 0.35s var(--ease),
    opacity 0.25s;
}
.faq-item[open] .faq-ic {
  background: var(--primary);
  color: #fff;
}
.faq-item[open] .faq-ic .v {
  transform: scaleY(0);
  opacity: 0;
}
.faq-a {
  padding: 0 48px 24px 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.8;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a {
    animation: faqIn 0.4s var(--ease) both;
  }
}
@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (hover: hover) {
  .faq-item:not([open]) summary:hover .faq-ic {
    background: var(--primary-soft);
    color: var(--primary-ink);
  }
}
@media (min-width: 960px) {
  .faq-layout {
    grid-template-columns: 4fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .faq-layout .section-head {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
    margin-bottom: 0;
  }
  .faq-list {
    padding: 8px 36px;
  }
  .faq-item summary {
    padding: 26px 0;
    font-size: 18px;
  }
}

/* ---------- Contact ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 56px 24px;
  border-radius: 32px;
  background: #1d1b3b;
  color: #fff;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      60% 55% at 50% 0%,
      rgba(124, 120, 255, 0.5),
      transparent 72%
    ),
    radial-gradient(
      45% 50% at 0% 100%,
      rgba(232, 131, 107, 0.22),
      transparent 70%
    ),
    radial-gradient(
      40% 45% at 100% 100%,
      rgba(200, 155, 106, 0.16),
      transparent 70%
    );
}
.cta-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 44px rgba(124, 120, 255, 0.55);
}
.cta-mark svg {
  width: 24px;
  height: 24px;
}
.cta h2 {
  font-size: clamp(1.75rem, 1.1rem + 2.8vw, 3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.cta p {
  max-width: 30em;
  margin: 16px auto 0;
  color: #e4e2ff;
  font-size: clamp(16px, 0.55vw + 14px, 19px);
  line-height: 1.7;
}
.wechat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 36px auto 0;
}
.wechat-id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding: 0 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
}
.wechat-id .label {
  color: #c9c7f2;
  font-size: 14px;
}
.wechat-id .value {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
@media (prefers-color-scheme: dark) {
  .cta {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}
@media (min-width: 640px) {
  .cta {
    padding: 96px 48px;
  }
  .wechat {
    flex-direction: row;
    justify-content: center;
    max-width: none;
  }
  .wechat-id {
    min-width: 300px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(64px, 8vw, 96px) 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  color: var(--text-2);
  font-size: 13px;
  text-align: center;
}
.footer-inner .logo {
  font-size: 15px;
}
.footer-inner .logo svg {
  width: 15px;
  height: 15px;
}
@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(31, 29, 26, 0.92);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 14px 34px -12px rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (prefers-color-scheme: dark) {
  .toast {
    background: rgba(243, 238, 230, 0.95);
    color: #1f1d1a;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: rise 0.9s var(--ease) both;
  }
  .hero-content > :nth-child(2) {
    animation-delay: 0.06s;
  }
  .hero-content > :nth-child(3) {
    animation-delay: 0.12s;
  }
  .hero-content > :nth-child(4) {
    animation-delay: 0.18s;
  }
  .spec-bar {
    animation: rise 0.9s var(--ease) 0.3s both;
  }
  .js [data-reveal]:not(.in) {
    opacity: 0;
  }
  .js [data-reveal].in {
    animation: rise 0.9s var(--ease) var(--d, 0s) backwards;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
