:root {
  --bg: #0b1414;
  --bg-2: #122020;
  --panel: #16292a;
  --line: #24403f;
  --text: #f2fbfa;
  --muted: #9fb8b6;
  --teal: #00a393;
  --teal-2: #3d8788;
  --lime: #c7f464;
  --radius: 18px;
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 22px; font-size: 0.95rem; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 600px) { .nav { display: none; } }

/* hero */
.hero-bg { position: relative; isolation: isolate; overflow: hidden; background: #0b1414; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #0b1414 url(/assets/img/hero-desktop.jpg) center right / cover no-repeat;
  transform-origin: 65% 50%;
  animation: hero-zoom 22s ease-out both;
}
.hero { min-height: 660px; display: flex; align-items: center; padding: 72px 0 96px; max-width: var(--max); margin: 0 auto; }
.hero > div { max-width: 560px; min-width: 0; }
.hero h1 { overflow-wrap: anywhere; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.hero h1 .sub { display: block; font-size: 0.5em; font-weight: 500; color: var(--lime); margin-top: 14px; letter-spacing: 0; line-height: 1.3; }
.hero p.lead { color: var(--text); font-size: 1.2rem; margin: 20px 0 28px; max-width: 30em; text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.cta { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cta img { height: 54px; width: auto; }
.cta .meta { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 820px) {
  .hero-bg::before { background: #0b1414 url(/assets/img/hero-phone.jpg) center top / 100% auto no-repeat; transform-origin: 50% 30%; }
  .hero { min-height: 0; display: block; padding: 92vw 0 56px; text-align: center; }
  .hero > div { max-width: none; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
}

/* sections */
section { padding: 56px 0; }
section h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; margin-bottom: 10px; }
section .intro { color: var(--muted); max-width: 40em; margin-bottom: 32px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(0,163,147,0.16); color: var(--lime); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots figure { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shots img { width: 100%; height: auto; aspect-ratio: 620 / 1344; object-fit: cover; }
.shots figcaption { padding: 14px 16px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 640px) { .shots { grid-template-columns: 1fr; } .shots img { aspect-ratio: auto; } }

.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 700; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--lime); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 10px; }

.closing { text-align: center; background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.closing h2 { margin-bottom: 8px; }
.closing p { color: var(--muted); margin-bottom: 24px; }
.closing .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.88rem; }
footer .row { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; }
footer .credit { margin-top: 14px; font-size: 0.8rem; }

/* motion */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero h1, .hero p.lead, .hero .cta { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero p.lead { animation-delay: 0.15s; }
.hero .cta { animation-delay: 0.3s; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

.nav a { position: relative; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease-out; }
.nav a:hover::after { transform: scaleX(1); }

.feature, .shots figure { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s; }
.feature:hover, .shots figure:hover { transform: translateY(-4px); border-color: var(--teal-2); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35); }
.feature .ic { transition: transform 0.3s, background-color 0.3s; }
.feature:hover .ic { transform: scale(1.08); background: rgba(0, 163, 147, 0.3); }

.cta a img { transition: transform 0.2s ease-out, filter 0.2s; }
.cta a:hover img { transform: scale(1.04); filter: brightness(1.1); }

.faq details { transition: border-color 0.25s; }
.faq details[open] { border-color: var(--teal-2); }
.faq summary::after { display: inline-block; transition: transform 0.25s ease-out, color 0.25s; }
.faq details p { animation: rise 0.3s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* inner pages */
.page { max-width: 720px; margin: 0 auto; padding: 28px 20px 72px; }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 8px; }
.page .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 28px; }
.page h2 { font-size: 1.3rem; margin: 36px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: var(--text); font-size: 1.02rem; margin-bottom: 14px; }
.page ul { padding-left: 1.2em; margin-bottom: 14px; }
.page li { margin-bottom: 8px; }
.page a { text-decoration: underline; text-decoration-color: var(--teal-2); text-underline-offset: 3px; }
.page a:hover { text-decoration-color: var(--lime); }
.page .card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.page .card p:last-child { margin-bottom: 0; }
.page .app { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.page .app img { width: 72px; height: 72px; border-radius: 17px; flex: none; }
.page .app strong { display: block; font-size: 1.1rem; }
.page .app span { color: var(--muted); font-size: 0.95rem; }
.page .cta { margin-top: 8px; }
.page .back { display: inline-block; margin-top: 24px; color: var(--muted); }
