@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --coral-100: #FE7263;
  --coral-500: #DD4A53;
  --coral-600: #CD384B;
  --coral-800: #A9243A;
  --crimson: #8A122B;
  --imoh: #FE7981;

  --grad-brand: linear-gradient(120deg, #FE7263 0%, #DD4A53 42%, #A9243A 72%, #8A122B 100%);

  --paper: #FBF7F4;
  --paper-2: #FFFFFF;
  --paper-alt: #F5EDE8;
  --ink: #1C1413;
  --ink-soft: #4A3D39;
  --ink-muted: #8A7A73;
  --hairline: #EADFD8;
  --hairline-2: #E2D4CC;

  --radius: 20px;
  --wrap: 1040px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { height: 40px; width: auto; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 500; }
.brand-name-sub {
  margin-left: 6px;
  font-family: var(--sans); font-weight: 600; font-size: 0.62em;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral-600);
  vertical-align: middle;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 70px; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 0.92rem; color: var(--ink-soft); font-weight: 500; transition: color 0.25s var(--ease); }
.nav a:hover { color: var(--ink); }

.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--hairline-2); border-radius: 999px; background: var(--paper-2); }
.lang-btn {
  appearance: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-muted); background: transparent;
  padding: 6px 11px; border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active { color: #fff; background-image: var(--grad-brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  color: #fff; background-image: var(--grad-brand);
  background-origin: border-box; background-clip: border-box;
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--crimson) 70%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px color-mix(in srgb, var(--crimson) 80%, transparent); }

.section { padding: 56px 0; }
#apps { padding-top: 8px; }
.section-kicker {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral-600); margin-bottom: 18px;
}

.hero { padding: 64px 0 32px; text-align: center; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05; letter-spacing: -0.03em; color: var(--ink);
  margin-bottom: 22px;
}
.hero-lede { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.65; color: var(--ink-soft); max-width: 640px; margin: 0 auto 26px; }
.trust-pill {
  display: inline-block;
  font-size: 0.85rem; font-weight: 600; color: var(--coral-800);
  background: color-mix(in srgb, var(--coral-100) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--coral-600) 30%, transparent);
  padding: 8px 18px; border-radius: 999px;
}

.apps-grid { display: grid; gap: 24px; max-width: 720px; margin-inline: auto; }
.app-card {
  display: grid; grid-template-columns: 108px 1fr; gap: 26px; align-items: center;
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.app-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(28,20,19,0.24); }
.app-icon { width: 108px; height: 108px; border-radius: 24px; box-shadow: 0 10px 26px -12px rgba(28,20,19,0.35); }
.app-card h2 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 4px; }
.app-sub { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 12px; }
.app-desc { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 16px; }
.app-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  color: var(--ink-soft); background: var(--paper-alt); border: 1px solid var(--hairline-2);
}
.app-link { font-weight: 600; font-size: 0.92rem; color: var(--coral-600); }
.app-link:hover { color: var(--crimson); }

.imoh-hero { padding: 60px 0 40px; text-align: center; }
.imoh-hero .app-icon { margin: 0 auto 26px; width: 128px; height: 128px; border-radius: 28px; }
.imoh-hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.8rem); letter-spacing: -0.03em; margin-bottom: 6px; }
.imoh-hero .app-sub { margin-bottom: 20px; }
.imoh-tagline { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.35; color: var(--ink); max-width: 560px; margin: 0 auto 18px; }
.imoh-lede { font-size: 1.04rem; line-height: 1.65; color: var(--ink-soft); max-width: 620px; margin: 0 auto 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px 24px;
}
.feature h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 10px; }
.feature p { font-size: 0.94rem; color: var(--ink-soft); }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.shots img {
  width: 236px; flex: 0 0 auto; scroll-snap-align: start;
  border-radius: 22px; border: 1px solid var(--hairline-2);
  box-shadow: 0 14px 34px -18px rgba(28,20,19,0.35);
}

.section-alt { background: var(--paper-alt); border-block: 1px solid var(--hairline); }
.support-email, .privacy-email {
  color: var(--coral-600); font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, var(--coral-600) 40%, transparent);
  user-select: all; cursor: pointer;
}
.support-line { margin-bottom: 28px; }
.privacy-line { margin-top: 28px; }
.faq { max-width: 720px; }
.faq details {
  background: var(--paper-2); border: 1px solid var(--hairline);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 600; font-size: 0.98rem; cursor: pointer; color: var(--ink); }
.faq details p { margin-top: 10px; font-size: 0.94rem; color: var(--ink-soft); }

.prose-inner { max-width: 720px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08; letter-spacing: -0.025em; color: var(--ink);
  margin-bottom: 12px;
}
.page-meta { font-size: 0.86rem; color: var(--ink-muted); margin-bottom: 40px; }
.prose p { font-size: 1rem; line-height: 1.68; color: var(--ink-soft); margin-bottom: 20px; }
.prose h2 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; color: var(--ink); margin-top: 36px; margin-bottom: 12px; }
.prose a { color: var(--coral-600); border-bottom: 1px solid color-mix(in srgb, var(--coral-600) 40%, transparent); overflow-wrap: anywhere; }
.prose a:hover { border-bottom-color: var(--coral-600); }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { font-size: 1rem; line-height: 1.68; color: var(--ink-soft); margin-bottom: 6px; }
.controller-block { line-height: 1.7; }

.section-notfound { text-align: center; padding: 120px 0 140px; }
.section-notfound .section-kicker { font-family: var(--serif); font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: var(--coral-600); text-transform: none; margin-bottom: 22px; }
.notfound-title { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--ink); margin-bottom: 16px; }
.notfound-text { font-size: 1.02rem; color: var(--ink-soft); margin-bottom: 48px; }

.site-footer { background: var(--ink); color: #E9DED9; padding: 56px 0 44px; margin-top: 40px; }
.footer-inner { display: grid; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.site-footer .brand-mark { height: 34px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name-sub { color: var(--coral-100); }
.legal-line { font-size: 0.88rem; color: #C9B9B2; line-height: 1.6; }
.footer-meta { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-copy { font-size: 0.84rem; color: #A8968E; }
.footer-link { color: #C9B9B2; border-bottom: 1px solid rgba(255,255,255,0.18); transition: color 0.2s var(--ease); }
.footer-link:hover { color: #fff; }

@media (max-width: 720px) {
  .nav { display: none; }
  .features { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 1fr; text-align: center; }
  .app-icon { margin-inline: auto; }
  .app-meta { justify-content: center; }
  .section { padding: 48px 0; }
}
