:root {
  --primary: #ff5a3c;
  --primary-dark: #e9452a;
  --accent: #ff9a6c;
  --ink: #f5f0ee;
  --ink-soft: #b9afab;
  --bg: #0b0909;
  --bg-soft: #121010;
  --card: #161212;
  --border: #2b2323;
  --radius: 16px;
  --max-width: 1100px;
  --shadow: 0 14px 38px rgba(0, 0, 0, 0.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 9, 9, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #4a3f3d; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; border: 1px solid #5a4e4b; }
.store-badge small { display: block; font-weight: 400; font-size: 11px; opacity: 0.85; }
.store-badge-soon { cursor: default; }

/* Hero */
.hero { background: radial-gradient(circle at 80% 20%, rgba(255, 90, 60, 0.2) 0%, transparent 55%), var(--bg); padding: 72px 0 48px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.hero-copy, .hero-visual { min-width: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); background: rgba(255, 90, 60, 0.12); border: 1px solid rgba(255, 90, 60, 0.35); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: 50px; line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 48ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14.5px; color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before, .check-list li::before { content: "✓"; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 90, 60, 0.16); color: var(--primary); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 10px; }
.phone-frame { position: relative; z-index: 1; width: 100%; max-width: 290px; }
.phone-frame .device-flat { box-shadow: 0 0 0 1px #3a2f2d, 0 30px 60px -20px rgba(255, 90, 60, 0.35); }
.hero-badge { position: absolute; bottom: 12%; left: -26px; z-index: 2; display: flex; align-items: center; gap: 8px; background: #1b1514; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.hero-badge b { color: var(--primary); }

/* Screenshots */
.device-flat { width: 100%; overflow: hidden; border-radius: 28px; background: #000; box-shadow: 0 0 0 1px #2e2625, 0 18px 40px -16px rgba(0, 0, 0, 0.8); }
.device-flat img { width: 100%; height: auto; }
.shot-carousel { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 14px; }
.shot-track {
  --shot-gap: 24px; --shot-per-page: 4;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--shot-per-page) - 1) * var(--shot-gap)) / var(--shot-per-page));
  gap: var(--shot-gap); overflow-x: auto; overscroll-behavior-x: contain;
  padding: 24px 0 36px; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.shot-track::-webkit-scrollbar { display: none; }
.shot { margin: 0; scroll-snap-align: start; min-width: 0; }
.shot figcaption { display: none; }
.carousel-btn { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: #1b1514; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel-btn:disabled { cursor: default; opacity: 0.35; }
.carousel-btn span { font-size: 32px; line-height: 1; transform: translateY(-2px); }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 4px; }
.carousel-dots[hidden] { display: none; }
.carousel-dots button { position: relative; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; padding: 0; cursor: pointer; }
.carousel-dots button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: #4a3f3d; transform: translate(-50%, -50%); transition: width 0.2s ease, background 0.2s ease; }
.carousel-dots button[aria-current="true"]::after { width: 22px; border-radius: 999px; background: var(--primary); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head h2 { font-size: 34px; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.15; }
.section-head p { color: var(--ink-soft); margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature-card .icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #c4301a); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(255, 90, 60, 0.25); }
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Styles grid */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.tool-card h3 { margin: 0 0 4px; font-size: 16px; }
.tool-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.tool-card .tag { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 10px; }

/* Steps */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; padding: 8px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #1a0804; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Band */
.privacy-band > * { min-width: 0; }
.privacy-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.privacy-band h2 { font-size: 30px; margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.2; }
.privacy-band p { color: var(--ink-soft); margin: 0 0 20px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.check-list li::before { width: 22px; height: 22px; margin-top: 2px; }
.lock-visual { border-radius: 20px; background: #0d0a0a; border: 1px solid var(--border); padding: 24px; display: grid; gap: 12px; }
.plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #3a2f2d; border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.plan small { display: block; color: var(--ink-soft); font-size: 12.5px; }
.plan strong { font-size: 15px; }
.plan.on { border-color: var(--primary); background: rgba(255, 90, 60, 0.08); }
.plan .tagline { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--primary); text-transform: uppercase; text-align: right; max-width: 45%; }

/* CTA */
.cta-band { background: radial-gradient(circle at 50% 0%, rgba(255, 90, 60, 0.35), transparent 70%), #17100f; border: 1px solid #3a2420; color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { margin: 0 0 14px; font-size: 32px; letter-spacing: -0.02em; }
.cta-band p { margin: 0 auto 28px; color: #d8cdc9; max-width: 54ch; }

/* Legal / content pages */
.legal-page { padding: 56px 0 80px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 34px; margin-bottom: 4px; line-height: 1.2; }
.legal-meta { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-page h2 { font-size: 21px; margin-top: 40px; margin-bottom: 12px; }
.legal-page h3 { font-size: 17px; margin-top: 24px; margin-bottom: 8px; }
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15.5px; }
.legal-page strong { color: var(--ink); }
.legal-page ul { padding-left: 22px; }
.toc, .contact-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.toc { margin-bottom: 8px; }
.toc p { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.toc ol { margin: 0; padding-left: 20px; }
.contact-card { margin-top: 16px; padding: 24px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { margin: 0 0 8px; font-size: 17px; }
.faq-item p { margin: 0; color: var(--ink-soft); }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-wrap .faq-item:first-child { border-top: 1px solid var(--border); }

/* Footer */
.site-footer { background: #060505; border-top: 1px solid var(--border); color: #cfc5c1; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cfc5c1; font-size: 14.5px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; font-size: 13px; color: #a39995; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; row-gap: 14px; }
.footer-bottom a { color: #d6ccc8; }
.footer-bottom a:hover { color: #fff; }

/* Language switcher (i18n) */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; min-height: 40px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft); user-select: none; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang-dd details[open] summary::after { transform: rotate(225deg); }
.lang-dd ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #1b1514; color: var(--ink); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; display: block; }
.lang-dd ul li { display: block; }
.lang-dd ul a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: inherit; white-space: nowrap; }
.lang-dd ul a:hover { background: #261d1b; text-decoration: none; }
.lang-dd ul a[aria-current="true"] { background: rgba(255, 90, 60, 0.15); color: var(--primary); font-weight: 700; }
.footer-bottom .lang-switch { order: -1; flex: 1 0 100%; justify-content: center; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom .lang-switch a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; font-size: 13px; }
.footer-bottom .lang-switch a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.footer-bottom .lang-switch a[aria-current="true"] { background: #fff; color: #111; border-color: #fff; }

/* Responsive */
@media (max-width: 980px) {
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .shot-track { --shot-per-page: 3; --shot-gap: 20px; }
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-badge { left: 0; }
  .feature-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-band { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shot-track { --shot-per-page: 2; --shot-gap: 16px; }
}
@media (max-width: 640px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; background: #0f0c0c; border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 16px 24px 24px; gap: 16px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 27px; }
  .feature-grid, .step-grid { grid-template-columns: 1fr; }
  .shot-carousel { display: block; }
  .carousel-btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .lang-dd ul { position: static; box-shadow: none; margin-top: 6px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .shot-track { grid-auto-columns: 78%; }
  .tool-grid { grid-template-columns: 1fr; }
}
