:root {
  --ink: #22231d;
  --ink-soft: #515247;
  --muted: #767568;
  --olive: #6f7f43;
  --olive-dark: #4f5d30;
  --olive-light: #e4e9d3;
  --amber: #e9a617;
  --brown: #76513a;
  --cream: #f7f2e7;
  --cream-deep: #ece2d2;
  --white: #fff;
  --line: #ddd7ca;
  --container: 1160px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-color: var(--olive) var(--cream);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: var(--cream); }
html::-webkit-scrollbar-thumb { border: 2px solid var(--cream); border-radius: 999px; background: var(--olive); }
html::-webkit-scrollbar-thumb:hover { background: var(--olive-dark); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--white); font-family: var(--sans); line-height: 1.6; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(111, 127, 67, .42); outline-offset: 4px; border-radius: 8px; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(37, 37, 31, .09); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand, .footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 780; letter-spacing: -.03em; }
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-wordmark { font-size: 1.25rem; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { padding: 8px 0; color: var(--ink-soft); font-size: .94rem; font-weight: 680; }
.nav-link:hover { color: var(--olive-dark); }
.language-menu { position: relative; }
.language-menu summary { display: flex; gap: 7px; align-items: center; padding: 8px 0; color: var(--ink-soft); font-size: .94rem; font-weight: 680; cursor: pointer; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "▾"; color: var(--olive-dark); font-size: .72rem; transition: transform .18s ease; }
.language-menu[open] summary::after { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; min-width: 174px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 18px 45px rgba(34, 35, 29, .14); }
.language-option { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink-soft); font-size: .9rem; white-space: nowrap; }
a.language-option:hover { color: var(--olive-dark); background: var(--cream); }
.language-link-active { color: var(--ink); background: var(--cream); font-weight: 760; }
.nav-toggle { display: none; align-items: center; gap: 10px; padding: 8px 0; border: 0; color: var(--ink); background: none; font-weight: 700; cursor: pointer; }
.nav-toggle-icon { width: 22px; display: grid; gap: 5px; }
.nav-toggle-icon span { height: 2px; border-radius: 2px; background: currentColor; }

h1, h2 { margin: 0; letter-spacing: -.045em; line-height: 1.04; }
.hero { overflow: hidden; background: var(--cream); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: clamp(42px, 7vw, 104px); align-items: center; padding-block: 62px 54px; }
.hero-copy { position: relative; z-index: 3; max-width: 550px; }
.hero h1 { max-width: 9ch; font-size: clamp(3.45rem, 5.9vw, 5.55rem); font-weight: 800; }
.hero-text { max-width: 530px; margin: 22px 0 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; }
.hero-points { margin: 24px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.hero-points li { position: relative; padding-left: 28px; color: var(--ink-soft); font-weight: 650; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--olive); font-weight: 900; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-visual { min-height: 590px; display: grid; place-items: center; perspective: 1500px; }
.hero-phone-flip { width: min(88%, 370px); aspect-ratio: 867 / 1584; border-radius: 18%; cursor: pointer; outline-offset: 8px; filter: drop-shadow(0 26px 30px rgba(66, 52, 37, .2)); }
.hero-phone-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .78s cubic-bezier(.2,.72,.2,1); }
.hero-phone-flip:hover .hero-phone-inner, .hero-phone-flip:focus .hero-phone-inner, .hero-phone-flip.is-flipped .hero-phone-inner { transform: rotateY(180deg); }
.hero-phone-face { position: absolute; inset: 0; margin: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero-phone-face img { width: 100%; height: 100%; object-fit: contain; }
.hero-phone-back { transform: rotateY(180deg); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.store-choice { position: relative; display: inline-flex; align-items: center; }
.store-btn, .store-btn-disabled { display: inline-flex; border-radius: 9px; }
.store-btn { transition: transform .18s ease; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn-disabled { cursor: not-allowed; filter: grayscale(1); opacity: .42; }
.store-badge-image { width: auto; height: 46px; }
.store-chip { position: absolute; top: -9px; left: 50%; z-index: 2; min-width: 70px; padding: 2px 10px; border-radius: 999px; text-align: center; font-size: .69rem; font-weight: 820; letter-spacing: .07em; text-transform: uppercase; transform: translateX(-50%); pointer-events: none; }
.store-chip-soon { border: 1px solid rgba(108, 75, 34, .14); color: rgba(108, 75, 34, .78); background: rgba(247, 223, 174, .48); }

.pricing-section { padding: 82px 0 96px; }
.section-heading { max-width: 720px; }
.section-heading h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); }
.compact-heading { margin-bottom: 34px; }
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: stretch; }
.pricing-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.pricing-card-core { border-color: #b9c393; background: #f4f6eb; }
.pricing-card-premium { padding: 30px; border-color: #b9c393; }
.pricing-card h3 { margin: 0 0 8px; font-size: 1.45rem; }
.pricing-card > p { margin: 0; color: var(--ink-soft); }
.pricing-card ul { margin: 24px 0 0; padding: 0; display: grid; gap: 11px; list-style: none; }
.pricing-card li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.pricing-card li::before { content: "●"; position: absolute; left: 2px; color: var(--olive); font-size: .72rem; font-weight: 900; }
.pricing-card-core li:nth-child(1)::before { color: var(--amber); }
.pricing-card-core li:nth-child(2)::before { color: #e36f2d; }
.pricing-card-core li:nth-child(3)::before { color: #d34f57; }
.pricing-card-core li:nth-child(4)::before { color: #8a68c8; }
.pricing-card-core li:nth-child(5)::before { color: #2f8acb; }
.pricing-card-core li:nth-child(6)::before { color: #4f9b72; }
.pricing-card-core li:nth-child(7)::before { color: var(--olive); }
.pricing-download { margin-top: 28px; }

.feature-summary-section { padding: 96px 0; background: var(--white); }
.feature-summary-section .section-intro { max-width: 680px; margin: 16px 0 0; color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.feature-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 5vw, 68px); }
.feature-summary-grid h3 { margin: 0; font-size: 1.45rem; }
.feature-summary-grid p { margin: 18px 0 0; color: var(--ink-soft); line-height: 1.75; }

.site-footer { padding: 72px 0 40px; color: var(--ink); background: var(--cream); }
.footer-inner { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; }
.footer-logo-mark { width: 38px; height: 38px; }
.footer-logo { color: var(--ink); font-size: 1.25rem; }
.footer-description { max-width: 270px; margin: 18px 0 0; color: var(--ink-soft); }
.footer-credit, .footer-copyright { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.legal-inline-link { color: var(--olive-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.footer-block h2 { margin: 0 0 16px; color: var(--ink); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-block p { margin: 8px 0; color: var(--ink-soft); font-size: .88rem; }
.footer-block a:hover { color: var(--olive-dark); }
.footer-store-block .store-buttons { display: grid; justify-items: start; }
.footer-store-badge-image { height: 40px; }

.store-notice { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 22px; visibility: hidden; opacity: 0; background: rgba(25, 26, 21, .64); transition: opacity .2s ease, visibility .2s ease; }
.store-notice-visible { visibility: visible; opacity: 1; }
.store-notice-card { width: min(430px, 100%); overflow: hidden; padding: 0 30px 30px; border-radius: 20px; background: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.store-notice-accent { height: 6px; margin: 0 -30px 28px; background: linear-gradient(90deg, var(--olive), var(--amber), var(--brown)); }
.store-notice-title { font-size: 1.65rem; }
.store-notice-text { margin: 13px 0 22px; color: var(--ink-soft); }
.store-notice-button { min-width: 110px; padding: 10px 18px; border: 0; border-radius: 999px; color: #fff; background: var(--olive-dark); font-weight: 760; cursor: pointer; }

@media (max-width: 980px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr minmax(300px, .72fr); gap: 34px; padding-top: 58px; }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 4.5rem); }
  .hero-visual { min-height: 520px; }
  .hero-phone-flip { width: min(92%, 330px); }
  .pricing-section { padding: 78px 0 88px; }
  .feature-summary-section { padding: 78px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 34px, var(--container)); }
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; top: 72px; right: 0; left: 0; display: none; padding: 24px 17px 30px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 28px rgba(40,39,32,.1); }
  .nav-open .main-nav { display: grid; gap: 8px; }
  .nav-link { padding: 10px 0; }
  .language-menu summary { padding: 10px 0; }
  .language-options { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 4px; box-shadow: none; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 50px 0 0; }
  .hero-copy { width: calc(100vw - 34px); min-width: 0; max-width: 640px; overflow: hidden; }
  .hero-text, .hero-points li { max-width: 100%; overflow-wrap: anywhere; }
  .hero-actions { min-width: 0; }
  .hero h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-text { font-size: 1rem; }
  .hero-visual { width: min(100%, 610px); min-height: 530px; align-self: center; }
  .hero-phone-flip { width: min(72%, 290px); }
  .pricing-grid { grid-template-columns: 1fr; }
  .feature-summary-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-meta { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .hero-grid { padding-top: 38px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 3.65rem); }
  .hero-actions { align-items: flex-start; }
  .hero-visual { min-height: 500px; margin-top: 4px; }
  .hero-phone-flip { width: min(78%, 270px); }
  .pricing-section { padding: 64px 0 72px; }
  .feature-summary-section { padding: 64px 0; }
  .pricing-card { padding: 26px 22px; }
  .footer-meta { grid-template-columns: 1fr; }
  .store-badge-image { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-inner { transition: none; }
}
