/* Sellah – static rebuild of the original WordPress/Ohio "Mobile App" page */

:root {
  --plum: #8b3a87;          /* brand purple (headings, links) */
  --plum-soft: #a05a9c;     /* nav, labels */
  --indigo: #35206b;        /* hero rotating word */
  --indigo-2: #3f2478;      /* first stat box */
  --text: #8a4a86;          /* paragraph text on light backgrounds */
  --coral: #f39a8b;         /* eyebrows, accents */
  --coral-soft: #f8c9c1;
  --tint: #f1def0;          /* section background (#A0269A at 15%) */
  --icon-bg: #e9e6f1;       /* feature icon circles (#978CB8 at 15%) */
  --ink: #111013;
  --white: #fff;
  --gutter: clamp(16px, 5vw, 98px);
  --maxw: 1720px;
  --radius: 15px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin: 0; color: var(--plum); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(8px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(53,32,107,.08); }
.header-inner {
  width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto;
  display: flex; align-items: center; gap: 26px; height: 80px;
}
.menu-toggle {
  flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: #f3f2f6; display: grid; place-content: center; gap: 7px;
  transition: background .2s;
}
.menu-toggle:hover { background: var(--tint); }
.menu-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--plum); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
.logo img { width: 125px; }
.main-nav { margin-left: auto; }
.main-nav ol { display: flex; gap: clamp(18px, 2.3vw, 44px); }
.main-nav a, .menu-overlay a {
  position: relative; text-decoration: none; color: var(--plum-soft); font-size: 1.03rem; font-weight: 400;
  display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.1;
  transition: color .2s;
}
.main-nav a span, .menu-overlay a span { font-size: .55em; margin-bottom: 4px; letter-spacing: .04em; }
.main-nav a:hover, .main-nav a.active { color: var(--plum); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.menu-overlay {
  position: fixed; inset: 0; z-index: 40; background: var(--tint);
  display: grid; place-items: center; padding: 120px 24px 40px;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay ol { display: grid; gap: 22px; text-align: left; }
.menu-overlay a { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; color: var(--plum); flex-direction: row; align-items: baseline; gap: 14px; letter-spacing: -0.03em; }
.menu-overlay a span { font-size: .9rem; font-weight: 500; color: var(--coral); }
body.menu-open { overflow: hidden; }

/* ---------- Side rails ---------- */
.rail {
  position: fixed; top: 50%; z-index: 30; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%);
  color: var(--plum); text-decoration: none; font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  display: flex; align-items: center; gap: 14px;
}
.rail-left { left: 40px; }
.rail-left::before { content: ""; width: 2px; height: 64px; background: linear-gradient(var(--plum), var(--tint)); order: -1; }
.rail-right { right: 40px; transform: rotate(180deg) translateY(50%); }
.rail-right i { width: 2px; height: 18px; background: currentColor; display: inline-block; }
.rail:hover { color: var(--coral); }

/* ---------- Decorations ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-stripes {
  width: 138px; height: 138px; border-radius: 50%;
  background: repeating-linear-gradient(-45deg, var(--coral-soft) 0 2.5px, transparent 2.5px 9px);
  opacity: .8;
}
.deco-dots {
  width: 196px; height: 196px;
  background: radial-gradient(circle, #cfcbd6 3px, transparent 3.5px) 0 0 / 28px 32px;
}
.deco-zigzag {
  width: 88px; height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 40'%3E%3Cpath d='M2 36 30 8l22 22L80 4l28 28' fill='none' stroke='%23e3dde6' stroke-width='5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.deco-x {
  width: 46px; height: 46px;
  background:
    linear-gradient(45deg, transparent 42%, var(--coral-soft) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--coral-soft) 42% 58%, transparent 58%);
}

/* ---------- Shared section bits ---------- */
.section { position: relative; padding: clamp(48px, 4.5vw, 76px) 0; overflow: hidden; }
.tint { background: var(--tint); }
.eyebrow { color: var(--coral); text-transform: uppercase; font-weight: 500; font-size: .9rem; letter-spacing: .01em; margin-bottom: 10px; }
.h-xl { font-size: clamp(2.1rem, 3.35vw, 3.75rem); }
.h-lg { font-size: clamp(2rem, 3vw, 3.25rem); }
.h-md { font-size: clamp(1.6rem, 2.3vw, 2.6rem); }
.lead { font-size: clamp(1rem, 1.17vw, 1.25rem); font-weight: 300; line-height: 1.75; margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 84px); align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(16px, 2vw, 32px) 0 clamp(56px, 6vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.hero-copy { padding-left: clamp(0px, calc((100vw - 1100px) * .43), 234px); }
.hero h1 { display: grid; gap: 6px; min-height: 2.6em; }
.hero-lead { font-size: clamp(1.9rem, 2.75vw, 3.2rem); color: var(--plum); }
.hero-word { font-size: clamp(2.4rem, 3.8vw, 4.25rem); color: var(--indigo); white-space: nowrap; }
.caret { display: inline-block; width: 3px; height: .85em; background: var(--indigo); margin-left: 4px; vertical-align: -0.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-tagline { margin-top: clamp(48px, 8vw, 150px); font-size: clamp(1.15rem, 1.375vw, 1.5rem); line-height: 1.5; color: #5d3d8f; max-width: 22em; }
.hero-tagline strong { color: var(--plum); font-weight: 700; }
.hero-available { margin-top: clamp(24px, 3vw, 48px); font-size: 1.15rem; color: var(--indigo); }
.hero-visual { position: relative; }
.hero-square { position: absolute; inset: 8% 25% -4% 12%; background: var(--tint); }
.hero-phone { position: relative; z-index: 1; width: 100%; max-width: 780px; margin-left: -2%; }

/* ---------- Store badges ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; border-radius: 8px; transition: transform .2s, box-shadow .2s; }
.badge:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17,16,19,.22); }
.badge-apple { background: #000; padding: 10px 9px; height: 54px; }
.badge-apple img { width: 132px; }
.badge-google img { height: 54px; width: auto; border-radius: 8px; }

/* ---------- About ---------- */
.about-grid { grid-template-columns: .9fr 1.1fr; }
.about-visual img { width: min(100%, 480px); margin-inline: auto; mix-blend-mode: multiply; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(28px, 4.5vw, 84px); align-items: start; padding-left: clamp(0px, 6vw, 110px); }
#about { padding-block: clamp(56px, 6.5vw, 110px); }
.reviews-slider { min-width: 0; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 24px); gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.reviews-track::-webkit-scrollbar { display: none; }
.review { margin: 0; scroll-snap-align: start; }
.review blockquote { margin: 0; font-size: clamp(1.05rem, 1.25vw, 1.35rem); line-height: 1.6; color: var(--plum-soft); font-weight: 300; }
.review figcaption { margin-top: 20px; display: grid; gap: 6px; }
.review strong { color: var(--plum); font-size: 1.05rem; }
.review figcaption span { color: var(--plum-soft); font-size: .95rem; }
.reviews-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.reviews-count { display: flex; align-items: center; gap: 14px; color: var(--plum); font-size: 1.05rem; }
.reviews-count i { width: 46px; height: 2px; background: currentColor; display: block; }
.reviews-arrows { display: flex; gap: 24px; }
.arrow {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid transparent; background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--plum); transition: border-color .2s, background .2s;
}
.arrow:hover, .arrow:focus-visible { border-color: #ece9f1; background: #faf8fb; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:disabled { opacity: .35; cursor: default; }

/* ---------- Features ---------- */
.features-grid { margin-top: clamp(32px, 4vw, 60px); grid-template-columns: 1fr 1fr; align-items: start; }
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: clamp(32px, 4.5vw, 72px) clamp(20px, 3.5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 3.5vw, 48px) 20px; text-align: center;
}
.feature-card li { display: grid; justify-items: center; gap: 16px; color: var(--plum); font-weight: 700; font-size: clamp(1rem, 1.25vw, 1.3rem); letter-spacing: -0.01em; }
.icon { width: 55px; height: 55px; border-radius: 50%; background: var(--icon-bg); display: grid; place-items: center; }
.icon svg { width: 27px; height: 27px; fill: none; stroke: #9a72a9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features-list .eyebrow { margin-top: 12px; margin-bottom: 0; }
.checks { margin-top: clamp(24px, 3.5vw, 56px); display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: clamp(.9rem, 1.1vw, 1.15rem); font-weight: 300; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 14'%3E%3Cpath d='M2 7.5 6.5 12 16 2' fill='none' stroke='%23a05a9c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Download / stats ---------- */
.download-grid { grid-template-columns: .95fr 1.05fr; padding-left: clamp(0px, 3vw, 56px); }
.download-sub { margin-top: 14px; color: var(--plum); font-weight: 500; font-size: clamp(.95rem, 1.1vw, 1.15rem); }
.download-grid .store-badges { margin-top: clamp(24px, 3.5vw, 56px); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; align-self: start; }
.stat { padding: clamp(22px, 2vw, 36px) clamp(18px, 2vw, 34px); display: flex; flex-direction: column-reverse; justify-content: center; min-height: 135px; }
.stat dt { font-size: clamp(.95rem, 1.05vw, 1.15rem); font-weight: 500; }
.stat dd { margin: 0 0 4px; font-size: clamp(1.8rem, 2.6vw, 3rem); font-weight: 700; letter-spacing: -0.05em; line-height: 1.1; white-space: nowrap; }
.stat-indigo { background: var(--indigo-2); color: #fff; }
.stat-ink { background: var(--ink); color: #fff; }
.stat-coral { background: var(--coral); color: #fff; }

/* ---------- Contact ---------- */
.h-lg.underline { padding-bottom: 14px; position: relative; margin-bottom: 22px; font-size: clamp(1.8rem, 2.3vw, 2.6rem); }
.h-lg.underline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 111px; height: 3px; background: var(--coral); border-radius: 2px; }
.contact-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.field { display: grid; align-content: start; }
.form-row-submit { grid-template-columns: minmax(0, 240px) auto; justify-content: start; align-items: end; }
#get-in-touch { padding-block: clamp(40px, 3vw, 56px); }
.contact-form label { color: var(--plum-soft); font-weight: 500; font-size: .9rem; line-height: 1.4; margin: 0 0 8px; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 2px solid transparent; border-radius: 6px; background: #fff; color: var(--indigo);
  font: inherit; font-size: .95rem; line-height: 1.5; padding: 11px 14px; transition: border-color .2s;
}
.contact-form textarea { resize: vertical; min-height: 96px; height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--plum-soft); }
.contact-form .invalid { border-color: #d64545; }
.btn {
  justify-self: start; margin-top: 0; border: 0; border-radius: 6px; cursor: pointer;
  background: var(--ink); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.4; padding: 13px 19px;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--plum); }
.btn:disabled { opacity: .6; cursor: progress; }
.form-status { font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #2e7d4f; }
.form-status.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { padding: 26px 0; color: var(--plum-soft); font-size: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .rail { display: none; }
  .hero-copy { padding-left: 0; }
  .reviews-grid, .download-grid { padding-left: 0; }
}
@media (max-width: 1100px) {
  .main-nav { display: none; }
  .header-inner { height: 76px; gap: 18px; }
  .menu-toggle { width: 52px; height: 52px; }
  .menu-toggle span { width: 22px; }
  .logo img { width: 120px; }
  .stats { grid-template-columns: 1fr; }
  .stat { min-height: 0; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero-grid, .two-col, .reviews-grid, .about-grid, .download-grid, .features-grid { grid-template-columns: 1fr; }
  .hero h1 { min-height: 0; }
  .hero-tagline { margin-top: 32px; }
  .hero-visual { order: -1; margin-inline: -4%; }
  .about-visual { order: 0; }
  .reviews-track { grid-auto-columns: 100%; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 22px 14px; }
  .stat dd { font-size: clamp(1.4rem, 6vw, 2.4rem); }
  .stat dt { font-size: .9rem; }
  .deco-stripes, .deco-dots { display: none; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-submit { grid-template-columns: 1fr auto; }
  .stat dd { font-size: 2.4rem; }
  .stat dt { font-size: 1rem; }
  .feature-card { grid-template-columns: 1fr 1fr; padding: 36px 16px; gap: 32px 12px; }
  .icon { width: 52px; height: 52px; }
  .icon svg { width: 25px; height: 25px; }
  .badge-apple { height: 52px; padding: 8px 12px; }
  .badge-apple img { width: 118px; }
  .badge-google img { height: 52px; }
  .store-badges { gap: 10px; }
  .arrow { width: 56px; height: 56px; }
  .deco-x, .deco-zigzag { display: none; }
  .btn { margin-top: 32px; }
}

#get-in-touch .eyebrow { text-transform: none; }
