:root {
  --ink: #171b18;
  --ink-soft: #505852;
  --paper: #f5f3eb;
  --surface: #ffffff;
  --line: #d9ddd4;
  --lime: #dceb76;
  --orange: #ef5a32;
  --sky: #dbe9ed;
  --night: #1c211d;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 27, 24, 0.14);
  background: rgba(245, 243, 235, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 27, 24, 0.25);
  border-radius: 10px;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
}

.brand-note {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px 22px;
  color: #303632;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding-block: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #000;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--lime);
}

.button.accent {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.button.accent:hover {
  background: #d94b26;
}

.nav-cta {
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(860px, 88svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--lime);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 9px;
  background: var(--orange);
  content: "";
}

.hero-inner {
  min-height: min(860px, 88svh);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: 28px;
  padding-block: 62px 84px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #30362c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 5px;
  border-radius: 1px;
  background: var(--orange);
  content: "";
}

.hero h1 {
  max-width: 760px;
  margin: 24px 0 22px;
  font-size: clamp(48px, 6.4vw, 92px);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: #323a33;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 550;
  line-height: 1.55;
}

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

.protocols span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid rgba(23, 27, 24, 0.58);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}

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

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

.hero-device {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(410px, 84%);
  padding: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 48px;
  background: #090b0a;
  box-shadow: 0 32px 80px rgba(23, 27, 24, 0.28);
  transform: translate(-42%, -50%) rotate(2.4deg);
}

.hero-device::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 108px;
  height: 25px;
  border-radius: 999px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

.hero-device img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 39px;
}

.hero-label {
  position: absolute;
  z-index: 4;
  padding: 12px 15px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 6px 6px 0 rgba(23, 27, 24, 0.16);
}

.hero-label.one {
  top: 13%;
  left: 0;
}

.hero-label.two {
  right: -6px;
  bottom: 18%;
  background: var(--sky);
}

.section {
  padding-block: clamp(72px, 9vw, 118px);
}

.section.compact {
  padding-block: clamp(52px, 7vw, 82px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 470px);
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 880;
  line-height: 1.06;
}

.section-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.compatibility-band {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.compatibility-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}

.compatibility-grid > div {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.compatibility-grid > div:first-child {
  padding-left: 0;
}

.compatibility-grid > div:last-child {
  border-right: 0;
}

.compatibility-grid strong {
  font-size: 19px;
  line-height: 1.2;
}

.compatibility-grid span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

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

.feature {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--lime);
  font-size: 12px;
  font-weight: 900;
}

.feature h3 {
  margin: 48px 0 10px;
  font-size: 25px;
  line-height: 1.2;
}

.feature p {
  max-width: 470px;
  margin: 0;
  color: var(--ink-soft);
}

.workflow {
  background: var(--night);
  color: #fff;
}

.workflow .section-kicker {
  color: var(--lime);
}

.workflow .section-copy {
  color: #cbd1c8;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-list li {
  min-height: 230px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-list li:last-child {
  border-right: 0;
}

.workflow-list b {
  display: block;
  margin-bottom: 62px;
  color: var(--lime);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.workflow-list strong {
  display: block;
  font-size: 25px;
}

.workflow-list span {
  display: block;
  margin-top: 10px;
  color: #cbd1c8;
  font-size: 15px;
}

.gallery-band {
  overflow: hidden;
  background: var(--sky);
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.gallery-copy h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
}

.gallery-copy > p {
  max-width: 460px;
  margin: 20px 0 28px;
  color: #3e4a4d;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(23, 27, 24, 0.35);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.gallery-stage {
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 28px;
}

.phone-frame {
  width: min(360px, 86%);
  padding: 9px;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: 44px;
  background: #080a09;
  box-shadow: 0 28px 70px rgba(23, 27, 24, 0.2);
  transform: rotate(-2deg);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  border-radius: 35px;
}

.gallery-caption {
  min-height: 26px;
  margin: 14px 0 0;
  color: #3e4a4d;
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list strong {
  font-size: 14px;
}

.detail-list span {
  color: var(--ink-soft);
  font-size: 15px;
}

.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--orange);
  background: #fff7ed;
  color: #4b4038;
  font-size: 14px;
}

.cta-band {
  padding-block: 60px;
  background: var(--orange);
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.cta-inner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  flex: 0 0 auto;
}

.site-footer {
  padding-block: 54px 28px;
  background: #111410;
  color: #e8ece5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(2, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  max-width: 400px;
  margin: 18px 0 0;
  color: #aab2a8;
  font-size: 14px;
}

.footer-col h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 8px;
  color: #aab2a8;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #858d83;
  font-size: 12px;
}

.page-hero {
  padding-block: 84px 66px;
  border-bottom: 1px solid var(--line);
  background: var(--lime);
}

.page-hero .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  align-items: end;
  gap: 48px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
}

.page-hero p {
  margin: 0;
  color: #354035;
  font-size: 17px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 54px;
}

.support-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.support-panel p {
  margin: 0;
  color: var(--ink-soft);
}

.info-list {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding-left: 16px;
  border-left: 3px solid var(--lime);
  color: #39413b;
  font-size: 14px;
}

.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  position: relative;
  padding: 22px 42px 22px 0;
  font-size: 17px;
  font-weight: 780;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 20px;
  right: 2px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  content: "+";
  font-size: 19px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin: -4px 0 24px;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-strip {
  padding-block: 36px;
  background: var(--orange);
  color: #fff;
}

.contact-strip .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-strip strong {
  font-size: clamp(22px, 3vw, 34px);
}

.contact-strip a {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.legal {
  background: var(--surface);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.legal-nav a {
  display: block;
  padding-block: 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.legal-nav a:hover {
  color: var(--orange);
}

.legal-content h2 {
  margin: 58px 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #3f4741;
}

.legal-content ul {
  padding-left: 20px;
}

.updated {
  display: inline-block;
  margin-bottom: 34px;
  padding: 7px 10px;
  border-radius: 4px;
  background: var(--sky);
  font-size: 12px;
  font-weight: 750;
}

.not-found {
  min-height: 66svh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--orange);
  font-size: clamp(90px, 18vw, 190px);
  line-height: 0.8;
}

.not-found h1 {
  margin: 28px 0 12px;
  font-size: 32px;
}

.not-found p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 72px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-block: 14px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 54px 42px;
  }

  .hero-copy {
    max-width: 700px;
  }

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

  .hero-device {
    width: min(390px, 72%);
    transform: translate(-50%, -50%) rotate(2.4deg);
  }

  .section-head,
  .page-hero .inner,
  .gallery-layout,
  .details-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

  .compatibility-grid > div,
  .compatibility-grid > div:first-child {
    min-height: 110px;
    padding: 20px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .compatibility-grid > div:nth-child(2n) {
    border-right: 0;
  }

  .compatibility-grid > div:last-child {
    border-bottom: 0;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-list li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .workflow-list li:last-child {
    border-bottom: 0;
  }

  .workflow-list b {
    margin-bottom: 24px;
  }

  .gallery-stage {
    min-height: 650px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .legal-nav {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero h1 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .hero-device {
    width: min(330px, 82%);
  }

  .hero-label {
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero-label.one {
    left: -3px;
  }

  .hero-label.two {
    right: -3px;
  }

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

  .feature {
    min-height: 218px;
    padding: 24px;
  }

  .feature h3 {
    margin-top: 38px;
  }

  .detail-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .cta-inner,
  .contact-strip .inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .page-hero {
    padding-block: 60px 48px;
  }

  .gallery-stage {
    min-height: 600px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
