:root {
  --paper: #f7f3ea;
  --paper-deep: #efe8da;
  --ink: #1f1d1a;
  --ink-soft: #5e574b;
  --ink-faint: #8b8274;
  --accent: #d95d39;
  --sage: #6f8a6a;
  --sage-wash: #e8ede4;
  --line: rgba(31, 29, 26, 0.12);
  --line-soft: rgba(31, 29, 26, 0.07);
  --max: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "Noto Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31, 29, 26, 0.028) 39px 40px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31, 29, 26, 0.022) 39px 40px);
}

main,
.site-header,
.footer {
  position: relative;
  z-index: 1;
}

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

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(217, 93, 57, 0.22);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

html[data-lang="zh"] .en {
  display: none !important;
}

html[data-lang="en"] .zh {
  display: none !important;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-policy {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
}

#lang-toggle {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

#lang-toggle:hover {
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 62px;
}

.eyebrow {
  margin: 0 0 19px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero .display {
  max-width: 600px;
}

.lede {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  font-size: 13px;
  transition: color 0.2s ease;
}

.quiet-link:hover {
  color: var(--ink);
}

.quiet-link span[aria-hidden] {
  font-size: 12px;
}

.fineprint {
  margin: 23px 0 0;
  color: var(--ink-faint);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.hero-art {
  position: relative;
  min-height: 720px;
}

.phone {
  width: 100%;
  padding: 9px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow:
    0 30px 80px rgba(31, 29, 26, 0.17),
    0 3px 8px rgba(31, 29, 26, 0.12);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.phone-main {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 2;
  width: 300px;
  transform: translateX(-50%) rotate(-1.2deg);
}

.photo-card {
  position: absolute;
  overflow: hidden;
  border: 6px solid var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(31, 29, 26, 0.14);
}

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

.photo-river {
  top: 38px;
  left: -12px;
  width: 235px;
  height: 295px;
  transform: rotate(-6deg);
}

.photo-tea {
  right: -8px;
  bottom: 18px;
  width: 185px;
  height: 226px;
  transform: rotate(5deg);
}

.manifesto {
  width: min(900px, calc(100% - 48px));
  margin: 32px auto 0;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.32;
  letter-spacing: -0.025em;
  text-align: center;
}

.manifesto p {
  margin: 0;
}

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

.section-head {
  margin-bottom: 46px;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.section-head .display {
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.04em;
}

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

.feature {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
}

.feature .num {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.feature p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}

.screens {
  padding-top: 12px;
}

.phone-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 34px;
}

.phone-figure {
  flex: 0 1 280px;
  margin: 0;
}

.phone-figure .phone {
  padding: 8px;
  border-radius: 40px;
}

.phone-figure .phone img {
  border-radius: 33px;
}

.phone-figure figcaption {
  margin-top: 15px;
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.photo-story {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 70px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}

.photo-stack {
  position: relative;
  min-height: 540px;
}

.photo-large,
.photo-small {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 7px solid var(--paper);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(31, 29, 26, 0.16);
}

.photo-large {
  top: 20px;
  left: 0;
  width: 72%;
  height: 420px;
  transform: rotate(-3deg);
}

.photo-small {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 285px;
  transform: rotate(4deg);
}

.photo-large img,
.photo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-copy .display {
  font-size: clamp(38px, 4.8vw, 58px);
  letter-spacing: -0.04em;
}

.photo-copy p {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.privacy-band {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
  margin-top: 30px;
  padding: 56px;
  border-radius: 28px;
  background: var(--sage-wash);
}

.privacy-copy .display {
  font-size: clamp(38px, 4.8vw, 58px);
  letter-spacing: -0.04em;
}

.privacy-copy p {
  max-width: 520px;
  margin: 22px 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.privacy-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  padding: 15px 0;
  border-top: 1px solid rgba(31, 29, 26, 0.13);
  color: var(--ink-soft);
  font-size: 13.5px;
}

.privacy-list li::before {
  content: "—";
  margin-right: 10px;
  color: var(--sage);
}

.closing {
  padding: 120px 24px 126px;
  text-align: center;
}

.closing .display {
  font-size: clamp(46px, 6.4vw, 78px);
  letter-spacing: -0.045em;
}

.closing p:not(.eyebrow) {
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.closing .pill {
  margin-top: 30px;
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.closing .pill .dot {
  background: #fff;
}

.footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 11.5px;
}

.footer p {
  margin: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
}

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

.footer a {
  border-bottom: 1px solid transparent;
}

.footer a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Privacy page */

.policy-wrap {
  width: min(780px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 28px;
}

.back-link {
  display: inline-block;
  margin-bottom: 35px;
  color: var(--ink-faint);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.back-link:hover {
  color: var(--ink);
}

.policy-wrap h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.policy-meta {
  margin: 18px 0 0;
  color: var(--ink-faint);
  font-size: 12px;
}

.policy {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.policy h2 {
  margin: 38px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.policy p,
.policy li {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.85;
}

.policy p {
  margin: 0 0 12px;
}

.policy ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.policy li {
  margin-bottom: 6px;
}

.policy a {
  border-bottom: 1px solid var(--line);
}

.policy a:hover {
  border-bottom-color: var(--ink);
}

.policy .contact {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 52px;
  }

  .hero .display {
    font-size: clamp(48px, 11vw, 70px);
  }

  .lede {
    font-size: 16px;
  }

  .hero-art {
    min-height: 610px;
    margin-top: 12px;
  }

  .phone-main {
    width: 260px;
  }

  .photo-river {
    top: 10px;
    left: 0;
    width: 185px;
    height: 235px;
  }

  .photo-tea {
    right: 0;
    bottom: 14px;
    width: 145px;
    height: 180px;
  }

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

  .phone-row {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 18px;
    scrollbar-width: none;
  }

  .phone-row::-webkit-scrollbar {
    display: none;
  }

  .phone-figure {
    flex: 0 0 238px;
  }

  .photo-story {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .photo-stack {
    min-height: 460px;
  }

  .photo-large {
    height: 350px;
  }

  .photo-small {
    height: 235px;
  }

  .privacy-band {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px;
  }

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

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 36px);
    padding: 15px 0;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-policy) {
    display: none;
  }

  .brand {
    font-size: 19px;
  }

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

  .hero,
  .section,
  .manifesto,
  .footer {
    width: calc(100% - 36px);
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .hero .display {
    font-size: clamp(44px, 13vw, 60px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

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

  .phone-main {
    width: 232px;
  }

  .photo-river {
    width: 155px;
    height: 200px;
  }

  .photo-tea {
    width: 122px;
    height: 154px;
  }

  .manifesto {
    margin-top: 6px;
    padding: 32px 0;
    font-size: 25px;
    text-align: left;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head .display {
    font-size: 38px;
  }

  .feature .num {
    margin-bottom: 16px;
  }

  .photo-stack {
    min-height: 390px;
  }

  .photo-large {
    height: 300px;
  }

  .photo-small {
    height: 200px;
  }

  .photo-copy .display,
  .privacy-copy .display {
    font-size: 38px;
  }

  .privacy-band {
    margin-top: 0;
    padding: 28px 24px;
    border-radius: 20px;
  }

  .closing {
    padding: 82px 20px 88px;
  }

  .closing .display {
    font-size: clamp(42px, 12vw, 58px);
  }

  .policy-wrap {
    width: calc(100% - 36px);
    padding-top: 48px;
  }
}
