:root {
  color-scheme: dark;
  --ink: #f7f1df;
  --ink-soft: #c6d3ce;
  --ink-muted: #8fa8a2;
  --night: #03171f;
  --night-deep: #020e14;
  --panel: rgba(8, 42, 49, 0.76);
  --panel-solid: #0a3035;
  --line: rgba(205, 226, 213, 0.16);
  --moon: #ffd469;
  --moon-soft: #f6b85b;
  --jade: #80c8a2;
  --jade-deep: #0c6f68;
  --coral: #f29b80;
  --max: 1180px;
  --reading: 720px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night-deep);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 3%, rgba(31, 109, 98, 0.22), transparent 30rem),
    radial-gradient(circle at 12% 19%, rgba(255, 189, 91, 0.08), transparent 26rem),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Noto Sans CJK SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(247, 241, 223, 0.17) 0.75px, transparent 0.75px);
  background-size: 48px 48px;
  opacity: 0.24;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--night-deep);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, 1600px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
}

.studio-mark {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 212, 105, 0.34);
  border-radius: 14px 14px 20px 14px;
  color: var(--night-deep);
  background: linear-gradient(145deg, var(--moon), var(--jade));
  box-shadow: 0 10px 28px rgba(255, 212, 105, 0.12);
  font-family: "SF Pro Display", -apple-system, sans-serif;
  font-size: 20px;
  font-weight: 900;
  place-items: center;
}

.studio-mark.small {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.brand span {
  display: grid;
  line-height: 1.18;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 11px;
}

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

.site-header nav a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.site-header nav a.language-switch {
  display: inline-flex;
  min-width: 58px;
  gap: 6px;
  border: 1px solid rgba(255, 212, 105, 0.3);
  color: var(--ink);
  background: rgba(255, 212, 105, 0.08);
  font-weight: 760;
  letter-spacing: 0.02em;
  align-items: center;
  justify-content: center;
}

.site-header nav a.language-switch:hover,
.site-header nav a.language-switch:focus-visible {
  border-color: rgba(255, 212, 105, 0.58);
  background: rgba(255, 212, 105, 0.16);
}

/* Xipi Apps studio */

.studio-hero,
.studio-products,
.studio-about {
  width: min(calc(100% - 48px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.studio-hero {
  display: grid;
  min-height: 680px;
  padding: 76px 0 100px;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: 72px;
  align-items: center;
}

.studio-hero h1 {
  max-width: 800px;
  margin: 18px 0 0;
  font-family:
    "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(50px, 5.4vw, 78px);
  font-weight: 760;
  line-height: 1.17;
  letter-spacing: -0.045em;
}

.studio-hero > div:first-child > p:last-child {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.studio-orbit {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 212, 105, 0.2);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 212, 105, 0.1), transparent 14rem),
    repeating-radial-gradient(
      circle,
      transparent 0,
      transparent 67px,
      rgba(198, 211, 206, 0.08) 68px,
      transparent 69px
    );
  box-shadow: inset 0 0 80px rgba(8, 102, 94, 0.18);
  place-items: center;
}

.studio-orbit > strong {
  position: relative;
  z-index: 2;
  display: grid;
  width: 138px;
  height: 138px;
  border-radius: 42px 42px 64px 42px;
  color: var(--night-deep);
  background: linear-gradient(145deg, var(--moon), var(--jade));
  box-shadow:
    0 0 0 18px rgba(255, 212, 105, 0.04),
    0 24px 70px rgba(0, 0, 0, 0.28);
  font-size: 62px;
  place-items: center;
}

.studio-planet {
  position: absolute;
  top: 14%;
  right: 20%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 30px rgba(242, 155, 128, 0.45);
}

.orbit-word {
  position: absolute;
  color: var(--ink-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.word-one {
  top: 20%;
  left: 12%;
}

.word-two {
  right: 7%;
  bottom: 27%;
}

.word-three {
  bottom: 12%;
  left: 22%;
}

.studio-products {
  padding: 120px 0 130px;
  border-top: 1px solid var(--line);
}

.products-list {
  display: grid;
  margin-top: 54px;
  gap: 28px;
}

.product-showcase {
  display: grid;
  min-height: 390px;
  margin-top: 0;
  padding: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 105, 0.2);
  border-radius: 44px;
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 212, 105, 0.11), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(128, 200, 162, 0.13), transparent 26rem),
    linear-gradient(130deg, rgba(10, 67, 65, 0.86), rgba(5, 29, 39, 0.94));
  box-shadow: var(--shadow);
  grid-template-columns: 220px minmax(0, 1fr) 170px;
  gap: 44px;
  align-items: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.product-showcase.onany-showcase {
  border-color: rgba(200, 196, 242, 0.28);
  background:
    radial-gradient(circle at 11% 46%, rgba(240, 122, 106, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(200, 196, 242, 0.22), transparent 26rem),
    linear-gradient(132deg, rgba(39, 35, 86, 0.94), rgba(18, 24, 48, 0.96));
}

.product-showcase.onany-showcase:hover,
.product-showcase.onany-showcase:focus-visible {
  border-color: rgba(200, 196, 242, 0.54);
}

.product-showcase.onany-showcase .product-icon-wrap {
  background: rgba(200, 196, 242, 0.09);
}

.product-showcase:hover,
.product-showcase:focus-visible {
  border-color: rgba(255, 212, 105, 0.4);
  transform: translateY(-5px);
  outline: none;
}

.product-icon-wrap {
  display: grid;
  width: 220px;
  height: 220px;
  border-radius: 54px;
  background: rgba(2, 20, 27, 0.38);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  place-items: center;
}

.product-icon-wrap img {
  width: 180px;
  height: 180px;
  border-radius: 42px;
}

.product-showcase-copy h2 {
  margin: 14px 0 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.product-showcase-copy h2 small {
  margin-left: 0.2em;
  color: var(--ink-muted);
  font-size: 0.28em;
  font-weight: 760;
  letter-spacing: 0.14em;
  vertical-align: middle;
}

.product-showcase-copy p {
  max-width: 590px;
  margin: 18px 0 18px;
  color: var(--ink-soft);
  font-size: 17px;
}

.product-promise {
  display: grid;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  gap: 22px;
}

.product-promise span {
  display: grid;
  color: var(--ink-muted);
  font-size: 12px;
}

.product-promise strong {
  color: var(--ink);
  font-size: 22px;
}

.studio-about {
  display: grid;
  padding: 120px 0 150px;
  border-top: 1px solid var(--line);
  grid-template-columns: 0.38fr 1fr;
  gap: 60px;
}

.studio-about h2 {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.studio-about div p {
  max-width: 670px;
  color: var(--ink-muted);
  font-size: 17px;
}

.studio-about a {
  color: var(--moon);
}

.hero,
.section,
.proof-strip,
.breadcrumbs,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  min-height: 680px;
  padding: 64px 0 78px;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.card-category {
  color: var(--coral);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.article-hero h1,
.article-header h1,
.not-found h1 {
  margin: 0;
  font-family:
    "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(52px, 4.8vw, 70px);
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #06212b;
  background: linear-gradient(110deg, var(--moon), #e7cf97 48%, #90c7b2);
  box-shadow: 0 14px 36px rgba(246, 184, 91, 0.17);
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
}

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

.availability span {
  margin-right: 7px;
  color: var(--jade);
}

.hero-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 105, 0.19);
  border-radius: 54px 54px 160px 54px;
  background:
    radial-gradient(circle at 64% 32%, rgba(255, 215, 113, 0.15), transparent 14rem),
    linear-gradient(145deg, rgba(17, 74, 76, 0.94), rgba(5, 29, 38, 0.9) 68%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-art::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 370px;
  height: 260px;
  border-radius: 55% 45% 0 0;
  background: linear-gradient(160deg, rgba(16, 100, 89, 0.62), rgba(5, 31, 37, 0.95));
  content: "";
  transform: rotate(-12deg);
}

.moon-shape {
  position: absolute;
  top: 86px;
  right: 92px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe18a, var(--moon-soft));
  box-shadow:
    0 0 0 20px rgba(255, 211, 105, 0.035),
    0 0 90px rgba(255, 205, 105, 0.2);
}

.moon-shape::after {
  position: absolute;
  top: -16px;
  left: 58px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #0d3b42;
  content: "";
}

.mountain {
  position: absolute;
  z-index: 2;
  bottom: -26px;
  background: linear-gradient(145deg, #106b64, #074044);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.mountain-left {
  left: -40px;
  width: 330px;
  height: 280px;
  opacity: 0.84;
}

.mountain-center {
  left: 130px;
  width: 310px;
  height: 360px;
  background: linear-gradient(145deg, #0a5a56, #062e37 68%);
}

.mountain-right {
  right: -70px;
  width: 360px;
  height: 320px;
  opacity: 0.88;
}

.mountain-center::after {
  position: absolute;
  inset: 0;
  background: rgba(2, 18, 24, 0.36);
  clip-path: polygon(50% 0, 100% 100%, 58% 100%, 36% 30%);
  content: "";
}

.orbit {
  position: absolute;
  border: 1px solid rgba(247, 241, 223, 0.08);
  border-radius: 50%;
}

.orbit-one {
  top: -130px;
  right: -90px;
  width: 560px;
  height: 560px;
}

.orbit-two {
  top: -30px;
  right: 10px;
  width: 360px;
  height: 360px;
}

.star {
  position: absolute;
  z-index: 3;
  color: var(--moon);
}

.star-a {
  top: 68px;
  left: 80px;
}

.star-b {
  top: 164px;
  left: 146px;
  font-size: 28px;
}

.star-c {
  top: 230px;
  right: 55px;
  font-size: 11px;
}

.hero-art p {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 34px;
  margin: 0;
  color: rgba(247, 241, 223, 0.77);
  font-size: 14px;
}

.proof-strip {
  display: grid;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.proof-strip div {
  display: grid;
  padding: 0 30px;
  border-right: 1px solid var(--line);
  gap: 2px;
}

.proof-strip div:first-child {
  padding-left: 0;
}

.proof-strip div:last-child {
  padding-right: 0;
  border-right: 0;
}

.proof-strip strong {
  font-size: 18px;
}

.proof-strip span {
  color: var(--ink-muted);
  font-size: 13px;
}

.section {
  padding-top: 128px;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2 {
  margin-top: 15px;
  font-size: clamp(39px, 4.6vw, 64px);
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-top: 22px;
  color: var(--ink-muted);
  font-size: 18px;
}

.flow-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  grid-template-areas:
    "heading flow"
    "note flow";
  gap: 36px 78px;
  align-items: start;
}

.flow-section .section-heading {
  grid-area: heading;
}

.flow {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-area: flow;
}

.flow li {
  position: relative;
  display: grid;
  min-height: 142px;
  padding: 26px 0 26px 78px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
  align-items: start;
}

.flow li:first-child {
  border-top: 1px solid var(--line);
}

.flow-number {
  position: absolute;
  top: 27px;
  left: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 212, 105, 0.28);
  border-radius: 50%;
  color: var(--moon);
  background: rgba(255, 212, 105, 0.05);
  font-size: 11px;
  font-weight: 800;
  line-height: 48px;
  text-align: center;
}

.flow strong {
  font-size: 22px;
}

.flow p {
  margin: 6px 0 0;
  color: var(--ink-muted);
}

.boundary-note,
.health-notice {
  padding: 22px 24px;
  border: 1px solid rgba(128, 200, 162, 0.2);
  border-radius: 22px;
  color: var(--ink-soft);
  background: rgba(9, 54, 54, 0.52);
}

.boundary-note {
  grid-area: note;
}

.boundary-note strong,
.health-notice strong {
  color: var(--jade);
}

.boundary-note p,
.health-notice p {
  margin: 8px 0 0;
  font-size: 14px;
}

.split-heading {
  display: flex;
  max-width: none;
  gap: 28px;
  align-items: end;
  justify-content: space-between;
}

.text-link {
  display: inline-flex;
  color: var(--moon);
  font-size: 14px;
  font-weight: 700;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.text-link.large {
  padding: 12px 0;
  font-size: 16px;
  white-space: nowrap;
}

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

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

.article-grid {
  display: grid;
  margin-top: 54px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.article-card {
  min-width: 0;
}

.article-card a {
  display: flex;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 5%, rgba(255, 212, 105, 0.08), transparent 12rem),
    rgba(7, 39, 46, 0.76);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  flex-direction: column;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.article-card a:hover,
.article-card a:focus-visible {
  border-color: rgba(255, 212, 105, 0.32);
  background-color: rgba(10, 52, 58, 0.92);
  transform: translateY(-5px);
  outline: none;
}

.article-card h3 {
  margin: 18px 0 0;
  font-size: 25px;
  line-height: 1.34;
  letter-spacing: -0.025em;
}

.article-card p {
  margin: 14px 0 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

.article-card .text-link {
  margin-top: auto;
}

.principle-section {
  position: relative;
  display: grid;
  min-height: 430px;
  padding-top: 110px;
  padding-bottom: 110px;
  place-items: center;
}

.principle-section::before {
  position: absolute;
  inset: 70px 0 0;
  border: 1px solid rgba(255, 212, 105, 0.15);
  border-radius: 200px 42px 200px 42px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 212, 105, 0.12), transparent 22rem),
    linear-gradient(120deg, rgba(11, 70, 66, 0.82), rgba(7, 35, 45, 0.9));
  content: "";
}

.quote-mark {
  position: absolute;
  top: 34px;
  left: 8%;
  z-index: 1;
  color: var(--moon);
  font-family: Georgia, serif;
  font-size: 140px;
  line-height: 1;
  opacity: 0.72;
}

.principle-section blockquote {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
}

.principle-section blockquote p {
  margin: 0;
  font-size: clamp(27px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.principle-section blockquote footer {
  margin-top: 20px;
  color: var(--ink-muted);
  font-size: 14px;
}

.policy-section {
  scroll-margin-top: 24px;
}

.policy-intro {
  display: flex;
  max-width: 760px;
  margin-top: 42px;
  padding: 20px 24px;
  border-left: 2px solid var(--moon);
  color: var(--ink-soft);
  background: rgba(255, 212, 105, 0.045);
  gap: 16px;
}

.policy-intro span {
  color: var(--moon);
}

.policy-intro p {
  margin: 0;
}

.policy-grid {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.policy-grid article {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(7, 39, 46, 0.68);
}

.policy-grid article.accent-card {
  border-color: rgba(255, 212, 105, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 105, 0.08), transparent 18rem),
    rgba(7, 45, 49, 0.82);
}

.card-index {
  display: block;
  color: var(--moon);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.policy-grid h3 {
  margin: 14px 0 12px;
  font-size: 23px;
}

.policy-grid p,
.policy-grid li {
  color: var(--ink-soft);
  font-size: 14px;
}

.policy-grid ul {
  padding-left: 1.2em;
}

.policy-grid .highlight {
  margin: 20px 0 0;
  padding: 16px;
  border-radius: 14px;
  color: var(--ink);
  background: rgba(128, 200, 162, 0.11);
}

.support-section {
  display: grid;
  scroll-margin-top: 24px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 70px;
  align-items: center;
}

.support-section h2 {
  margin: 14px 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.18;
}

.support-section > div > p:last-child {
  color: var(--ink-muted);
}

.mail-card {
  display: grid;
  padding: 34px;
  border: 1px solid rgba(255, 212, 105, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 212, 105, 0.13), transparent 14rem),
    linear-gradient(130deg, rgba(15, 81, 72, 0.8), rgba(7, 42, 49, 0.92));
  box-shadow: var(--shadow);
  text-decoration: none;
}

.mail-card span {
  color: var(--jade);
  font-size: 13px;
}

.mail-card strong {
  margin-top: 10px;
  overflow-wrap: anywhere;
  font-size: clamp(20px, 2.5vw, 30px);
}

.mail-card small {
  margin-top: 28px;
  color: var(--moon);
}

.faq-section {
  max-width: 900px;
  margin-bottom: 140px;
}

.faq-section details {
  border-bottom: 1px solid var(--line);
}

.faq-section details:first-of-type {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.faq-section summary {
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-section details p {
  max-width: 720px;
  margin: -6px 0 24px;
  color: var(--ink-muted);
}

.site-footer {
  display: grid;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  border-radius: 14px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-brand span {
  font-size: 12px;
}

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

.footer-links a {
  font-size: 13px;
  text-decoration: none;
}

.site-footer > p {
  margin: 0;
  font-size: 12px;
  grid-column: 1 / -1;
}

/* Content hub and articles */

.breadcrumbs {
  display: flex;
  padding-top: 44px;
  color: var(--ink-muted);
  font-size: 13px;
  gap: 10px;
  align-items: center;
}

.breadcrumbs a {
  text-decoration: none;
}

.article-hero {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 96px 0 68px;
}

.article-hero h1 {
  max-width: 900px;
  margin-top: 18px;
  font-size: clamp(48px, 6.8vw, 86px);
}

.article-hero > p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.hub-feature {
  display: grid;
  width: min(calc(100% - 48px), var(--max));
  min-height: 430px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 105, 0.17);
  border-radius: 40px;
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 212, 105, 0.14), transparent 17rem),
    linear-gradient(125deg, rgba(11, 72, 69, 0.92), rgba(4, 24, 34, 0.95));
  grid-template-columns: 1.1fr 0.9fr;
  box-shadow: var(--shadow);
}

.hub-feature > div:first-child {
  padding: 58px;
  align-self: center;
}

.hub-feature h2 {
  max-width: 630px;
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.hub-feature p {
  max-width: 590px;
  margin: 18px 0 28px;
  color: var(--ink-soft);
}

.hub-moon {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.hub-moon span {
  position: absolute;
  top: -82px;
  right: -18px;
  color: var(--moon);
  font-family: Georgia, serif;
  font-size: 370px;
  line-height: 1;
  text-shadow: 0 0 90px rgba(255, 212, 105, 0.22);
  transform: rotate(-16deg);
}

.hub-moon i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.44;
}

.hub-moon i:nth-of-type(1) {
  top: 70px;
  left: 40px;
}

.hub-moon i:nth-of-type(2) {
  right: 80px;
  bottom: 74px;
}

.hub-moon i:nth-of-type(3) {
  bottom: 42px;
  left: 120px;
  background: var(--moon);
}

.health-notice {
  width: min(calc(100% - 48px), var(--reading));
  margin: 90px auto 0;
}

.health-notice a {
  display: inline-block;
  margin-top: 10px;
  color: var(--moon);
  font-size: 13px;
}

.article-layout {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.article-header {
  max-width: 900px;
  padding: 88px 0 54px;
}

.article-header h1 {
  margin-top: 18px;
  font-size: clamp(50px, 7vw, 90px);
}

.article-lead {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.75;
}

.article-meta {
  display: flex;
  margin-top: 30px;
  color: var(--ink-muted);
  font-size: 12px;
  gap: 18px;
  flex-wrap: wrap;
}

.article-body {
  width: min(100%, var(--reading));
  margin: 0 auto;
  padding-top: 34px;
  font-family:
    "New York", "Songti SC", "Noto Serif CJK SC", Georgia, serif;
}

.article-body p,
.article-body li {
  color: #d5dfda;
  font-size: 18px;
  line-height: 1.95;
}

.article-body section {
  margin-top: 72px;
}

.article-body h2 {
  margin: 0 0 24px;
  font-family:
    "SF Pro Display", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(29px, 4vw, 39px);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.direct-answer {
  padding: 28px 30px;
  border: 1px solid rgba(255, 212, 105, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 105, 0.1), transparent 14rem),
    rgba(10, 54, 55, 0.68);
}

.direct-answer span {
  color: var(--moon);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.direct-answer p {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.action-list {
  padding: 0;
  list-style: none;
  counter-reset: action;
}

.action-list li {
  position: relative;
  min-height: 56px;
  padding: 17px 0 17px 64px;
  border-bottom: 1px solid var(--line);
  counter-increment: action;
}

.action-list li:first-child {
  border-top: 1px solid var(--line);
}

.action-list li::before {
  position: absolute;
  top: 17px;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--night);
  background: var(--moon);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 38px;
  text-align: center;
  content: counter(action, decimal-leading-zero);
}

.product-bridge {
  padding: 32px;
  border: 1px solid rgba(128, 200, 162, 0.22);
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(11, 73, 68, 0.72), rgba(6, 35, 44, 0.9));
}

.product-bridge h2 {
  margin-top: 16px;
}

.product-bridge p {
  font-size: 16px;
}

.references {
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.references h2 {
  font-size: 25px;
}

.references ul {
  padding-left: 1.2em;
}

.references li,
.references p {
  color: var(--ink-muted);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  font-size: 13px;
  line-height: 1.7;
}

.references a {
  color: var(--ink-soft);
}

.related-section {
  margin-bottom: 130px;
}

.article-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}

.article-grid.compact .article-card a {
  min-height: 260px;
}

.editorial-layout .article-body {
  margin-left: 0;
}

.article-body a {
  color: var(--moon);
}

.not-found {
  display: grid;
  width: min(calc(100% - 48px), 760px);
  min-height: 68vh;
  margin: 0 auto;
  place-content: center;
  text-align: center;
}

.not-found > span {
  color: var(--moon);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.not-found h1 {
  margin-top: 16px;
  font-size: clamp(42px, 7vw, 72px);
}

.not-found p {
  color: var(--ink-muted);
  font-size: 18px;
}

.not-found .hero-actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .studio-hero {
    grid-template-columns: 1fr;
  }

  .studio-orbit {
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .product-showcase {
    grid-template-columns: 180px 1fr;
  }

  .product-icon-wrap {
    width: 180px;
    height: 180px;
  }

  .product-icon-wrap img {
    width: 148px;
    height: 148px;
  }

  .product-promise {
    display: flex;
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 460px;
  }

  .flow-section,
  .support-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "flow"
      "note";
  }

  .support-section {
    gap: 36px;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-feature {
    grid-template-columns: 1fr;
  }

  .hub-moon {
    display: none;
  }
}

@media (max-width: 720px) {
  .studio-hero,
  .studio-products,
  .studio-about,
  .site-header,
  .hero,
  .section,
  .proof-strip,
  .breadcrumbs,
  .site-footer,
  .article-hero,
  .hub-feature,
  .article-layout,
  .health-notice,
  .not-found {
    width: min(calc(100% - 32px), var(--max));
  }

  .studio-hero {
    min-height: auto;
    padding: 58px 0 84px;
    gap: 54px;
  }

  .studio-hero h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .studio-hero > div:first-child > p:last-child {
    font-size: 17px;
  }

  .studio-orbit > strong {
    width: 104px;
    height: 104px;
    border-radius: 30px 30px 46px 30px;
    font-size: 48px;
  }

  .studio-products {
    padding: 88px 0 100px;
  }

  .product-showcase {
    padding: 26px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-icon-wrap {
    width: 112px;
    height: 112px;
    border-radius: 30px;
  }

  .product-icon-wrap img {
    width: 92px;
    height: 92px;
    border-radius: 24px;
  }

  .product-showcase-copy h2 {
    font-size: 44px;
  }

  .product-promise {
    display: grid;
    padding-top: 24px;
    grid-template-columns: repeat(3, 1fr);
    grid-column: auto;
    gap: 8px;
  }

  .product-promise strong {
    font-size: 18px;
  }

  .studio-about {
    padding: 88px 0 110px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-header {
    padding: 16px 0;
  }

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

  .brand small {
    display: none;
  }

  .site-header nav {
    max-width: none;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .site-header nav a:nth-child(3):not(.language-switch) {
    display: none;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-header nav a.language-switch {
    display: inline-flex;
    min-width: 50px;
  }

  .hero {
    padding: 40px 0 56px;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(35px, 10.2vw, 44px);
  }

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

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

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 390px;
    border-radius: 36px 36px 110px 36px;
  }

  .moon-shape {
    top: 58px;
    right: 55px;
    width: 150px;
    height: 150px;
  }

  .moon-shape::after {
    left: 48px;
    width: 142px;
    height: 142px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .proof-strip div:first-child,
  .proof-strip div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 92px;
  }

  .section-heading h2 {
    font-size: clamp(37px, 11vw, 50px);
  }

  .split-heading {
    display: block;
  }

  .article-grid,
  .article-grid.compact,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    margin-top: 34px;
  }

  .article-card a {
    min-height: 270px;
  }

  .principle-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .quote-mark {
    left: 4%;
    font-size: 100px;
  }

  .support-section {
    grid-template-areas: none;
  }

  .mail-card {
    padding: 26px;
  }

  .faq-section {
    margin-bottom: 100px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .breadcrumbs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .article-hero {
    padding-top: 68px;
  }

  .article-hero h1,
  .article-header h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .hub-feature > div:first-child {
    padding: 34px 26px;
  }

  .hub-feature h2 {
    font-size: 34px;
  }

  .article-header {
    padding-top: 60px;
  }

  .article-lead {
    font-size: 18px;
  }

  .article-body {
    padding-top: 10px;
  }

  .article-body p,
  .article-body li {
    font-size: 17px;
  }

  .direct-answer,
  .product-bridge {
    padding: 24px;
  }

  .action-list li {
    padding-left: 55px;
  }
}

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

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