@font-face { font-family: Outfit; src: url('/fonts/outfit/Outfit-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit/Outfit-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit/Outfit-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Outfit; src: url('/fonts/outfit/Outfit-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Comfortaa; src: url('/fonts/comfortaa/Comfortaa-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #07080c;
  --surface: #10131d;
  --text: #f7f3ea;
  --muted: #b4b7c0;
  --subtle: #979da9;
  --accent: #b8ff6a;
  --line: #292d37;
  --control-line: #747e8d;
  --gutter: 64px;
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  font-family: Outfit, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-offset, 160px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 280px; isolation: isolate; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: url('/uploads/grain.svg') repeat; background-size: 180px 180px; opacity: .075; }
.language-links { display: flex; flex-wrap: wrap; gap: 2px; }
.language-links a { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 6px; border-radius: 999px; text-decoration: none; font-size: .85rem; }
.language-links a[aria-current] { background: #ffffff1f; color: var(--text); }
.nav-content { width: 100%; flex-wrap: wrap; }
.screenshot-viewer { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); border: 0; color: var(--text); background: transparent; }
.screenshot-viewer::backdrop { background: rgb(7 8 12 / 94%); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.viewer-panel { max-width: 960px; min-height: 100%; margin: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.viewer-panel > * { pointer-events: auto; }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.viewer-toolbar p { margin: 0; overflow-wrap: anywhere; }
.viewer-toolbar span { color: var(--muted); white-space: nowrap; margin-inline-start: 12px; }
.viewer-panel > img { height: min(76dvh, 1100px); width: auto; max-width: 100%; object-fit: contain; flex-shrink: 0; border-radius: 16px; }
.viewer-controls { display: flex; gap: 24px; }
.screenshot-viewer button { min-width: 48px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--control-line); border-radius: 999px; color: var(--text); background: var(--surface); font: inherit; font-size: 1.5rem; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 600; }
h2 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; }
h3 { font-size: 1.25rem; line-height: 1.4; font-weight: 500; margin-top: 30px; }
p { line-height: 1.75; }
a { color: inherit; text-underline-offset: 5px; }
button, input { font: inherit; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button, summary { user-select: none; -webkit-user-select: none; }
button { cursor: pointer; color: inherit; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
section { scroll-margin-top: 16px; }
.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: max(var(--gutter), var(--safe-left)); padding-right: max(var(--gutter), var(--safe-right)); }
.site-header { position: sticky; top: max(14px, calc(env(safe-area-inset-top, 0px) + 6px)); z-index: 20; margin-top: 14px; padding-inline: max(20px, var(--safe-left)) max(20px, var(--safe-right)); }
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; max-width: 1180px; padding: 10px 12px 10px 18px; border: 1px solid #ffffff1f; border-radius: 999px; background: rgb(7 8 12 / 72%); box-shadow: 0 20px 60px rgb(0 0 0 / 24%); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.3rem Comfortaa, sans-serif; letter-spacing: -.06em; text-decoration: none; min-height: 44px; }
.brand-mark { display: flex; align-items: center; }
.brand-mark img { width: 29px; height: 29px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 999px; text-decoration: none; }
.nav-links .nav-cta { color: var(--bg); background: var(--accent); padding-inline: 20px; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 10; background: var(--surface); color: var(--text); padding: 12px 20px; transform: translateY(-200%); border-radius: 8px; }
.skip-link:focus { transform: none; }
.app-page { max-width: 1128px; padding-top: 64px; padding-bottom: 64px; }
.app-heading { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 32px; align-items: start; }
.app-icon { width: 128px; height: auto; border-radius: 28px; }
.app-tagline { font-size: 1.25rem; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.app-summary { font-size: 1rem; color: var(--muted); margin-top: 7px; }
.app-facts { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 18px 0 22px; gap: 8px; }
.app-facts li { padding: 6px 12px; border: 1px solid #505c6e; border-radius: 7px; background: #202734; color: #edf1f7; font-size: .875rem; font-weight: 500; line-height: 1.4; }
.app-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 22px; border: 1px solid var(--accent); border-radius: 12px; background: var(--accent); color: var(--bg); font-weight: 500; font-size: .95rem; line-height: 1.4; text-decoration: none; transition: background-color 140ms ease, transform 140ms cubic-bezier(.23,1,.32,1); }
.button:active:not(:focus-visible) { transform: scale(.98); }
.button.store-badge { padding: 14px; min-height: 0; border: 0; border-radius: 0; background: transparent; transition: none; line-height: 0; }
.button.store-badge img { display: block; height: 56px; width: auto; }
.button.store-badge:active:not(:focus-visible) { transform: none; }
.text-link { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; font-size: .95rem; }
.screens-section { margin-top: 48px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.gallery-controls { display: flex; gap: 8px; }
.gallery-controls button { width: 44px; min-height: 44px; border: 1px solid var(--control-line); background: transparent; border-radius: 50%; font-size: 1.25rem; }
.gallery-controls button:disabled { color: var(--subtle); border-color: var(--line); cursor: default; opacity: .55; }
.screens-track { display: flex; gap: 16px; min-width: 0; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #535d6a var(--bg); padding: 7px 4px 18px; scroll-padding-inline: 4px; border-radius: 8px; }
.screen-card { flex: 0 0 calc((100% - 48px) / 4); min-width: 0; margin: 0; scroll-snap-align: start; }
.screen-card a { display: block; border-radius: 24px; }
.screen-card img { display: block; width: 100%; height: auto; aspect-ratio: 644 / 1400; border-radius: 24px; border: 1px solid var(--line); background: #000; }
.screen-card figcaption { font-size: .875rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.screens-note { margin-top: 10px; max-width: 700px; font-size: .8rem; color: var(--subtle); }
.app-details { margin-top: 56px; }
.prose { max-width: 760px; }
.prose h2 { margin-bottom: 18px; }
.prose p { color: var(--muted); font-size: 1.0625rem; margin-top: 12px; }
.prose a { color: var(--accent); }
.features-section { margin-top: 44px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 36px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.feature-list li span { flex-shrink: 0; color: var(--accent); }
.privacy-section { margin-top: 48px; }
.faq-section { max-width: 760px; margin-top: 44px; }
.faq-section h2 { margin-bottom: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 18px; min-height: 62px; cursor: pointer; list-style: none; font-size: 1rem; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { flex: 0 0 24px; font-size: 1.4rem; text-align: center; color: var(--subtle); }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list details p { padding: 0 32px 22px 0; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.contact-section { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact-header { margin-bottom: 24px; }
.contact-header h2 { font-size: 1.4rem; margin: 0; }
.contact-header p { font-size: .95rem; color: var(--muted); margin-top: 8px; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); margin-top: 4px; overflow-wrap: anywhere; text-decoration: none; font-weight: 500; }
.contact-email:hover { text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.contact-form-container { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.form-group label .req { color: var(--accent); }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--subtle); opacity: 0.6; }
.submit-btn { width: 100%; cursor: pointer; font-weight: 600; justify-content: center; margin-top: 4px; }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

.contact-success { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 16px; gap: 12px; }
.success-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(52, 211, 153, 0.15); color: var(--accent); display: grid; place-items: center; font-size: 1.3rem; font-weight: bold; }
.contact-success h3 { margin: 0; font-size: 1.25rem; font-weight: 600; color: var(--text); }
.contact-success p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }
.btn-secondary { margin-top: 8px; background: transparent; border: 1px solid var(--control-line); color: var(--text); padding: 8px 18px; border-radius: 999px; cursor: pointer; font-size: 0.9rem; }
.btn-secondary:hover { border-color: var(--accent); }

.contact-download { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; text-align: center; }
.contact-download > p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom,0px)); border-top: 1px solid #ffffff08; font-size: .85rem; color: var(--subtle); }
.site-footer .apple-credit { flex-basis: 100%; max-width: 100%; font-size: .75rem; line-height: 1.6; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; min-width: 0; max-width: 100%; }
.site-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.legal-page { padding-block: 56px 80px; }
.legal-card { max-width: 888px; }
.legal-card h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal-updated { color: var(--subtle); margin-top: 18px; margin-bottom: 36px; }
.legal-card section { margin-top: 32px; }
.legal-card h2 { font-size: 1.4rem; margin-bottom: 16px; }
.legal-card p, .legal-card li { font-size: 1.0625rem; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.legal-card p + p { margin-top: 16px; }
.legal-card ul { padding-left: 24px; }
.legal-card li + li { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #ceff98; }
  .button.store-badge:hover { background: transparent; }
  .nav-links a:not(.nav-cta):hover, .text-link:hover { color: var(--text); }
  .nav-links a:not(.nav-cta):hover { background: #ffffff14; }
  .nav-links .nav-cta:hover { background: #ceff98; }
  .gallery-controls button:not(:disabled):hover { background: var(--surface); border-color: var(--accent); }
  .screen-card a:hover { outline: 1px solid var(--control-line); outline-offset: 3px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .screen-card { flex-basis: 224px; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .nav-content { min-height: 64px; flex-wrap: wrap; padding: 8px 10px 8px 16px; gap: 12px; }
  .nav-secondary { display: none !important; }
  .nav-links { font-size: .9rem; }
  .brand { font-size: 1.15rem; }
  .app-page { padding-top: 36px; padding-bottom: 40px; }
  .app-heading { grid-template-columns: 1fr; gap: 22px; }
  .app-icon { width: 90px; border-radius: 21px; }
  .app-tagline { font-size: 1.125rem; }
  .app-summary { font-size: .95rem; }
  .app-facts { margin-top: 16px; margin-bottom: 20px; }
  .app-actions { gap: 12px 22px; }
  .app-actions .button { font-size: .9rem; }
  .screens-section { margin-top: 36px; }
  .section-heading { margin-bottom: 14px; }
  h2 { font-size: 1.4rem; }
  .screen-card { flex-basis: 210px; }
  .app-details { margin-top: 40px; }
  .feature-list { grid-template-columns: 1fr; margin-top: 16px; }
  .contact-section { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .contact-section #download { justify-self: start; }
  .site-footer { flex-wrap: wrap; gap: 8px 24px; font-size: .8rem; }
  .site-footer nav { gap: 18px; }
  .legal-page { padding-block: 36px 60px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .app-actions { align-items: flex-start; flex-direction: column; gap: 6px; }
  .gallery-controls { gap: 5px; }
  .section-heading { gap: 12px; }
  .screen-card { flex-basis: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .button:active { transform: none; }
}
