/* Artective landing — brand system */
:root {
  --color-paper: #131210;
  --color-surface: #1E1C18;
  --color-ink: #EFEBE2;
  --color-muted: #A09A8C;
  --color-line: #302D27;
  --color-brand: #FF6A1A;
  --font-display: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Lato", ui-sans-serif, system-ui, sans-serif;
  --radius-card: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reveal animation (hero only, subtle) ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { animation: rise .7s var(--ease) both; }
.d1 { animation-delay: .08s; }
.d2 { animation-delay: .16s; }
.d3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 38px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--color-brand);
  color: #16110C;
  box-shadow: 0 8px 28px rgba(255, 106, 26, .25);
}
.btn-primary:hover {
  background: #FF7B36;
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(255, 106, 26, .34);
}

.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
}
.btn-secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-1px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  border-bottom: 1px solid var(--color-line);
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(255, 106, 26, .06), transparent 70%),
    var(--color-paper);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Wordmark stays optically centered; mascot sits above as a companion. */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 36px;
}

.hero-mascot {
  width: 80px;
  height: auto;
  margin-bottom: -6px;
}

.hero-wordmark { width: 232px; height: auto; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 15em;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-title-accent { color: var(--color-muted); }

.hero-sub {
  max-width: 32em;
  color: var(--color-muted);
  font-size: 1.0625rem;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-cta .btn-primary {
  min-width: 232px;
  font-size: 1.125rem;
}

.hero-note {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: .875rem;
  line-height: 1.6;
}

/* ---------- Section primitives ---------- */
section { padding: 88px 0; }

.overline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.6vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
  margin-bottom: 12px;
  text-wrap: balance;
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.0625rem;
  max-width: 34em;
}

.section-note {
  color: var(--color-muted);
  font-size: .9375rem;
  margin-top: 10px;
}

/* ---------- App preview ---------- */
.preview { padding-bottom: 48px; }

.preview-head { text-align: center; }
.preview-head .section-sub { margin: 0 auto; }

.phones-scroll {
  margin-top: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 20px 24px 32px;
}
.phones-scroll::-webkit-scrollbar { display: none; }
.phones-scroll:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 12px;
}

.phones {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  width: max-content;
  margin: 0 auto;
}

.phone {
  width: min(268px, 74vw);
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 36px;
  background: linear-gradient(180deg, #26231E 0%, #1B1915 100%);
  border: 1px solid var(--color-line);
  padding: 10px 10px 14px;
  box-shadow:
    0 1px 0 rgba(239, 235, 226, .05) inset,
    0 24px 60px rgba(0, 0, 0, .5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.phone:hover {
  transform: translateY(-6px);
  box-shadow:
    0 1px 0 rgba(239, 235, 226, .07) inset,
    0 30px 70px rgba(0, 0, 0, .55);
}

.phone img {
  border-radius: 26px;
  width: 100%;
  border: 1px solid rgba(48, 45, 39, .6);
}

.phone figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.phone-center { transform: translateY(-12px); }
.phone-center:hover { transform: translateY(-18px); }

/* ---------- Features ---------- */
.features { padding-top: 40px; }
.features .container { text-align: center; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: left;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 26, .35);
}

.feature-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  border: 1px solid var(--color-line);
  background: rgba(255, 106, 26, .06);
  color: var(--color-brand);
  margin-bottom: 18px;
}
.feature-glyph img { width: 26px; height: 26px; }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--color-muted);
  font-size: .9875rem;
}

/* ---------- Use it now ---------- */
.use-now { padding-top: 24px; }

.use-now-card {
  background:
    radial-gradient(ellipse 70% 90% at 50% -20%, rgba(255, 106, 26, .07), transparent 65%),
    var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 28px;
  padding: 52px 28px;
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.use-now-mascot { width: 50px; margin-bottom: 18px; }

.use-now .section-sub { margin: 0 auto; }
.use-now .btn { margin-top: 30px; min-width: 220px; }

/* ---------- Submit ---------- */
.submit {
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.submit-inner {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submit .section-sub { margin: 0 auto; }
.submit .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { padding: 52px 0 60px; }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-wordmark { width: 136px; height: auto; opacity: .95; }

.footer-tagline { color: var(--color-muted); font-size: .9375rem; }

.footer-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
}

.footer-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 600;
  padding: 12px 4px; /* comfortable tap target */
  transition: color .18s var(--ease);
}
.footer-links a:hover { color: var(--color-brand); }
.footer-links a:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .hero { padding: 96px 0 108px; }
  .hero-brand { margin-bottom: 48px; }
  .hero-mascot { width: 92px; margin-bottom: -8px; }
  .hero-wordmark { width: 280px; }
  .hero-title { margin-bottom: 22px; }
  .hero-sub { margin-bottom: 40px; }

  section { padding: 112px 0; }

  .phones-scroll { overflow: visible; padding: 24px 24px 20px; }
  .phones { justify-content: center; width: auto; gap: 36px; }
  .phone { width: 272px; }
  .phone-center { transform: translateY(-22px) scale(1.03); }
  .phone-center:hover { transform: translateY(-28px) scale(1.03); }

  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .feature-card { padding: 34px 30px; }

  .use-now { padding-top: 32px; }
  .use-now-card { padding: 68px 56px; }
}
