:root {
  --green: #079669;
  --green-dark: #056148;
  --green-soft: #e5f5ef;
  --ink: #151918;
  --muted: #65706c;
  --line: #dce3e0;
  --surface: #ffffff;
  --surface-alt: #f4f7f5;
  --coral: #ef5a3c;
  --yellow: #f2bd3b;
  --header-height: 68px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 224, 0.8);
  backdrop-filter: blur(18px);
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.nav-links > a:not(.nav-cta):hover {
  color: var(--green);
}

.nav-cta {
  padding: 9px 15px;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  color: var(--green-dark);
  border: 1px solid #b9d7cc;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.hero {
  position: relative;
  min-height: 780px;
  height: calc(100svh - var(--header-height) - 42px);
  max-height: 900px;
  overflow: hidden;
  background-image: url("assets/assetslice-mac.png");
  background-size: cover;
  background-position: 56% center;
  border-bottom: 1px solid var(--line);
}

.page-en .hero {
  background-image: url("assets/assetslice-mac-en-final.png");
}

.hero-shade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(255, 255, 255, 0.96);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding-top: 128px;
}

.eyebrow,
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.eyebrow {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}

.eyebrow svg,
.hero-meta svg {
  width: 17px;
  height: 17px;
}

.hero h1 {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: 72px;
  line-height: 1;
  font-weight: 850;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: #3d4743;
  font-size: 18px;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(7, 150, 105, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  background: #fff;
  border-color: #c7d2ce;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.hero-next {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transform: translateX(-50%);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.hero-next svg {
  width: 17px;
}

.proof-band {
  background: var(--ink);
  color: #fff;
}

.proof-grid {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  align-items: center;
  gap: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.proof-intro .section-kicker {
  color: #6edbb2;
}

.proof-intro h2 {
  margin: 0;
  max-width: 340px;
  font-size: 28px;
  line-height: 1.3;
}

.stat {
  padding-left: 28px;
  border-left: 1px solid #39413e;
}

.stat strong {
  display: block;
  font-size: 34px;
  line-height: 1.2;
}

.stat span {
  color: #aeb8b4;
  font-size: 13px;
}

.accent-stat strong {
  color: var(--yellow);
}

.audience-section,
.features-section,
.pricing-section,
.faq-section {
  padding-block: 112px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.privacy-copy h2,
.pricing-copy h2,
.device-copy h2,
.download-inner h2 {
  margin: 0;
  font-size: 46px;
  line-height: 1.18;
}

.role-tabs {
  display: flex;
  width: fit-content;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line);
}

.role-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.role-tab svg {
  width: 18px;
}

.role-tab.is-active {
  color: var(--green-dark);
  border-color: var(--green);
}

.role-stage {
  margin-top: 42px;
}

.role-copy {
  max-width: 720px;
}

.role-number {
  color: var(--coral);
  font-size: 16px;
  font-weight: 850;
}

.role-copy h3 {
  margin: 10px 0 16px;
  font-size: 32px;
  line-height: 1.28;
}

.role-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.role-copy ul,
.price-panel ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.role-copy li,
.price-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 11px;
  font-weight: 650;
}

.role-copy li svg,
.price-panel li svg {
  width: 18px;
  color: var(--green);
}

.privacy-copy > p:not(.section-kicker),
.pricing-copy > p:not(.section-kicker),
.device-copy > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-item {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-item > svg {
  width: 27px;
  height: 27px;
  color: var(--green);
}

.feature-item:nth-child(3n + 2) > svg {
  color: var(--coral);
}

.feature-item:nth-child(3n + 3) > svg {
  color: #b17a00;
}

.feature-item h3 {
  margin: 30px 0 8px;
  font-size: 21px;
}

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

.privacy-section {
  padding-block: 100px;
  color: #fff;
  background: #15362d;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.privacy-copy .section-kicker {
  color: #73dcb6;
}

.privacy-copy > p:not(.section-kicker) {
  color: #c0d0ca;
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 25px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
}

.privacy-facts {
  border-top: 1px solid #416057;
}

.privacy-facts > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid #416057;
}

.privacy-facts svg {
  color: #73dcb6;
}

.privacy-facts strong {
  display: inline-block;
  min-width: 78px;
  font-size: 22px;
}

.pricing-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.price-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 38px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.price-option {
  min-width: 0;
  padding-left: 22px;
  border-left: 2px solid var(--line);
}

.price-option-primary {
  border-color: var(--green);
}

.price-benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding-top: 22px !important;
  border-top: 1px solid var(--line);
}

.trial {
  color: var(--green-dark);
  font-weight: 800;
}

.price {
  margin-top: 18px;
}

.price small,
.price span,
.price strong {
  display: block;
}

.price small,
.price span {
  color: var(--muted);
}

.price strong {
  font-size: 58px;
  line-height: 1.1;
}

.price-panel ul {
  margin-top: 0;
}

.device-section {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  gap: 100px;
  min-height: 760px;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.phone-frame {
  align-self: end;
  width: min(380px, 100%);
  height: 690px;
  margin-inline: auto;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
  box-shadow: 0 24px 70px rgba(17, 36, 30, 0.2);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

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

.faq-list {
  max-width: 860px;
}

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

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

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary svg {
  flex: 0 0 auto;
  width: 19px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -6px 0 22px;
  color: var(--muted);
}

.download-section {
  padding-block: 80px;
  background: var(--green);
  color: #fff;
}

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

.download-inner .section-kicker {
  color: #c5f4e3;
}

.download-inner h2 {
  max-width: 720px;
}

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

.download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.platform-download {
  min-width: 210px;
  min-height: 62px;
  justify-content: flex-start;
  cursor: default;
}

.platform-download svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
}

.platform-download span {
  display: block;
  line-height: 1.25;
}

.platform-download small {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 650;
  opacity: 0.7;
}

.button-light {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 21, 19, 0.14);
}

.site-footer {
  padding-block: 44px 26px;
  background: #0f1513;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: center;
  gap: 40px;
}

.footer-grid p {
  color: #aab4b0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.legal-line {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 35px;
  padding-top: 20px;
  color: #75817c;
  border-top: 1px solid #2a312f;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: 720px;
    background-position: 63% center;
  }

  .hero-shade {
    width: 72%;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-lead {
    font-size: 32px;
  }

  .proof-grid {
    grid-template-columns: 1fr repeat(3, 0.8fr);
    gap: 20px;
  }

  .stat {
    padding-left: 18px;
  }

  .role-stage,
  .privacy-grid,
  .pricing-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }

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

  .price-panel {
    max-width: 700px;
  }

  .device-section {
    gap: 50px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 62px;
  }

  .section-shell,
  .nav-shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(20, 35, 30, 0.12);
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    padding: 13px 8px;
  }

  .nav-cta {
    margin-top: 8px;
    padding: 11px 14px !important;
    text-align: center;
  }

  .language-switch {
    width: 40px;
    margin: 8px 0;
    padding: 0 !important;
  }

  .hero {
    min-height: 720px;
    height: calc(100svh - var(--header-height) - 24px);
    max-height: 820px;
    background-image: url("assets/assetslice-ios.png");
    background-position: center 23%;
  }

  .page-en .hero {
    background-image: url("assets/assetslice-ios-en.jpg");
  }

  .hero-shade {
    inset: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    clip-path: polygon(0 0, 100% 0, 100% 76%, 0 88%);
  }

  .hero-content {
    width: min(100% - 36px, 1180px);
    padding-top: 74px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 48px;
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 30px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 24px;
  }

  .hero-meta {
    gap: 8px 18px;
    margin-top: 18px;
  }

  .hero-next {
    bottom: 12px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 34px;
  }

  .proof-intro {
    grid-column: 1 / -1;
  }

  .stat {
    padding: 15px 0;
    border-left: 0;
    border-top: 1px solid #39413e;
  }

  .stat strong {
    font-size: 28px;
  }

  .accent-stat {
    grid-column: 1 / -1;
  }

  .audience-section,
  .features-section,
  .pricing-section,
  .faq-section {
    padding-block: 76px;
  }

  .section-heading h2,
  .privacy-copy h2,
  .pricing-copy h2,
  .device-copy h2,
  .download-inner h2 {
    font-size: 36px;
  }

  .role-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .role-tab {
    flex: 0 0 auto;
    padding-inline: 15px;
  }

  .role-stage {
    margin-top: 34px;
  }

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

  .feature-item {
    min-height: 190px;
  }

  .privacy-section {
    padding-block: 76px;
  }

  .privacy-grid {
    gap: 44px;
  }

  .price-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .price-benefits {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .device-section {
    grid-template-columns: 1fr;
    gap: 45px;
    min-height: auto;
    padding-top: 76px;
  }

  .phone-frame {
    height: 580px;
  }

  .download-inner,
  .footer-grid,
  .legal-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-inner {
    display: flex;
  }

  .download-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .platform-download {
    width: 100%;
  }

  .footer-grid {
    display: flex;
  }

  .legal-line {
    display: flex;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
