:root {
  --paper: #fffaf4;
  --paper-deep: #f6eee5;
  --ink: #211b19;
  --muted: #6f6560;
  --line: #ded5cd;
  --coral: #ec6b5f;
  --yellow: #f3c94b;
  --mint: #95cdb6;
  --blue: #8fc2dc;
  --white: #ffffff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 74px;
  padding: 12px max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 250, 244, 0.93);
  border-bottom: 1px solid rgba(33, 27, 25, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

nav a:hover,
.footer-links a:hover,
nav a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-support {
  padding: 8px 15px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
}

nav .nav-support:hover,
nav .nav-support[aria-current="page"] {
  color: var(--white);
  background: #4a3d38;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.83fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: calc(100vh - 118px);
  max-height: 880px;
  margin: 0 auto;
  padding: 60px 0 78px;
}

.platform-label,
.hero-meta,
.eyebrow {
  letter-spacing: 0;
  text-transform: uppercase;
}

.platform-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.platform-label span {
  color: var(--coral);
  font-size: 11px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(70px, 9vw, 126px);
  line-height: 0.92;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 32px 0 20px;
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 750;
  line-height: 1.12;
}

.hero-detail {
  max-width: 530px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.hero-meta span {
  padding: 6px 11px;
  color: #534945;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  min-height: 620px;
}

.screenshot-shell {
  overflow: hidden;
  background: #080808;
  border: 1px solid #292525;
  box-shadow: 0 30px 70px rgba(48, 34, 29, 0.21);
}

.screenshot-primary {
  width: min(100%, 410px);
  border-radius: 30px;
  transform: rotate(2.4deg);
}

.screenshot-primary img {
  width: 100%;
  aspect-ratio: 650 / 950;
  object-fit: cover;
}

.app-badge {
  position: absolute;
  left: 3%;
  bottom: 5%;
  width: 105px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(48, 34, 29, 0.24);
  transform: rotate(-7deg);
}

.app-badge img {
  border-radius: 14px;
}

.feature-intro {
  padding: 104px max(24px, calc((100vw - 780px) / 2)) 58px;
  text-align: center;
  background: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: #8b5a50;
  font-size: 12px;
  font-weight: 800;
}

.feature-intro h2,
.gallery-heading h2,
.privacy-callout h2,
.contact h2,
.support-heading h2,
.support-contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 790;
}

.feature-intro > p:last-child {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2)) 112px;
  background: var(--white);
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 25px 25px 28px;
  overflow: hidden;
  border-radius: 7px;
}

.feature-coral {
  background: var(--coral);
}

.feature-yellow {
  background: var(--yellow);
}

.feature-mint {
  background: var(--mint);
}

.feature-number {
  align-self: flex-start;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.feature h3 {
  margin: 0 0 9px;
  font-size: 31px;
  line-height: 1.15;
}

.feature p {
  max-width: 290px;
  margin: 0;
  line-height: 1.55;
}

.feature-symbol {
  position: absolute;
  top: 52px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  color: rgba(255, 255, 255, 0.82);
  border: 5px solid currentColor;
  border-radius: 50%;
  font-size: 52px;
  font-weight: 850;
  transform: rotate(8deg);
}

.feature-yellow .feature-symbol,
.feature-mint .feature-symbol {
  color: rgba(33, 27, 25, 0.52);
}

.feature-sliders {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 36px;
}

.feature-sliders i {
  position: relative;
  display: block;
  width: 100%;
  height: 4px;
  background: currentColor;
}

.feature-sliders i::after {
  position: absolute;
  top: 50%;
  left: 22%;
  width: 19px;
  height: 19px;
  background: var(--mint);
  border: 4px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.feature-sliders i:nth-child(2)::after {
  left: 72%;
}

.feature-sliders i:nth-child(3)::after {
  left: 45%;
}

.gallery-section {
  padding: 110px max(24px, calc((100vw - var(--max-width)) / 2));
  background: #1d1918;
  color: var(--white);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 60px;
}

.gallery-heading .eyebrow {
  color: var(--yellow);
}

.gallery-heading > p {
  margin: 0;
  color: #c4bab5;
}

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

.gallery-item {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  height: 720px;
  margin: 0;
  padding: 30px 30px 23px;
  overflow: hidden;
  background: #2a2422;
  border: 1px solid #403734;
  border-radius: 7px;
}

.gallery-item img {
  align-self: end;
  justify-self: center;
  width: auto;
  height: min(570px, 100%);
  border-radius: 20px 20px 0 0;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.35));
}

.gallery-play {
  background: #141526;
}

.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid #4b413e;
}

.gallery-item figcaption strong {
  font-size: 19px;
}

.gallery-item figcaption span {
  color: #bdb2ad;
  font-size: 14px;
  text-align: right;
}

.privacy-callout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: 8vw;
  align-items: center;
  padding: 120px max(24px, calc((100vw - 1050px) / 2));
  background: var(--blue);
}

.privacy-callout p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0;
}

.privacy-mark {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  border: 4px solid var(--ink);
  border-radius: 50%;
}

.privacy-mark::before {
  position: absolute;
  inset: 23%;
  border: 4px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.privacy-mark::after {
  position: absolute;
  top: 49%;
  left: 50%;
  width: 31%;
  height: 4px;
  background: var(--ink);
  content: "";
  transform: translate(-50%, -50%);
}

.privacy-mark span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12%;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link span {
  transition: transform 160ms ease;
}

.contact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 90px max(24px, calc((100vw - var(--max-width)) / 2));
}

.contact img,
.support-hero img {
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(48, 34, 29, 0.18);
}

.contact h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.contact p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.email-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 750;
  transition: background 150ms ease, transform 150ms ease;
}

.email-button:hover {
  background: #4a3d38;
  transform: translateY(-2px);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px max(24px, calc((100vw - var(--max-width)) / 2));
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.footer-brand {
  font-size: 16px;
}

.footer-links {
  gap: 22px;
}

.footer-links a {
  font-size: 12px;
}

/* Privacy */
.legal-wrap,
.support-wrap {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 90px 24px 120px;
}

.legal-hero {
  max-width: 820px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1,
.support-hero h1 {
  margin: 0;
  font-size: clamp(55px, 8vw, 92px);
  line-height: 1;
  letter-spacing: 0;
}

.legal-summary {
  max-width: 710px;
  margin: 28px 0 18px;
  color: #4d433f;
  font-size: 23px;
  line-height: 1.5;
}

.updated {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  max-width: 780px;
  padding: 30px 0 0 170px;
}

.legal-content section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 23px;
}

.legal-content p {
  margin: 0;
  color: #544a46;
}

.legal-content a {
  color: #8f4138;
  border-bottom: 1px solid currentColor;
}

.legal-note {
  display: grid;
  grid-template-columns: 170px 1fr;
  max-width: 780px;
  margin: 58px 0 0 170px;
  padding: 24px;
  background: var(--mint);
  border-radius: 6px;
}

.legal-note p {
  margin: 0;
}

/* Support */
.support-wrap {
  width: min(100%, 1180px);
}

.support-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0 100px;
  text-align: center;
}

.support-hero img {
  margin-bottom: 32px;
}

.support-hero > p:not(.eyebrow) {
  max-width: 580px;
  margin: 28px 0;
  color: var(--muted);
  font-size: 19px;
}

.support-content {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.support-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
}

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

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

.faq-list summary {
  position: relative;
  padding-right: 42px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 750;
}

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

.faq-list summary::after {
  position: absolute;
  top: -4px;
  right: 0;
  color: var(--coral);
  font-size: 25px;
  font-weight: 400;
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 13px 42px 0 0;
  color: var(--muted);
}

.support-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
  padding: 64px;
  background: var(--yellow);
  border-radius: 7px;
}

.support-contact h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.support-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-contact li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid rgba(33, 27, 25, 0.22);
}

.support-contact li::before {
  display: inline-block;
  width: 28px;
  margin-left: -28px;
  content: "✓";
  font-weight: 800;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr 0.72fr;
    gap: 34px;
  }

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

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

  .feature {
    min-height: 320px;
  }

  .gallery-item {
    height: 600px;
  }

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

  .contact .email-button {
    grid-column: 2;
    justify-self: start;
  }

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

  footer p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

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

  .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    display: none;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 13px;
  }

  .nav-support {
    padding: 7px 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 520px);
    min-height: auto;
    max-height: none;
    gap: 18px;
    padding: 38px 0 42px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-lead {
    font-size: 38px;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 0;
  }

  .screenshot-primary {
    width: min(42%, 170px);
  }

  .app-badge {
    left: calc(50% - 115px);
    width: 58px;
    padding: 5px;
    border-radius: 12px;
  }

  .app-badge img {
    border-radius: 8px;
  }

  .feature-intro,
  .gallery-section,
  .privacy-callout {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .features {
    padding-bottom: 82px;
  }

  .feature {
    min-height: 300px;
  }

  .feature-symbol {
    width: 145px;
    height: 145px;
    font-size: 40px;
  }

  .gallery-heading,
  .privacy-callout,
  .support-content,
  .support-contact {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .gallery-item {
    height: 580px;
    padding: 22px 22px 20px;
  }

  .privacy-mark {
    width: 210px;
    justify-self: center;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 70px;
    padding-bottom: 70px;
    text-align: center;
  }

  .contact img,
  .contact .email-button {
    grid-column: 1;
    justify-self: center;
  }

  .contact img {
    width: 90px;
    height: 90px;
  }

  .contact .email-button {
    max-width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  footer p {
    grid-column: 1;
    text-align: center;
  }

  .legal-wrap,
  .support-wrap {
    padding-top: 64px;
    padding-bottom: 80px;
  }

  .legal-summary {
    font-size: 19px;
  }

  .legal-content {
    padding-left: 0;
  }

  .legal-note {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-left: 0;
  }

  .support-hero {
    padding-bottom: 72px;
  }

  .support-contact {
    padding: 34px 26px;
  }
}

@media (max-width: 430px) {
  nav a:first-child {
    display: none;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-lead {
    font-size: 34px;
  }

  .gallery-item {
    height: 520px;
  }

  .gallery-item figcaption {
    flex-direction: column;
    gap: 3px;
  }

  .gallery-item figcaption span {
    text-align: left;
  }

  .email-button {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
