/* mytjaii.com - TJ Prime. Tokens first; dark mode by media query. System fonts only. */
:root {
  --bg: #ffffff; --bg2: #f4f7f9; --card: #ffffff; --ink: #0c1620; --ink2: #36434f; --muted: #5d6b78;
  --line: #e0e6eb; --acc: #0a7d68; --acc-h: #075f50; --acc-soft: #e2f4ef; --on-acc: #ffffff;
  --hero1: #04121a; --hero2: #072a2a; --hero-ink: #f1f7f8; --hero-muted: #a9bcc4;
  --g1: #10b981; --g2: #0891b2;
  --shadow: 0 1px 2px rgba(12,22,32,.06), 0 8px 28px rgba(12,22,32,.07);
  --r: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1016; --bg2: #0f171e; --card: #121b23; --ink: #e9eff3; --ink2: #c2ccd4; --muted: #8e9ba6;
    --line: #223039; --acc: #34d399; --acc-h: #6ee7b7; --acc-soft: #0e2a26; --on-acc: #04121a;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 28px rgba(0,0,0,.35);
  }
}
.acc-teal { --pa: #0b8f7c; } .acc-indigo { --pa: #5b6cf0; } .acc-emerald { --pa: #10b981; } .acc-cyan { --pa: #0891b2; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-underline-offset: 3px; }
a:hover { color: var(--acc-h); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--g1); outline-offset: 3px; border-radius: 6px; }
.wrap { width: calc(100% - 48px); margin-inline: auto; }
.narrow { max-width: none; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }
.ico { flex: none; }
.eyebrow { font-size: .8rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
.sub { color: var(--ink2); font-size: 1.1rem; margin-top: 14px; max-width: 62ch; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--hero-muted); margin-top: 20px; max-width: 60ch; }
.small { font-size: .88rem; color: var(--muted); }
.grad { background: linear-gradient(100deg, #34d399, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; background: var(--acc); color: var(--on-acc); font: 600 .98rem var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s; }
.btn:hover { background: var(--acc-h); color: var(--on-acc); transform: translateY(-1px); }
.btn .ico { width: 18px; height: 18px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1.04rem; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg2); color: var(--ink); border-color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand b { font-weight: 750; }
.brand img { border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--ink2); text-decoration: none; font-size: .96rem; font-weight: 500; padding: 8px 12px; border-radius: 10px; }
.nav a:not(.btn):hover { background: var(--bg2); color: var(--ink); }
.nav a[aria-current] { color: var(--acc); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded=true] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded=true] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero, .phero { color: var(--hero-ink); background:
  radial-gradient(900px 480px at 85% -10%, rgba(34,211,238,.20), transparent 60%),
  radial-gradient(760px 520px at 5% 110%, rgba(16,185,129,.22), transparent 60%),
  linear-gradient(160deg, var(--hero1), var(--hero2)); }
.hero { overflow: hidden; }
.hero .eyebrow, .phero .eyebrow { color: #5eead4; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding: 72px 0 0; }
.hero-text { padding-bottom: 72px; }
.hero .btn, .phero .btn { background: #34d399; color: #04121a; }
.hero .btn:hover, .phero .btn:hover { background: #6ee7b7; color: #04121a; }
.hero .btn-ghost, .phero .btn-ghost { background: rgba(255,255,255,.06); color: var(--hero-ink); border-color: rgba(255,255,255,.22); }
.hero .btn-ghost:hover, .phero .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--hero-muted); font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ico { width: 18px; height: 18px; color: #34d399; }
.hero-art { position: relative; height: 520px; align-self: end; }
.phone { border-radius: 30px; padding: 8px; background: #0b1218; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px rgba(0,0,0,.45); overflow: hidden; margin: 0; }
.phone img { border-radius: 23px; width: 100%; }
.hero-art .phone { position: absolute; width: 250px; }
.phone-a { left: 6%; top: 10px; transform: rotate(-5deg); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.phone-b { right: 2%; top: 70px; transform: rotate(5deg); animation: rise .9s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* number strip */
.strip { background: var(--bg2); border-bottom: 1px solid var(--line); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.strip-in div { display: flex; flex-direction: column; }
.strip-in b { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; letter-spacing: -.02em; }
.strip-in span { color: var(--muted); font-size: .92rem; }

/* sections */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec-alt { background: var(--bg2); border-block: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--r) var(--r) 0 0; background: var(--pa); }
.card:hover { transform: translateY(-4px); border-color: var(--pa); }
.card-top { display: flex; align-items: center; gap: 14px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--ink2); font-size: .97rem; }
.kind { color: var(--muted) !important; font-size: .84rem !important; margin-top: 3px; }
.app-ico { width: 56px; height: 56px; border-radius: 14px; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.app-ico-lg { width: 88px; height: 88px; border-radius: 22px; }
.card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 6px; font-size: .93rem; font-weight: 600; }
.card-links a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; min-height: 32px; }
.card-links .ico { width: 16px; height: 16px; }
.card-links .open { color: var(--muted); }
.card-links .open:hover { color: var(--acc); }

.band-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.band:nth-of-type(even) .band-art { order: -1; }
.band { border-top: 1px solid var(--line); }
.band-art { position: relative; height: 540px; }
.band-art .phone { position: absolute; width: 250px; left: 50%; top: 0; margin-left: -70px; z-index: 2; }
.band-art .phone-back { margin-left: -210px; top: 54px; z-index: 1; opacity: .92; transform: scale(.92); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .ico { color: var(--pa); margin-top: 2px; }
.ticks b { display: block; font-weight: 650; }
.ticks span { color: var(--ink2); font-size: .97rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border-top: 4px solid var(--pa); }
.panel .app-ico { margin-bottom: 18px; }
.panel h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.panel p:not(.eyebrow) { color: var(--ink2); margin-top: 14px; }

.vals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.vals > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.vals .ico { color: var(--acc); width: 28px; height: 28px; margin-bottom: 12px; }
.vals p { color: var(--ink2); font-size: .96rem; margin-top: 8px; }

.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 650; padding: 17px 28px 17px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.4rem; font-weight: 400; color: var(--acc); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq p { color: var(--ink2); padding: 0 0 18px; }

.closing { background: linear-gradient(160deg, var(--hero1), var(--hero2)); color: var(--hero-ink); text-align: center; }
.closing .cta { justify-content: center; }
.closing .btn { background: #34d399; color: #04121a; }
.closing .btn-ghost { background: rgba(255,255,255,.06); color: var(--hero-ink); border-color: rgba(255,255,255,.22); }
.closing .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* inner pages */
.phero { padding: 28px 0 56px; }
.phero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); max-width: 22ch; }
.phero-in { display: flex; gap: 26px; align-items: flex-start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--hero-muted); margin-bottom: 34px; }
.crumbs a { color: var(--hero-muted); }
.crumbs a:hover { color: #fff; }
.pstats { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; }
.pstats div { display: flex; flex-direction: column-reverse; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px 20px; min-width: 150px; }
.pstats dd { margin: 0; font-size: 1.6rem; font-weight: 750; letter-spacing: -.02em; }
.pstats dt { color: var(--hero-muted); font-size: .88rem; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.feat .ico { color: var(--pa); width: 28px; height: 28px; margin-bottom: 12px; }
.feat p { color: var(--ink2); font-size: .96rem; margin-top: 8px; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 8px 4px 20px; margin-top: 28px; scroll-snap-type: x proximity; }
.shots .phone { flex: 0 0 230px; scroll-snap-align: start; box-shadow: var(--shadow); }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 0; display: grid; gap: 10px; }
.prose b { color: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.form { display: grid; gap: 8px; }
.form label { font-weight: 600; font-size: .95rem; margin-top: 12px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid color-mix(in srgb, var(--g1) 45%, transparent); border-color: var(--acc); }
.form .btn { margin-top: 18px; justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { border-radius: 14px; padding: 16px 18px; margin-bottom: 8px; border: 1px solid var(--line); }
.note.ok { background: var(--acc-soft); border-color: var(--acc); }
.note.bad { background: color-mix(in srgb, #dc2626 10%, var(--card)); border-color: #dc2626; }
.contact-side { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.contact-side h2 { font-size: 1.2rem; }
.contact-side ul { padding-left: 20px; margin: 14px 0; display: grid; gap: 12px; color: var(--ink2); font-size: .96rem; }

/* footer */
.foot { background: var(--hero1); color: #a9bcc4; padding: 56px 0 28px; font-size: .94rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand { color: #fff; }
.foot-about p { margin-top: 14px; max-width: 34ch; }
.foot h2 { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: #e6eef0; margin-bottom: 12px; font-weight: 650; }
.foot nav a { display: block; color: #a9bcc4; text-decoration: none; padding: 5px 0; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; display: grid; gap: 8px; }

/* scroll reveal (class added by site.js only when motion is allowed) */
.rv { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .6s ease; }
.rv.in { opacity: 1; translate: 0 0; }

@media (max-width: 1000px) {
  .cards, .vals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-3, .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-in, .band-in, .contact { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 0; }
  .hero-art { height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
  .band:nth-of-type(even) .band-art { order: 0; }
  .band-art { height: 480px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 13px 10px; font-size: 1.02rem; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .duo { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: 1fr 1fr; }
  .phero-in { flex-direction: column; gap: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .cards, .cards-3, .vals, .feats { grid-template-columns: 1fr; }
  .hero-in { padding-top: 44px; }
  .hero-art { height: 320px; }
  .hero-art .phone { width: 190px; }
  .band-art { height: 400px; }
  .band-art .phone { width: 200px; margin-left: -50px; }
  .band-art .phone-back { margin-left: -160px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
  .cta .btn-lg { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
