:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #111316;
  --muted: #6f6259;
  --line: #e3ded5;
  --brick: #a8765a;
  --white: #ffffff;
  --mobi-card: #f3efe7;
  --toro-card: #f8f2ec;
  --shadow: 0 22px 70px rgba(17, 19, 22, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body[data-lang="en"] {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

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

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.public-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px clamp(16px, 5vw, 46px);
  background: rgba(251, 250, 247, 0.88);
  border-bottom: 1px solid rgba(227, 222, 213, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  gap: 9px;
  min-height: 38px;
  max-width: calc(100vw - 128px);
  padding-right: 96px;
  font-size: 15px;
  font-weight: 850;
}

.brand-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--mobi-card);
}

.brand-avatar img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-nav {
  position: absolute;
  top: 60px;
  right: 16px;
  left: 16px;
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  gap: clamp(18px, 7vw, 32px);
  width: auto;
  max-width: none;
  min-width: 0;
  order: 3;
  padding-top: 3px;
}

.public-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 4px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.public-nav a:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.language-toggle {
  position: fixed;
  z-index: 2;
  top: 14px;
  right: auto;
  left: clamp(210px, 70vw, 288px);
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

.language-toggle span {
  padding: 0 2px;
  font-size: 12px;
}

.language-option {
  min-width: 36px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.language-option.active {
  color: var(--white);
  background: var(--brick);
  font-weight: 900;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 90vh;
  min-height: 90svh;
  padding: 96px 0 10vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 72px 0 auto;
  height: 1px;
  background: var(--line);
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1024px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  align-items: center;
  gap: clamp(18px, 6vw, 72px);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 100%;
  margin-bottom: 14px;
  font-size: clamp(52px, 15vw, 92px);
  font-weight: 920;
  line-height: 0.96;
  overflow-wrap: normal;
}

body[data-lang="en"] h1 {
  font-size: clamp(34px, 8.8vw, 60px);
  line-height: 1.02;
}

.hero-subtitle {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: clamp(22px, 6vw, 34px);
  font-weight: 720;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

body[data-lang="en"] .hero-subtitle {
  font-size: clamp(18px, 5vw, 30px);
}

.hero-actions {
  margin-top: 20px;
}

.primary-cta,
.subscribe-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid var(--brick);
  color: var(--white);
  background: var(--brick);
  box-shadow: 0 14px 30px rgba(168, 118, 90, 0.22);
  cursor: pointer;
  font-weight: 850;
}

.primary-cta {
  padding: 0 22px;
}

.primary-cta:hover,
.subscribe-form button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  order: -1;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: end;
  justify-self: center;
  width: min(240px, 70vw);
  min-height: 150px;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 5%;
  left: 8%;
  z-index: -1;
  height: 38%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(2px);
}

.portrait-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.portrait-mobi {
  align-self: start;
  aspect-ratio: 0.78;
  background: var(--mobi-card);
  transform: rotate(-4deg) translateX(7%);
}

.portrait-toro {
  aspect-ratio: 0.78;
  background: var(--toro-card);
  transform: rotate(4deg) translateX(-7%) translateY(18px);
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 10vh;
  pointer-events: none;
  border-top: 1px solid rgba(227, 222, 213, 0.7);
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), rgba(243, 239, 231, 0.7));
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  opacity: 0.6;
  transform: translateX(-50%) rotate(45deg);
}

.subscribe-form {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
}

.subscribe-form label,
.footer-subscribe p {
  color: var(--muted);
  font-size: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.subscribe-form input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.subscribe-form input:focus {
  border-color: var(--brick);
  box-shadow: 0 0 0 4px rgba(168, 118, 90, 0.14);
}

.subscribe-form button {
  width: 100%;
  padding: 0 18px;
  white-space: nowrap;
}

.subscribe-form button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status.success {
  color: #526f63;
}

.form-status.error {
  color: var(--brick);
}

.section {
  padding: clamp(70px, 12vw, 116px) 0;
  border-bottom: 1px solid var(--line);
}

.section h2,
.site-footer h2 {
  margin-bottom: 22px;
  font-size: clamp(32px, 9vw, 58px);
  font-weight: 910;
  line-height: 1.04;
}

.character-grid {
  display: grid;
  gap: 18px;
}

.character-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.mobi-card {
  background: var(--mobi-card);
}

.toro-card {
  background: var(--toro-card);
}

.character-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(227, 222, 213, 0.9);
}

.character-card h3 {
  margin-bottom: 4px;
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 910;
  line-height: 1;
}

.character-kicker {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 760;
}

.character-body {
  margin-bottom: 18px;
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 650;
  line-height: 1.44;
}

.character-note {
  margin-bottom: 0;
  color: rgba(111, 98, 89, 0.8);
  font-size: 14px;
}

.placeholder-section {
  background: rgba(243, 239, 231, 0.38);
}

.section-subtitle {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 5vw, 28px);
  font-weight: 650;
}

.future-container {
  min-height: 180px;
  margin-top: 32px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.38);
}

.about-layout {
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: left;
}

.founder-avatar {
  width: 112px;
  height: 112px;
  border: 1px solid var(--line);
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(17, 19, 22, 0.12);
}

.about-copy {
  width: 100%;
}

.founder-text {
  color: var(--ink);
  font-size: clamp(19px, 5vw, 25px);
  font-weight: 560;
  line-height: 1.62;
}

.founder-text p {
  margin: 0 0 26px;
}

.founder-text p:last-child {
  margin-bottom: 0;
}

.contact-list,
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--muted);
  font-style: normal;
}

.contact-list a,
.footer-contact a {
  width: fit-content;
  border-bottom: 1px solid rgba(111, 98, 89, 0.32);
}

.contact-list a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.site-footer {
  padding: 58px 0 28px;
  background: #f3efe7;
}

.footer-inner {
  display: grid;
  gap: 34px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 910;
}

.footer-inner p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-subscribe h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 7vw, 36px);
}

.footer-subscribe .subscribe-form {
  margin-top: 18px;
}

.footer-contact {
  align-content: start;
  margin-top: 0;
}

.copyright {
  width: min(1024px, calc(100% - 32px));
  margin: 42px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

@media (min-width: 520px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .subscribe-form button {
    width: auto;
  }
}

@media (min-width: 760px) {
  .public-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    min-height: 0;
    overflow: visible;
  }

  .public-brand {
    padding-right: 0;
  }

  .public-nav {
    position: static;
    grid-column: auto;
    display: flex;
    justify-content: center;
    order: 0;
    padding-top: 0;
  }

  .public-nav a {
    padding: 0 10px;
  }

  .language-toggle {
    position: static;
  }

  .hero {
    padding-top: 96px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  }

  .hero-copy {
    min-width: 0;
    max-width: 560px;
  }

  .hero-visual {
    order: 0;
    justify-self: stretch;
    width: auto;
    min-height: 430px;
  }

  .portrait-toro {
    transform: rotate(4deg) translateX(-7%) translateY(34px);
  }

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

  .character-card {
    padding: 32px;
  }

  .character-avatar {
    width: 80px;
    height: 80px;
  }

  .about-layout {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    justify-items: start;
    gap: 42px;
  }

  .founder-avatar {
    width: 120px;
    height: 120px;
  }

  .footer-inner {
    grid-template-columns: 0.9fr 1.35fr 0.8fr;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .hero-inner,
  .section-inner,
  .footer-inner,
  .copyright {
    width: min(1024px, calc(100% - 64px));
  }

  .hero {
    min-height: 94vh;
    min-height: 94svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
