:root {
  color-scheme: light;
  --ink: #16221b;
  --muted: #66746b;
  --line: rgba(22, 34, 27, 0.12);
  --paper: #fffdf8;
  --soft: #f4f0e7;
  --honey: #d9b36b;
  --cream: #fff7ed;
  --mint: #aee7d6;
  --blue: #1878ff;
  --rose: #ff6b86;
  --shadow: 0 26px 80px rgba(32, 45, 38, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 179, 107, 0.36), transparent 31rem),
    radial-gradient(circle at 88% 10%, rgba(174, 231, 214, 0.46), transparent 30rem),
    linear-gradient(180deg, #fffdf8 0%, #f7f1e6 48%, #eef6f1 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 12px 38px rgba(32, 45, 38, 0.1);
  backdrop-filter: blur(20px);
}

.brand,
.site-header nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding-left: 4px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(154, 100, 0, 0.18);
}

.site-header nav {
  gap: 6px;
}

.site-header nav a {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-header nav a:hover {
  color: var(--ink);
  background: rgba(22, 34, 27, 0.06);
}

.site-header .nav-download {
  color: white;
  background: var(--ink);
}

.site-header .nav-download:hover {
  color: white;
  background: #0f1713;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 54px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 88px);
  margin: 0 auto;
  padding: 52px 0 72px;
}

.hero-copy {
  padding: 24px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #8a5c08;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 10em;
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 660px;
  margin: 26px 0 0;
  color: #425048;
  font-size: clamp(18px, 2.1vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(32, 45, 38, 0.12);
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 38px 0 0;
}

.facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.facts dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  inset: 8% 0 7% 7%;
  content: "";
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(217, 179, 107, 0.76), rgba(174, 231, 214, 0.76)),
    var(--honey);
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.phone-stack {
  position: relative;
  height: 680px;
}

.phone {
  position: absolute;
  width: min(52vw, 318px);
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(24, 34, 29, 0.24);
}

.phone-back {
  top: 52px;
  right: 10px;
  opacity: 0.82;
  transform: rotate(7deg) scale(0.92);
}

.phone-front {
  top: 0;
  left: 8%;
  transform: rotate(-2deg);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.manage h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro > p {
  align-self: end;
  margin: 0;
  color: #48564e;
  font-size: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2 {
  max-width: 800px;
}

.manage-links a::after,
.app-card a::after {
  content: "→";
}

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

.feature-card {
  min-height: 248px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 50px rgba(32, 45, 38, 0.08);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #9a6400, #36b88f);
  font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
  background: linear-gradient(135deg, var(--rose), #ffad54);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.screens {
  overflow: hidden;
}

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

.screen-gallery figure {
  margin: 0;
  padding: 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 20px 60px rgba(32, 45, 38, 0.1);
}

.screen-gallery img {
  width: 100%;
  aspect-ratio: 416 / 900;
  object-fit: cover;
  border-radius: 8px;
}

.screen-gallery figcaption {
  min-height: 48px;
  padding: 14px 4px 0;
  color: #314039;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.manage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: stretch;
  margin-bottom: 58px;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 179, 107, 0.78), rgba(174, 231, 214, 0.74)),
    var(--honey);
  box-shadow: var(--shadow);
}

.manage-copy p:last-child {
  max-width: 690px;
  margin: 20px 0 0;
  color: #405149;
  font-size: 18px;
}

.manage-links {
  display: grid;
  gap: 12px;
  align-content: center;
}

.manage-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid rgba(22, 34, 27, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.app-catalog {
  padding-top: 40px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 20px 54px rgba(32, 45, 38, 0.08);
}

.app-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), #36b88f);
  font-size: 24px;
  font-weight: 900;
}

.app-mark.alt {
  background: linear-gradient(135deg, #9a6400, #36b88f);
}

.app-kicker {
  margin: 0 0 2px;
  color: #8a5c08;
  font-size: 13px;
  font-weight: 900;
}

.app-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.app-card p:not(.app-kicker) {
  margin: 0;
  color: var(--muted);
}

.app-card a {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  font-weight: 900;
}

.page-hero {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0 34px;
}

.page-hero h1 {
  max-width: 12em;
}

.page-hero p:last-child {
  max-width: 720px;
  margin: 22px 0 0;
  color: #425048;
  font-size: clamp(18px, 2vw, 22px);
}

.policy-content {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto 68px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 70px rgba(32, 45, 38, 0.1);
}

.policy-content h2 {
  margin: 34px 0 12px;
  font-size: 26px;
  line-height: 1.25;
}

.policy-content h2:first-of-type {
  margin-top: 10px;
}

.policy-content p,
.policy-content li {
  color: #435249;
  font-size: 17px;
}

.policy-content a,
.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 42px;
  }

  h1 {
    max-width: 11em;
  }

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

  .phone-stack {
    height: 580px;
  }

  .phone {
    width: min(56vw, 292px);
  }

  .phone-front {
    left: 16%;
  }

  .phone-back {
    right: 14%;
  }

  .intro,
  .manage {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .app-grid,
  .screen-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
    border-radius: 22px;
  }

  .brand span {
    display: none;
  }

  .site-header nav {
    width: 100%;
    justify-content: flex-end;
    gap: 2px;
    overflow-x: auto;
  }

  .site-header nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero {
    gap: 20px;
    padding-bottom: 46px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .facts,
  .feature-grid,
  .app-grid,
  .screen-gallery {
    grid-template-columns: 1fr;
  }

  .facts div {
    padding: 13px 14px;
  }

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

  .hero-visual::before {
    inset: 7% 2% 5%;
  }

  .phone-stack {
    height: 480px;
  }

  .phone {
    width: 230px;
    border-radius: 25px;
  }

  .phone-front {
    left: 4%;
  }

  .phone-back {
    top: 40px;
    right: 2%;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero {
    padding-top: 54px;
  }

  .policy-content {
    padding: 28px 18px;
  }

  .section-heading {
    display: block;
  }

  .manage {
    padding: 28px 18px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 6px;
  }
}
