:root {
  --bg: #f9ecda;
  --bg-cream: #fff7ee;
  --panel: rgba(255, 250, 243, 0.76);
  --panel-strong: #fff8ef;
  --ink: #382f29;
  --ink-soft: #786a60;
  --line: rgba(91, 74, 60, 0.12);
  --orange: #f58b57;
  --orange-deep: #cf6a3d;
  --mint: #e7f3e4;
  --gold: #ffd79b;
  --shadow: 0 30px 70px rgba(122, 88, 55, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 216, 164, 0.45), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(223, 202, 255, 0.36), transparent 22%),
    linear-gradient(180deg, #fff3e5 0%, #fdecd8 52%, #f9e9d9 100%);
  font-family: "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.65;
}

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

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

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.7);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 40px rgba(114, 82, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(129, 105, 84, 0.12);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong,
.hero h1,
.section-heading h2,
.feature-copy h2,
.legal-hero h1,
.legal-content h2,
.mosaic-copy h3,
.faq-list h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.brand-text strong {
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a,
.menu-toggle {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a.is-active,
.site-nav a:hover,
.menu-toggle:hover {
  color: var(--ink);
  background: rgba(245, 139, 87, 0.12);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.route {
  display: none;
}

.route.is-active {
  display: block;
}

.hero,
.faq,
.legal-hero,
.contact-card,
.legal-toc,
.legal-content,
.site-footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
.faq,
.legal-hero,
.contact-card,
.legal-toc,
.legal-content {
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-text,
.section-heading p,
.mosaic-copy p,
.feature-copy p,
.feature-list span,
.faq-list p,
.legal-content p,
.legal-content li,
.legal-hero p:last-child {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  color: #fff7f0;
  background: linear-gradient(180deg, var(--orange) 0%, #eb7c46 100%);
  box-shadow: 0 14px 28px rgba(245, 139, 87, 0.28);
  min-height: 60px;
  padding: 0 28px;
  font-size: 1.05rem;
  font-weight: 700;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(91, 74, 60, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-metrics div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(91, 74, 60, 0.08);
}

.hero-metrics strong,
.feature-list strong {
  display: block;
  margin-bottom: 6px;
}

.hero-visual {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
}

.phone-stack {
  position: relative;
  width: min(100%, 500px);
  height: 100%;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border-radius: 42px;
  background: var(--panel-strong);
  box-shadow: 0 26px 70px rgba(98, 67, 45, 0.18);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-card-main {
  top: 18px;
  right: 14px;
  width: 62%;
  transform: rotate(6deg);
}

.phone-card-side {
  left: 0;
  bottom: 42px;
  width: 52%;
  transform: rotate(-10deg);
}

.floating-chip {
  position: absolute;
  z-index: 2;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(120, 86, 58, 0.14);
}

.chip-orange {
  top: 66px;
  left: 14px;
  background: linear-gradient(180deg, #ffae78 0%, #f58b57 100%);
  color: #fff8f0;
}

.chip-cream {
  right: 0;
  bottom: 18px;
  max-width: 240px;
  background: rgba(255, 248, 239, 0.92);
  border: 1px solid rgba(91, 74, 60, 0.08);
}

.faq {
  padding: 34px;
  border-radius: var(--radius-xl);
  margin-bottom: 28px;
}

.section-heading h2,
.legal-hero h1,
.legal-content h2 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.faq-list article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(91, 74, 60, 0.06);
}

.faq-list h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.legal-page {
  display: none;
}

.legal-page.is-active {
  display: block;
}

.legal-hero {
  padding: 42px;
  margin-bottom: 22px;
  border-radius: var(--radius-xl);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 22px;
}

.contact-card {
  padding: 36px;
  border-radius: var(--radius-xl);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(91, 74, 60, 0.08);
}

.contact-label {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.contact-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange-deep);
}

.contact-link:hover {
  text-decoration: underline;
}

.legal-toc,
.legal-content {
  border-radius: var(--radius-xl);
}

.legal-toc {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 22px;
  display: grid;
  gap: 10px;
}

.legal-toc a {
  color: var(--ink-soft);
  padding: 10px 12px;
  border-radius: 12px;
}

.legal-toc a:hover {
  background: rgba(245, 139, 87, 0.1);
  color: var(--ink);
}

.legal-content {
  padding: 36px;
}

.legal-content section + section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(91, 74, 60, 0.08);
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #4d3930 0%, #3a2b24 100%);
  color: rgba(255, 247, 239, 0.9);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 247, 239, 0.68);
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .legal-layout,
  .faq-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .site-footer,
  .copyright {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 12px;
  }

  .site-header {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 6px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .faq,
  .legal-hero,
  .contact-card,
  .legal-content {
    padding: 24px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.3rem);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone-card-main {
    width: 68%;
    right: 0;
  }

  .phone-card-side {
    width: 56%;
    bottom: 18px;
  }

  .floating-chip {
    font-size: 0.92rem;
  }

  .section-heading h2,
  .legal-hero h1,
  .legal-content h2 {
    font-size: clamp(1.6rem, 8vw, 2.3rem);
  }
}
