/* Softminds Tech — site styles */
:root {
  --ink: #140B24;
  --ink-2: #1E1231;
  --violet: #7C3AED;
  --violet-deep: #4C1D95;
  --violet-soft: #F1E8FF;
  --violet-line: #E4D8FA;
  --yellow: #FFC72C;
  --yellow-deep: #E0A800;
  --text: #1E1231;
  --muted: #6E6484;
  --bg: #FFFFFF;
  --bg-alt: #FAF7FF;
  --card: #FFFFFF;
  --line: #ECE6F5;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(20, 11, 36, .05), 0 12px 32px -12px rgba(76, 29, 149, .18);
  --max: 1180px;
  --head: "Sora", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(224, 168, 0, .6); }
.btn-primary:hover { background: #FFD24F; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.on-dark { background: rgba(20,11,36,.72); color: #fff; }
.site-header.on-dark.scrolled { border-bottom-color: rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { width: 36px; height: 36px; }
.brand-name { font: 700 1.3rem/1 var(--head); letter-spacing: -.03em; color: inherit; }
.brand-name small { font: 500 .78rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.on-dark .brand-name small { color: rgba(255,255,255,.6); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: inherit; text-decoration: none; font-weight: 500; font-size: .96rem; opacity: .85; }
.nav-links a:hover, .nav-links a.btn { opacity: 1; }
.nav-cta { padding: 11px 18px; font-size: .93rem; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center;
}
.on-dark .menu-btn { border-color: rgba(255,255,255,.2); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(124,58,237,.55), transparent 60%),
    radial-gradient(700px 500px at 5% 100%, rgba(255,199,44,.14), transparent 60%),
    var(--ink);
  margin-top: -72px; padding: 168px 0 120px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: rgba(255,255,255,.74); font-size: 1.25rem; }
.hero .eyebrow { color: #C4B5FD; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 28px; font-size: .92rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 10px; }
.hero-note a { color: #fff; }
.hero-note img { width: 22px; height: 22px; border-radius: 6px; }

.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19.5; border-radius: 44px; padding: 10px;
  background: linear-gradient(145deg, #2A1B45, #0E0719);
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 34px; }
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 20px; background: #0E0719; z-index: 2;
}
.hero-visual { position: relative; min-height: 520px; }
.hero-visual .browser {
  position: absolute; left: 0; top: 40px; width: 100%; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-visual .phone.front { position: absolute; right: -12px; bottom: 0; width: 210px; z-index: 2; }
.float-card {
  position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); display: flex; align-items: center; gap: 12px; font-size: .9rem;
}
.float-card b { display: block; font-family: var(--head); font-size: .95rem; }
.float-card span { color: var(--muted); font-size: .8rem; }
.float-card .dot { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet); flex: none; }
.float-card .dot.y { background: #FFF4D1; color: #9A7200; }
.float-card.one { left: -8px; bottom: 40px; }
.float-card.two { right: 40px; top: 0; }
.float-card svg { width: 18px; height: 18px; }

/* Marquee strip */
.strip { background: var(--ink-2); color: rgba(255,255,255,.7); padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06); }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 500; font-size: .95rem; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip li::before { content: ""; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; }

/* Product showcase */
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.product-logo { display: flex; width: fit-content; align-items: center; gap: 12px; margin-bottom: 20px; }
.product-logo img { width: 52px; height: 52px; border-radius: 14px; }
.product-logo b { font: 700 1.5rem/1 var(--head); color: var(--ink); letter-spacing: -.02em; }
.product-logo b span { color: var(--yellow-deep); }
.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 2px;
  background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: var(--ink); }
.product-shot { position: relative; }
.product-shot .frame {
  border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #F6F3FB; border-bottom: 1px solid var(--line); }
.frame-bar span { margin-left: 12px; flex: 1; max-width: 260px; font-size: .75rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCD3EA; }
.product-shot .phone { position: absolute; width: 170px; left: -40px; bottom: -40px; box-shadow: 0 30px 60px -20px rgba(30,18,49,.5); }
.product-shot .phone img { border-radius: 26px; }
.product-shot .phone::before { top: 14px; width: 54px; height: 15px; }
.product-shot .phone { border-radius: 34px; padding: 7px; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 88px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat b { display: block; font: 700 2.2rem/1 var(--head); color: var(--violet-deep); letter-spacing: -.03em; margin-bottom: 8px; }
.stat span { color: var(--muted); font-size: .95rem; }

/* Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--violet-line); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--violet-soft); color: var(--violet);
}
.icon.y { background: #FFF4D1; color: #9A7200; }
.icon.d { background: var(--ink); color: var(--yellow); }
.icon svg { width: 26px; height: 26px; }

/* Work */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-shot { background: #F6F3FB; border-bottom: 1px solid var(--line); }
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-shot.logo img { object-fit: contain; background: #fff; padding: 28px; }
.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-body h3 { margin: 0; font-size: 1.35rem; }
.work-body p { color: var(--muted); margin: 0; font-size: .98rem; }
.work-client { font: 600 .78rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--violet-soft); color: var(--violet-deep); }
.work-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.work-link svg { width: 16px; height: 16px; }
.work-link.muted { color: var(--muted); font-weight: 500; font-size: .92rem; }

/* Principles (dark) */
.dark { background: var(--ink); color: rgba(255,255,255,.78); }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: rgba(255,255,255,.65); }
.dark .eyebrow { color: #C4B5FD; }
.principle { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.principle .num { font: 600 .85rem/1 var(--head); color: var(--yellow); margin-bottom: 18px; display: block; }
.principle p { color: rgba(255,255,255,.65); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.about-art {
  position: relative; aspect-ratio: 1 / 1; border-radius: 32px; overflow: hidden;
  background: linear-gradient(145deg, #8B5CF6, #4C1D95);
  display: grid; place-items: center;
}
.about-art svg { width: 62%; height: auto; }
.about-art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(255,199,44,.4), transparent 32%);
}
.quote { font: 500 1.35rem/1.45 var(--head); color: var(--ink); letter-spacing: -.01em; border-left: 3px solid var(--yellow); padding-left: 20px; margin: 30px 0; }

/* Careers */
.cta-band {
  border-radius: 32px; padding: 64px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0, rgba(255,199,44,.25), transparent 60%), linear-gradient(135deg, #6D28D9, #3B0764);
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cta-band li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 18px; font-weight: 500; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.contact-list b { display: block; color: var(--ink); }
.contact-list span, .contact-list a { color: var(--muted); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
label { font-weight: 600; font-size: .92rem; color: var(--ink); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: #FDFCFF;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status { font-size: .92rem; margin: 12px 0 0; text-align: center; color: var(--violet-deep); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 72px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h4 { color: #fff; font: 600 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.footer-contact { font-style: normal; line-height: 1.7; font-size: .9rem; margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }

/* FingerPoint page */
.fp-hero {
  color: #fff; margin-top: -72px; padding: 160px 0 0; overflow: hidden; position: relative;
  background: radial-gradient(800px 420px at 80% 0, rgba(255,199,44,.22), transparent 60%), linear-gradient(160deg, #5B21B6 0%, #3B0764 70%);
}
.fp-hero h1 { color: #fff; }
.fp-hero h1 em { font-style: normal; color: var(--yellow); }
.fp-hero .lead { color: rgba(255,255,255,.8); margin-left: auto; margin-right: auto; }
.fp-hero .eyebrow { color: var(--yellow); }
.fp-hero .eyebrow::before { background: #fff; }
.fp-hero-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.fp-hero .hero-actions { justify-content: center; }
.fp-hero-shot { margin: 64px auto 0; max-width: 1040px; position: relative; }
.fp-hero-shot .frame { border-radius: 18px 18px 0 0; overflow: hidden; box-shadow: 0 -10px 60px -10px rgba(0,0,0,.45); background: #fff; }
.fp-hero-shot .frame img { width: 100%; }
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature-row + .feature-row { margin-top: 112px; }
.feature-row.flip > :first-child { order: 2; }
.feature-row .frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: #fff; }
.phones { display: flex; justify-content: center; gap: 24px; }
.phones .phone { width: 240px; }
.phones .phone:nth-child(2) { margin-top: 48px; }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { text-align: left; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #FFF4D1; color: #7A5A00; margin-top: 14px; }
.badge.live { background: #E6F7EE; color: #11623A; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 14px;
  background: #0E0719; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.15); min-width: 180px;
}
.store svg { width: 24px; height: 24px; }
.store small { display: block; font-size: .7rem; opacity: .7; line-height: 1.2; }
.store b { display: block; font-size: 1rem; line-height: 1.2; }
.store[aria-disabled="true"] { opacity: .75; cursor: default; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font: 600 1.1rem/1.4 var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--violet); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 14px 0 0; }

/* Legal / simple pages */
.page-hero { background: var(--bg-alt); padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose li { margin-bottom: .5em; }
.draft-note { background: #FFF8E1; border: 1px solid #F4DE9A; color: #6B4F00; border-radius: 14px; padding: 16px 20px; margin-bottom: 32px; font-size: .95rem; }
.center-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 24px; background: var(--ink); color: rgba(255,255,255,.75); }
.center-page h1 { color: #fff; }
.center-page .big { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--head); color: var(--yellow); letter-spacing: -.05em; }

/* Reveal on scroll */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.reveal.wait { opacity: 0; transform: translateY(18px); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-4, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .product, .about, .contact, .feature-row, .cta-band { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .feature-row.flip > :first-child { order: 0; }
  .hero-visual { min-height: 500px; max-width: 640px; }
  .product-shot { margin: 0 0 40px 40px; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); color: #fff; padding: 12px 24px 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
  }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav-links li:last-child a { border: 0; margin-top: 14px; text-align: center; }
  .menu-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .grid-3, .grid-2, .platforms, .work-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .grid-4, .stats { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 64px; }
  .stat { padding: 20px; }
  .stat b { font-size: 1.8rem; }
  .hero { padding: 132px 0 88px; }
  .hero-visual { min-height: 400px; }
  .phone { width: 230px; }
  .hero-visual .browser { top: 56px; }
  .hero-visual .phone.front { width: 140px; right: -4px; border-radius: 26px; padding: 6px; }
  .hero-visual .phone.front img { border-radius: 21px; }
  .hero-visual .phone.front::before { width: 44px; height: 12px; top: 12px; }
  .float-card { padding: 10px 12px; }
  .float-card .dot { width: 30px; height: 30px; }
  .float-card.one { left: -4px; bottom: 20px; }
  .float-card.two { right: auto; left: 0; top: 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .product-shot { margin: 0 0 30px 24px; }
  .product-shot .phone { width: 120px; left: -24px; bottom: -30px; border-radius: 24px; padding: 5px; }
  .product-shot .phone img { border-radius: 20px; }
  .product-shot .phone::before { display: none; }
  .cta-band { padding: 36px 24px; border-radius: 24px; }
  .form { padding: 22px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .phones { gap: 12px; }
  .phones .phone { width: 46%; border-radius: 30px; padding: 6px; }
  .phones .phone img { border-radius: 25px; }
  .phones .phone::before { width: 50px; height: 14px; top: 13px; }
  .fp-hero { padding-top: 128px; }
  .store { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.wait { opacity: 1; transform: none; }
}
