:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #4b3949;
  background: #fff9f7;
  --ink: #4b3949;
  --muted: #756574;
  --teal: #277f79;
  --teal-dark: #17645f;
  --teal-soft: #dff4f0;
  --rose: #d2678c;
  --rose-soft: #ffe7ef;
  --lavender: #8066b4;
  --lavender-soft: #eee8fb;
  --yellow: #f4c95f;
  --paper: #fffdfb;
  --line: rgba(125, 89, 112, 0.19);
  --shadow: 0 24px 64px rgba(83, 54, 75, 0.12);
}

* { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 7%, rgba(255, 220, 231, 0.66), transparent 30%),
    radial-gradient(circle at 87% 10%, rgba(205, 238, 236, 0.7), transparent 30%),
    linear-gradient(180deg, #fff9f7 0 35%, #fffdfb 58%, #f8f6fb 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(circle, rgba(122, 87, 111, 0.12) 1.4px, transparent 1.5px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 40%);
  content: "";
  pointer-events: none;
}

a { color: inherit; }
button, input { font: inherit; }
button, .link-button { min-height: 46px; }
button { border: 0; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(39, 127, 121, 0.38);
  outline-offset: 3px;
}

.site-header,
.hero,
.pricing-strip,
.content-section,
.faq-section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
}

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

.brand-lockup img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-lockup span { display: grid; gap: 2px; }
.brand-lockup strong { font-size: 20px; letter-spacing: 0.03em; }
.brand-lockup small { color: var(--muted); font-size: 12px; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 30px);
}

.site-header nav a {
  color: #665464;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

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

.site-header nav .header-cta {
  padding: 10px 17px;
  border: 1px solid rgba(39, 127, 121, 0.26);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 6px 18px rgba(77, 61, 75, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
  padding: clamp(54px, 7vw, 94px) 0 72px;
}

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

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 19px;
}

.eyebrow-row span,
.section-kicker,
.card-kicker,
.video-copy > span,
.showcase-grid article > div:last-child > span {
  color: #9b5172;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.eyebrow-row span {
  padding: 7px 11px;
  border: 1px solid rgba(203, 118, 150, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.eyebrow-row span:last-child {
  color: var(--teal-dark);
  border-color: rgba(39, 127, 121, 0.2);
}

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

h1 {
  max-width: 690px;
  margin-bottom: 21px;
  color: #443140;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 25px;
  color: #6e5c6b;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.85;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 22px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #584656;
  font-size: 14px;
  font-weight: 720;
}

.hero-points span { color: var(--rose); }

.hero-actions,
.action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 820;
  text-decoration: none;
}

button:disabled { cursor: wait; opacity: 0.64; }

.primary {
  color: #fff;
  background: linear-gradient(135deg, #49aaa2, #247d77);
  box-shadow: 0 7px 0 #17655f, 0 14px 27px rgba(32, 119, 113, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #17655f, 0 17px 30px rgba(32, 119, 113, 0.24);
}

.ghost-link {
  padding: 11px 4px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.trust-strip span {
  position: relative;
  padding: 7px 11px 7px 26px;
  border: 1px solid rgba(125, 89, 112, 0.13);
  border-radius: 999px;
  color: #675665;
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 720;
}

.trust-strip span::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
  transform: translateY(-50%);
}

.access-card {
  position: relative;
  scroll-margin-top: 20px;
  width: 100%;
  min-width: 0;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid rgba(156, 103, 136, 0.24);
  border-radius: 28px;
  background: rgba(255, 253, 251, 0.94);
  box-shadow: var(--shadow), 0 0 0 9px rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
}

.access-card::before {
  position: absolute;
  top: -14px;
  right: 36px;
  width: 86px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(255, 218, 227, 0.9), rgba(232, 222, 251, 0.9));
  content: "";
  opacity: 0.9;
  transform: rotate(3deg);
}

.access-card-top,
.section-heading,
.success-heading,
.entitlement-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-card-top { justify-content: space-between; margin-bottom: 12px; }

.card-kicker { color: var(--rose); }

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 750;
}

.secure-badge span { color: #46a79e; font-size: 9px; }

.access-card h2 {
  margin-bottom: 11px;
  color: #463443;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
}

.access-intro {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.notice,
.preview-notice,
.result,
.cooldown {
  padding: 13px 15px;
  border-radius: 13px;
  line-height: 1.55;
}

.notice { color: #6c5a30; background: #fff4cf; }

.preview-notice {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  color: #356b68;
  background: var(--teal-soft);
}

.preview-notice[hidden] { display: none; }
.preview-notice span { color: #5a7472; font-size: 13px; }
.preview-notice a { width: fit-content; color: var(--teal-dark); font-size: 13px; font-weight: 800; }

.view + .view { margin-top: 22px; }

form { display: grid; gap: 14px; }

label { display: grid; gap: 8px; color: #574454; font-weight: 790; }
label span { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
label small { color: #8a7887; font-weight: 600; }

input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #dccbd7;
  border-radius: 14px;
  color: #443641;
  background: #fff;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

input:hover { border-color: #cbb5c4; }
input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(39, 127, 121, 0.12); }
input[aria-invalid="true"] { border-color: #bd4f72; box-shadow: 0 0 0 4px rgba(189, 79, 114, 0.11); }
#license-code { text-transform: uppercase; letter-spacing: 0.065em; }

.field-help {
  margin: -7px 0 1px;
  color: #7c6b79;
  font-size: 12px;
  line-height: 1.55;
}

#activate-button { width: 100%; margin-top: 2px; }

.license-rules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 19px;
}

.license-rules span {
  padding-top: 10px;
  border-top: 1px solid #eee0e9;
  color: #756474;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.success-heading { margin-bottom: 16px; }
.success-heading > div { display: grid; gap: 3px; }
.success-heading small { color: var(--teal); font-weight: 750; }
.success-heading strong { font-size: 17px; }

.success-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 7px 17px rgba(39, 127, 121, 0.2);
}

.entitlement-row {
  align-items: stretch;
  padding: 16px;
  border-radius: 17px;
  background: #f7f1f5;
}

.entitlement-row > div { display: grid; flex: 1; gap: 5px; }
.entitlement-row strong { font-size: 17px; }
.muted { color: #796978; }

.action-row { margin-top: 18px; }
.action-row > * { flex: 1 1 150px; }
.secondary { color: #62515f; background: #eee7ec; }
.logout-note { margin: 12px 0 0; color: #7b6b78; font-size: 12px; line-height: 1.55; }

.devices-view {
  padding-top: 20px;
  border-top: 1px solid #eddee7;
}

.section-heading { justify-content: space-between; }
.section-heading h3 { margin-bottom: 3px; font-size: 17px; }
.section-heading p { margin-bottom: 0; font-size: 13px; }
.text-button { min-height: 44px; padding: 8px 12px; color: var(--teal-dark); background: transparent; }

.device-list { display: grid; gap: 10px; margin-top: 12px; }
.device-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid #e9dbe4;
  border-radius: 14px;
  background: #fff;
}

.device-copy { min-width: 0; }
.device-copy strong,
.device-copy span { display: block; }
.device-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.device-copy span { margin-top: 4px; color: #756575; font-size: 13px; }
.remove-device { min-height: 44px; flex: 0 0 auto; color: #963e5d; background: #fbe8ee; }
.cooldown { margin: 13px 0 0; color: #755a18; background: #fff2c8; }

.result { margin-top: 18px; }
.result.error { color: #89314f; background: #ffe5ec; }
.result.success { color: #176862; background: #e0f3ef; }
.access-footnote { margin: 20px 0 0; color: #7b6b78; font-size: 12px; line-height: 1.55; text-align: center; }

.pricing-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.5fr);
  align-items: center;
  gap: 34px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(138, 101, 126, 0.17);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 44px rgba(77, 61, 75, 0.07);
}

.pricing-copy h2,
.section-heading-large h2,
.faq-section h2 {
  margin: 6px 0 10px;
  color: #493746;
  font-size: clamp(25px, 3.2vw, 39px);
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.pricing-copy p,
.section-heading-large > p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }

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

.price-options article {
  position: relative;
  padding: 18px;
  border: 1px solid #eadce5;
  border-radius: 18px;
  background: #fffdfb;
}

.price-options article.recommended {
  border-color: rgba(39, 127, 121, 0.34);
  background: linear-gradient(180deg, #edfaf7, #fffdfb);
  box-shadow: inset 0 4px var(--teal);
}

.price-options article > span { color: #8a5870; font-size: 12px; font-weight: 800; }
.price-options strong { display: block; margin: 7px 0 8px; color: #493746; font-size: 31px; }
.price-options strong small { margin-right: 2px; font-size: 14px; }
.price-options p { margin-bottom: 0; color: #776675; font-size: 12px; line-height: 1.55; }

.content-section { padding: clamp(78px, 10vw, 126px) 0 0; }

.section-heading-large {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

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

.feature-grid article,
.faq-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 28px rgba(73, 55, 70, 0.05);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  color: var(--teal-dark);
  background: var(--teal-soft);
  font-size: 20px;
  font-weight: 800;
}

.feature-grid article:nth-child(2n) .feature-icon { color: #875070; background: var(--rose-soft); }
.feature-grid article:nth-child(3n) .feature-icon { color: #695396; background: var(--lavender-soft); }
.feature-grid h3,
.step-list h3,
.showcase-grid h3,
.faq-grid h3 { margin-bottom: 8px; color: #4c3948; font-size: 18px; }
.feature-grid p,
.step-list p,
.showcase-grid p,
.faq-grid p { margin-bottom: 0; color: #746473; line-height: 1.7; }

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 30px;
}

.step-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.step-list li > span {
  color: var(--rose);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.step-list h3 { margin-top: 1px; }

.video-demo {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 68, 88, 0.2);
  border-radius: 24px;
  background: #3c303d;
  box-shadow: var(--shadow);
}

.guide-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 956;
  object-fit: contain;
  background: #171217;
}

.video-copy { padding: 23px 25px 26px; color: #fff; }
.video-copy > span { color: #f4b9ce; }
.video-copy h3 { margin: 7px 0 8px; font-size: 21px; }
.video-copy p { margin-bottom: 0; color: #d7cbd5; line-height: 1.65; }

.showcase-grid .case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(73, 55, 70, 0.07);
}

.case-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.75fr);
  align-items: stretch;
}

.case-copy { padding: 20px 21px 23px; }
.case-card-featured .case-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 4vw, 42px); }
.case-copy > span { display: block; margin-bottom: 7px; color: #9b5172; font-size: 12px; font-weight: 850; letter-spacing: 0.08em; }

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.case-metrics strong {
  padding: 7px 10px;
  border: 1px solid rgba(54, 141, 132, 0.18);
  border-radius: 999px;
  color: #347d76;
  background: #eef9f7;
  font-size: 12px;
  white-space: nowrap;
}

.case-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  background: #372c38;
}

.case-panel,
.case-single {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f4eef2;
}

.case-panel { aspect-ratio: 4 / 3; }
.case-single { aspect-ratio: 4 / 3; }
.case-card-featured .case-panel { aspect-ratio: 16 / 10; }

.case-panel img,
.case-single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-panel-pattern img,
.case-single-pattern img {
  object-fit: contain;
  background: #fff;
}

.case-card:not(.case-card-featured) .case-panel-pattern img { object-fit: cover; }

.case-panel figcaption,
.case-single figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(52, 39, 50, 0.78);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}

.asset-note {
  margin: 18px 0 0;
  padding: 13px 16px;
  border-radius: 14px;
  color: #725e6e;
  background: rgba(238, 232, 251, 0.72);
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: 45px;
  padding: clamp(80px, 10vw, 125px) 0;
}

.faq-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.faq-grid article { padding: 20px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: #756574;
  font-size: 13px;
}

.site-footer > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.site-footer strong { color: #4d3948; }
.site-footer a { color: var(--teal-dark); font-weight: 750; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr); gap: 38px; }
  .site-header nav a:not(.header-cta) { display: none; }
  .pricing-strip { grid-template-columns: 1fr; }
  .section-heading-large { grid-template-columns: 1fr; gap: 10px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-card-featured { grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.75fr); }
  .faq-section { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 820px) {
  .site-header,
  .hero,
  .pricing-strip,
  .content-section,
  .faq-section,
  .site-footer { width: min(100% - 28px, 680px); }

  .site-header { padding-block: 16px; }
  .brand-lockup small { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .access-card { order: -1; }
  .hero-copy { padding: 14px 4px 0; }
  h1 { font-size: clamp(38px, 10vw, 57px); }
  .pricing-strip { margin-top: 10px; }
  .how-layout { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .case-card-featured { grid-template-columns: 1fr; }
  .case-card-featured .case-panel { aspect-ratio: 4 / 3; }
  .faq-grid { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 580px) {
  .site-header,
  .hero,
  .pricing-strip,
  .content-section,
  .faq-section,
  .site-footer { width: calc(100% - 24px); }

  .site-header nav .header-cta { padding: 9px 13px; font-size: 13px; }
  .brand-lockup { gap: 8px; }
  .brand-lockup img { width: 42px; height: 42px; }
  .brand-lockup strong { font-size: 17px; }
  .hero { gap: 34px; padding: 20px 0 56px; }
  .access-card { padding: 24px 19px; border-radius: 23px; }
  .access-card::before { right: 24px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions > * { width: 100%; text-align: center; }
  .trust-strip span { flex: 1 1 calc(50% - 8px); }
  .license-rules { grid-template-columns: 1fr; }
  .license-rules span { padding: 8px 0 0; text-align: left; }
  .entitlement-row { flex-direction: column; }
  .device-item { align-items: flex-start; }
  .pricing-strip { padding: 23px 18px; border-radius: 22px; }
  .price-options { grid-template-columns: 1fr; }
  .price-options article { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 15px; }
  .price-options strong { grid-row: 1 / 3; grid-column: 2; margin: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .content-section { padding-top: 78px; }
  .step-list li { grid-template-columns: 45px minmax(0, 1fr); gap: 11px; padding: 17px; }
  .case-comparison { grid-template-columns: 1fr; min-height: 0; }
  .case-card-featured .case-panel { aspect-ratio: 16 / 10; }
  .faq-section { padding-block: 80px; }
}

@media (max-width: 380px) {
  .brand-lockup strong { font-size: 16px; }
  .site-header nav .header-cta { padding-inline: 11px; }
  .access-card-top { align-items: flex-start; }
  .secure-badge { font-size: 11px; }
  h1 { font-size: 36px; }
  .device-item { flex-direction: column; }
  .remove-device { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
