/* Sales Mitra – single page site
   Palette taken from the logo: deep navy + sky blue. */
:root {
  --ink: #0e1b45;
  --ink-soft: #46547a;
  --blue: #1f6fe5;
  --blue-deep: #1749a8;
  --sky: #29a8f0;
  --saffron: #f2a516;
  --paper: #ffffff;
  --mist: #f3f7fc;
  --mist-2: #e8f0fb;
  --line: #dbe5f3;
  --ok: #138a52;
  --no: #b6c0d4;
  --shadow: 0 18px 50px -20px rgba(14, 27, 69, .35);
  --radius: 14px;
  --header-h: 72px;
  --font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}
:root[data-theme="dark"] {
  --ink: #eaf0ff;
  --ink-soft: #a9b6d6;
  --blue: #5b9bff;
  --blue-deep: #3d78d8;
  --sky: #4cb8f5;
  --paper: #0b1430;
  --mist: #101b3d;
  --mist-2: #162548;
  --line: #243459;
  --ok: #4fd493;
  --no: #4a5878;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section { padding: clamp(64px, 9vw, 112px) 0; }
.tint { background: var(--mist); }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { color: var(--ink-soft); margin-top: 14px; font-size: 1.1rem; }
.head.center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem var(--font-body); cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; min-height: 46px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px var(--blue); }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: #0e1b45; }
.btn-light:hover { background: #e8f0fb; }
.btn-line-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line-light:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .92rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14,27,69,.5); }
.bar { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; padding: 4px 8px; border-radius: 10px; }
.brand img { height: 40px; width: auto; }
:root[data-theme="dark"] .brand { background: #fff; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: .96rem; transition: color .15s, background .15s; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--mist-2); }
.nav a.active { color: var(--blue); background: var(--mist-2); }
.actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.icon-btn:hover { background: var(--mist-2); }
.login-link { font-weight: 700; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: none; border: 0; font-family: inherit; font-size: .96rem; cursor: pointer; }
.login-link:hover { color: var(--blue); }
.menu-btn { display: none; }
.mobile-panel { display: none; }

@media (max-width: 1080px) {
  .nav, .actions .login-link, .actions .btn { display: none; }
  .actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .mobile-panel {
    display: block; position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h));
    overflow: auto; padding: 14px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .mobile-panel.open { transform: none; opacity: 1; visibility: visible; }
  .mobile-panel a.m-link {
    display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); text-decoration: none;
    color: var(--ink); font-weight: 700;
  }
  .mobile-panel a.m-link.active { color: var(--blue); }
  .mobile-panel .btn { margin-top: 14px; }
}

/* Hero – dark stage, aurora, tilting product shot */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  padding: calc(var(--header-h) + 64px) 0 72px; border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(80px); will-change: transform; }
.hero-bg i:nth-child(1) { width: min(46vw, 640px); aspect-ratio: 1; left: -12%; top: -22%; background: #5aa2ff; opacity: .38; animation: blobA 16s ease-in-out infinite alternate; }
.hero-bg i:nth-child(2) { width: min(40vw, 560px); aspect-ratio: 1; right: -8%; top: -8%; background: #a08bff; opacity: .34; animation: blobB 19s ease-in-out infinite alternate; }
.hero-bg i:nth-child(3) { width: min(34vw, 460px); aspect-ratio: 1; left: 38%; bottom: -26%; background: #7fd0ff; opacity: .34; animation: blobA 22s ease-in-out infinite alternate-reverse; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--blue) 30%, transparent) 1px, transparent 1.3px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 72% 30%, #000, transparent 75%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 72%) var(--my, 30%), color-mix(in srgb, var(--blue) 16%, transparent), transparent 62%); }
@keyframes blobA { to { transform: translate(8%, 12%) scale(1.15); } }
@keyframes blobB { to { transform: translate(-10%, 14%) scale(.9); } }

.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); }
.hero h1 .line2 { display: block; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .14em; margin: -.08em 0 -.14em; }
.hero h1 .wi { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; animation: wordUp .95s cubic-bezier(.2,.85,.2,1) forwards; animation-delay: var(--d, 0ms); }
.hero h1 .line2 .wi { background: linear-gradient(95deg, #1749a8 0%, #1f6fe5 30%, #7c5cff 62%, #1f6fe5 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: wordUp .95s cubic-bezier(.2,.85,.2,1) forwards, shimmer 7s linear 1.4s infinite; animation-delay: var(--d, 0ms), 0s; }
@keyframes wordUp { to { transform: none; } }
@keyframes shimmer { to { background-position: -260% 0; } }
.hero .lede { margin-top: 24px; font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-primary { background: linear-gradient(135deg, #2f7bf0, #6a5cff); box-shadow: 0 14px 40px -10px rgba(90,120,255,.9); }
.hero .btn-primary:hover { background: linear-gradient(135deg, #3b87ff, #7b6dff); }
.hero .btn-ghost { background: var(--paper); }
.rating { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.stars { color: var(--saffron); letter-spacing: 2px; font-size: 1.15rem; }

.hero-art { position: relative; isolation: isolate; perspective: 1400px; }
.hero-art::before { content: ""; position: absolute; inset: 6% 2% -8%; z-index: -1; background: radial-gradient(closest-side at 70% 40%, rgba(124,92,255,.38), transparent 72%), radial-gradient(closest-side at 22% 80%, rgba(41,168,240,.34), transparent 72%); filter: blur(46px); }
.hero-art .bob { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-art .tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, -4deg)); transition: transform .18s ease-out; will-change: transform; }
.hero-art .edge { position: relative; padding: 3px; border-radius: 30px; background: conic-gradient(from var(--ang), #29a8f0, #7c5cff, #f2a516, #29a8f0); animation: spin 8s linear infinite, heroIn 1.1s cubic-bezier(.2,.85,.2,1) .25s both; box-shadow: 0 40px 80px -30px rgba(31,111,229,.45); }
@keyframes spin { to { --ang: 360deg; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(46px) scale(.93) rotate(-1.5deg); } }
.hero-art .edge img { width: 100%; border-radius: 27px; border: 0; box-shadow: none; }
.hero-art .sheen { position: absolute; inset: 3px; border-radius: 27px; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 0%), rgba(255,255,255,.34), transparent 45%); mix-blend-mode: soft-light; }
.hero-art:hover .sheen { opacity: 1; }
.hero-art .orb { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; }
.hero-art .o1 { width: 78px; height: 78px; top: -26px; right: -14px; background: radial-gradient(circle at 30% 28%, #ffe29a, #f2a516 58%, #c47a00); box-shadow: 0 18px 40px -10px rgba(242,165,22,.7); animation: drift 6s ease-in-out infinite alternate; }
.hero-art .o2 { width: 44px; height: 44px; left: -18px; bottom: 16%; background: radial-gradient(circle at 30% 28%, #bfe6ff, #5b9bff 55%, #7c5cff); box-shadow: 0 14px 30px -8px rgba(91,155,255,.8); animation: drift 7.5s ease-in-out infinite alternate-reverse; }
.hero-art .ring { position: absolute; z-index: -1; width: 230px; height: 230px; left: -70px; top: -64px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--blue) 35%, transparent); animation: turn 40s linear infinite; }
@keyframes drift { to { transform: translate(-14px, 22px) scale(1.12); } }
@keyframes turn { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.stat { padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; transition: background .3s; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:hover { background: var(--paper); }
.stat b { font: 800 2.1rem/1.1 var(--font-head); color: var(--blue); transition: transform .3s cubic-bezier(.3,1.5,.5,1); transform-origin: 0 100%; }
.stat:hover b { transform: scale(1.1); }
.stat span { color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art .tilt { --ry: 0deg; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-art .o1 { width: 56px; height: 56px; right: 0; }
  .hero-art .ring { display: none; }
}

/* Feature overview (no cards – ruled grid) */
.overview { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: 96px; }
.ov { padding: 30px 28px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ov .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--blue); margin-bottom: 18px; }
.ov p { color: var(--ink-soft); margin-top: 8px; font-size: 1rem; }
@media (max-width: 860px) { .overview { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .overview { grid-template-columns: 1fr; } }

/* Feature rows with product screenshots */
.row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.row.flip { grid-template-columns: 1fr 1.15fr; }
.row.flip .shot { order: 2; }
.row:last-of-type { margin-bottom: 0; }
.row h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.row .tag { color: var(--blue); font-weight: 800; font-size: .95rem; margin-bottom: 10px; display: block; }
.row p.lead { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .i { color: var(--ok); margin-top: 4px; background: color-mix(in srgb, var(--ok) 14%, transparent); border-radius: 50%; padding: 3px; width: 1.4em; height: 1.4em; }
@media (max-width: 900px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .row.flip .shot { order: 0; }
}

/* Browser-frame screenshot */
.shot { margin: 0; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.frame .dots { display: flex; gap: 6px; padding: 10px 14px; background: var(--mist-2); border-bottom: 1px solid var(--line); }
.frame .dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.frame .dots i:nth-child(2) { background: #ffc24a; }
.frame .dots i:nth-child(3) { background: #3ecf8e; }
.frame img { width: 100%; }
.shot figcaption { margin-top: 12px; font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
button.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: inherit; font: inherit; color: inherit; }

/* Gallery */
.gallery-head { margin: 112px 0 28px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tab { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font: 700 .94rem var(--font-body); cursor: pointer; }
.tab:hover { border-color: var(--blue); color: var(--blue); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab-note { color: var(--ink-soft); margin: 14px 0 26px; max-width: 60ch; }
.gal { display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gal.show { display: grid; }
@media (max-width: 900px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .gal { grid-template-columns: 1fr; } }

/* Pricing */
.billing { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 36px; }
.billing button { padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-soft); font: 700 .95rem var(--font-body); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; background: var(--paper); display: flex; flex-direction: column; position: relative; }
.plan.hot { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -14px; left: 28px; background: var(--saffron); color: #2b1b00; font-weight: 800; font-size: .82rem; padding: 4px 12px; border-radius: 999px; }
.plan .price { font: 800 3rem/1 var(--font-head); margin: 22px 0 6px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan .price small { font: 600 .95rem var(--font-body); color: var(--ink-soft); }
.plan .y { display: none; }
.yearly .plan .m { display: none; }
.yearly .plan .y { display: inline; }
.plan .note { color: var(--ink-soft); font-size: .98rem; }
.plan .btn { margin-top: auto; }
.plan .note + .btn, .plan .sub + .btn { margin-top: 28px; }
.plan .spacer { flex: 1; min-height: 20px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } .plans .plan { order: 0; } .plans .plan.hot { order: 0; } }

.compare { margin-top: 72px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; font-size: .98rem; }
thead th { background: var(--mist-2); font-family: var(--font-head); font-size: 1.05rem; position: sticky; top: 0; }
th:first-child, td:first-child { text-align: left; }
tbody th { font-weight: 600; }
tr.group th { background: var(--mist); color: var(--blue); font: 800 .92rem var(--font-body); padding-block: 12px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 800; font-size: 1.15rem; }
.nope { color: var(--no); font-weight: 800; font-size: 1.15rem; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.perk { padding: 24px; display: flex; gap: 14px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk .i { color: var(--blue); width: 1.6em; height: 1.6em; margin-top: 2px; }
.perk h3 { font-size: 1.05rem; }
.perk p { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; margin-top: 4px; }
.trial { margin-top: 18px; display: flex; gap: 16px; align-items: center; padding: 22px 26px; border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.trial h3 { font-size: 1.2rem; }
.trial p { opacity: .8; }
@media (max-width: 960px) { .perks { grid-template-columns: 1fr 1fr; } .perk:nth-child(3) { border-left: 0; } .perk:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } .perk + .perk { border-left: 0; border-top: 1px solid var(--line); } }

/* Integrations */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); font: 700 .92rem var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.int { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.int[hidden] { display: none; }
.int .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--blue); }
.int p { color: var(--ink-soft); font-size: .98rem; line-height: 1.55; flex: 1; }
.int .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1000px) { .int-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .int-grid { grid-template-columns: 1fr; } }

/* How it works */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.split .shot { order: 2; }
.split p.lead { color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split .shot { order: 0; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.post .thumb { aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; width: 100%; border-bottom: 1px solid var(--line); background: var(--mist); }
.post .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.post .cat { align-self: flex-start; font-weight: 800; font-size: .84rem; color: var(--blue); background: var(--mist-2); padding: 3px 12px; border-radius: 999px; }
.post p { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.post .meta { margin-top: auto; padding-top: 10px; color: var(--ink-soft); font-size: .9rem; }
.post .more { align-self: flex-start; background: none; border: 0; padding: 4px 0; font: 800 .98rem var(--font-body); color: var(--blue); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.post .more:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* FAQ */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.faq-cols h3 { margin-bottom: 14px; color: var(--blue); font-size: 1.05rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 18px 4px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary .i { transition: transform .2s; color: var(--blue); }
details[open] summary .i { transform: rotate(180deg); }
details p { padding: 0 4px 20px; color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 900px) { .faq-cols { grid-template-columns: 1fr; gap: 36px; } }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #0e1b45, #1749a8 60%, #1f78d8); color: #fff; border-radius: 26px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); max-width: 18em; }
.cta-band p { opacity: .85; margin-top: 12px; max-width: 46ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-sec { padding-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.info { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.info li { display: flex; gap: 16px; }
.info .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mist-2); color: var(--blue); flex: none; }
.info b { display: block; }
.info span, .info a { color: var(--ink-soft); }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 36px); background: var(--paper); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fields .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .94rem; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--ink); font: 500 1rem var(--font-body); min-height: 46px;
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 20%, transparent); }
.err { color: #d03a4a; font-size: .86rem; margin-top: 5px; display: none; font-weight: 600; }
:root[data-theme="dark"] .err { color: #ff8896; }
.was-validated :invalid { border-color: #d03a4a; }
.was-validated :invalid ~ .err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check label { margin: 0; font-weight: 500; }
.check .linkish { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.form-ok { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; }
.form-ok.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } .fields { grid-template-columns: 1fr; } }

/* Footer */
footer { background: #0a1233; color: #c4cfe8; padding: 64px 0 28px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.foot .logo-chip { display: inline-flex; background: #fff; padding: 8px 12px; border-radius: 12px; }
.foot .logo-chip img { height: 38px; width: auto; }
.foot p.about { margin-top: 18px; font-size: .96rem; max-width: 28ch; }
.foot h3 { font-size: 1rem; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot a, .foot button.flink { color: #c4cfe8; text-decoration: none; font-size: .97rem; background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.foot a:hover, .foot button.flink:hover { color: #fff; text-decoration: underline; }
.copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
@media (max-width: 960px) { .foot { grid-template-columns: 1fr 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr 1fr; } }

/* Back to top */
.top-btn { position: fixed; right: 18px; bottom: 18px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.top-btn.show { opacity: 1; visibility: visible; transform: none; }
.top-btn .i { transform: rotate(-90deg); }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: 22px; background: var(--paper); color: var(--ink); width: min(520px, calc(100% - 28px)); max-height: calc(100dvh - 28px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.55); overflow: auto; }
dialog.wide { width: min(760px, calc(100% - 28px)); }
dialog::backdrop { background: rgba(8, 14, 38, .62); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg-in { padding: clamp(24px, 4vw, 38px); position: relative; }
.dlg-close { position: absolute; top: 14px; right: 14px; }
.dlg-in h2 { font-size: 1.8rem; margin-bottom: 8px; padding-right: 40px; }
.dlg-in .sub { color: var(--ink-soft); margin-bottom: 22px; }
.stack { display: grid; gap: 16px; }
.switch { margin-top: 18px; color: var(--ink-soft); font-size: .96rem; }
.switch button { background: none; border: 0; padding: 0; color: var(--blue); font: 800 inherit var(--font-body); cursor: pointer; text-decoration: underline; }
.meter { display: flex; gap: 4px; margin-top: 8px; }
.meter span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.meter span.on { background: var(--ok); }
.meter-text { font-size: .86rem; color: var(--ink-soft); margin-top: 4px; }
.prose h3 { margin: 26px 0 8px; font-size: 1.2rem; }
.prose p { color: var(--ink-soft); margin-bottom: 12px; }
.prose ul { color: var(--ink-soft); padding-left: 20px; display: grid; gap: 6px; margin: 0 0 12px; }
.prose .updated { font-size: .9rem; color: var(--ink-soft); }
.prose .lede { font-size: 1.12rem; }
.byline { display: flex; gap: 12px; align-items: center; margin: 16px 0 6px; color: var(--ink-soft); font-size: .94rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }

/* Lightbox */
dialog.lb { width: min(1200px, calc(100% - 20px)); background: #060b20; color: #fff; border-radius: 18px; }
.lb figure { margin: 0; padding: 14px 14px 18px; }
.lb img { width: 100%; border-radius: 10px; background: #fff; max-height: calc(100dvh - 150px); object-fit: contain; }
.lb figcaption { padding: 12px 6px 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-weight: 700; }
.lb .nav-btns { display: flex; gap: 8px; }
.lb .icon-btn { border-color: rgba(255,255,255,.35); color: #fff; }
.lb .icon-btn:hover { background: rgba(255,255,255,.14); }
.lb .dlg-close { top: 10px; right: 10px; z-index: 2; background: rgba(6,11,32,.7); }
.lb .prev .i { transform: rotate(180deg); }

@media print { .site-header, .top-btn { display: none; } }

/* fixes */
.cta-band > div:first-child { flex: 1 1 420px; }
.cta-band .btns { flex: 0 1 auto; max-width: 100%; }
.cta-band .btn { white-space: normal; }
.foot li { font-size: .97rem; }

/* =====================================================================
   CREATIVE LAYER – hover, toggles and image treatments
   (content and image files are untouched; everything is CSS/JS styling)
   ===================================================================== */

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1100; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), #7c5cff, var(--saffron)); pointer-events: none; }

.site-header { transition: background .3s, border-color .3s, box-shadow .3s; }
.nav a { position: relative; }
.nav a:not(.active)::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 2px; background: currentColor; transform: translateX(-50%); transition: width .25s; }
.nav a:not(.active):hover::after { width: calc(100% - 26px); }
[data-theme-toggle] .i { transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
[data-theme-toggle]:hover .i { transform: rotate(35deg) scale(1.15); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* buttons: light sweep + arrow nudge */
.btn { position: relative; overflow: hidden; }
.btn-primary::after, .btn-light::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%); transform: translateX(-120%); transition: transform .7s; pointer-events: none; }
.btn-primary:hover::after, .btn-light:hover::after { transform: translateX(120%); }
.btn .i { transition: transform .25s; }
.btn:hover .i { transform: translateX(5px); }
.btn-primary:hover, .btn-light:hover { transform: translateY(-2px); }
.btn-primary:active, .btn-light:active { transform: translateY(0); }
.top-btn:hover { transform: translateY(-4px); background: var(--blue-deep); }

/* sliding thumb for toggles (billing + tabs) */
.billing, .tabs { position: relative; }
.slide-thumb { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 999px; z-index: 0; pointer-events: none; background: linear-gradient(135deg, var(--blue), #6a5cff); box-shadow: 0 10px 24px -10px var(--blue); transition: transform .4s cubic-bezier(.3,1.25,.5,1), width .4s cubic-bezier(.3,1.25,.5,1), height .3s; }
.billing button, .tab { position: relative; z-index: 1; transition: color .25s; }
.billing button[aria-pressed="true"] { background: transparent; color: #fff; }
.tabs { display: inline-flex; flex-wrap: nowrap; gap: 0; padding: 5px; max-width: 100%; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.tabs::-webkit-scrollbar { display: none; }
.tab { border: 0; background: transparent; white-space: nowrap; }
.tab[aria-selected="true"] { background: transparent; color: #fff; border-color: transparent; }

/* gallery panels animate in when a tab is chosen */
.gal.show .shot { animation: galIn .6s cubic-bezier(.2,.85,.2,1) both; }
.gal.show .shot:nth-child(2) { animation-delay: .08s; }
.gal.show .shot:nth-child(3) { animation-delay: .16s; }
@keyframes galIn { from { opacity: 0; transform: translateY(34px) rotateX(10deg) scale(.96); } }
.gal .shot .frame { transition: transform .4s cubic-bezier(.2,.85,.2,1), box-shadow .4s; }
.gal .shot:hover .frame { transform: translateY(-10px) rotate(-.6deg); box-shadow: 0 34px 60px -26px rgba(31,111,229,.6); }

/* screenshots: hover zoom, colour wash and a "view" badge */
button.zoom { position: relative; overflow: hidden; }
.frame img { transition: transform .9s cubic-bezier(.2,.85,.2,1); }
button.zoom:hover img { transform: scale(1.05); }
button.zoom::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s; background: linear-gradient(180deg, transparent 50%, rgba(14,27,69,.5)); }
button.zoom::after { content: ""; position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .3s, transform .45s cubic-bezier(.3,1.6,.5,1); background: linear-gradient(135deg, var(--blue), #6a5cff) center / 100% no-repeat; box-shadow: 0 10px 24px -6px rgba(31,111,229,.8); -webkit-mask: none; }
button.zoom:hover::before { opacity: 1; }
button.zoom:hover::after { opacity: 1; transform: none; }
.zoom-ico { position: absolute; right: 16px; bottom: 16px; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.4) rotate(-40deg); transition: opacity .3s, transform .45s cubic-bezier(.3,1.6,.5,1); pointer-events: none; }
.zoom-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
button.zoom:hover .zoom-ico { opacity: 1; transform: none; }

/* feature screenshots: glow + dashed offset outline + perspective that straightens */
.row .shot, .split .shot { position: relative; isolation: isolate; }
.row .shot::before, .split .shot::before { content: ""; position: absolute; inset: 6% -6% 14% -6%; z-index: -2; border-radius: 40px; background: linear-gradient(135deg, color-mix(in srgb, var(--sky) 55%, transparent), color-mix(in srgb, #7c5cff 45%, transparent)); filter: blur(48px); opacity: .5; transition: opacity .5s; }
.row .shot::after, .split .shot::after { content: ""; position: absolute; inset: 26px -18px 40px 26px; z-index: -1; border: 2px dashed color-mix(in srgb, var(--blue) 45%, transparent); border-radius: 22px; transition: transform .5s cubic-bezier(.2,.85,.2,1), border-color .4s; }
.row.flip .shot::after { inset: 26px 26px 40px -18px; }
.row .shot:hover::before, .split .shot:hover::before { opacity: .85; }
.row .shot:hover::after { transform: translate(10px, 10px); border-color: var(--blue); }
.row.flip .shot:hover::after { transform: translate(-10px, 10px); }
.row .frame { transition: transform .8s cubic-bezier(.2,.85,.2,1), opacity .8s, box-shadow .4s; }
.js .row .frame { opacity: 0; transform: perspective(1400px) translateY(56px) rotateX(8deg) rotateY(var(--r0, -16deg)) scale(.94); }
.js .row.flip .frame { --r0: 16deg; }
.js .row .frame.in { opacity: 1; transform: none; }
.js .row .frame.in:hover { transform: translateY(-8px) scale(1.012); box-shadow: 0 40px 70px -28px rgba(31,111,229,.55); }
.split .shot { transition: transform .18s ease-out; will-change: transform; }
.checks li { transition: transform .25s; }
.checks li:hover { transform: translateX(6px); }
.checks .i { transition: background .25s, color .25s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.checks li:hover .i { background: var(--ok); color: #fff; transform: scale(1.2) rotate(-8deg); }
.row .tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mist-2); }

/* cards with a cursor-following spotlight */
.ov, .plan, .int, .post, .form-card { position: relative; }
.ov::before, .plan::before, .int::before, .post::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sky) 20%, transparent), transparent 62%); }
.ov:hover::before, .plan:hover::before, .int:hover::before, .post:hover::before { opacity: 1; }
.ov > *, .plan > *, .int > *, .post > * { position: relative; z-index: 1; }

.ov { transition: background .3s; }
.ov:hover { background: var(--mist); }
.ov .ic { transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s, box-shadow .3s; }
.ov:hover .ic { background: linear-gradient(135deg, var(--blue), #6a5cff); color: #fff; transform: rotate(-9deg) scale(1.14); box-shadow: 0 12px 24px -8px var(--blue); }
.ov h3 { transition: color .25s; }
.ov:hover h3 { color: var(--blue); }

.plan { transition: transform .4s cubic-bezier(.2,.85,.2,1), box-shadow .4s, border-color .3s; }
.plan:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--blue); }
.plan.hot { border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, conic-gradient(from var(--ang), #29a8f0, #7c5cff, #f2a516, #29a8f0) border-box; animation: spin 7s linear infinite; }
.plan.hot:hover { border-color: transparent; }
.plan .badge { animation: badgePulse 2.6s ease-in-out infinite; z-index: 2; }
@keyframes badgePulse { 50% { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 10px 18px -6px rgba(242,165,22,.7); } }
.plan .price span { animation: priceIn .45s cubic-bezier(.2,.85,.2,1); }
@keyframes priceIn { from { opacity: 0; transform: translateY(14px) scale(.9); } }
tbody tr:not(.group) > * { transition: background .2s; }
tbody tr:not(.group):hover > * { background: var(--mist); }
.yes { display: inline-block; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
tbody tr:hover .yes { transform: scale(1.35); }
.perk .i { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.perk:hover .i { transform: translateY(-5px) rotate(-10deg) scale(1.15); }
.perk { transition: background .3s; }
.perk:hover { background: var(--mist); }
.trial { background: linear-gradient(120deg, var(--ink), color-mix(in srgb, var(--ink) 70%, #7c5cff)); }
.trial .i { animation: wiggle 3.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 96% { transform: rotate(-6deg); } }

/* integrations: chips + animated filter */
.chip { transition: transform .2s, border-color .2s, color .2s, background .25s, box-shadow .25s; }
.chip:hover { transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--blue), #6a5cff); box-shadow: 0 10px 22px -10px var(--blue); }
.int:not([hidden]) { animation: popIn .5s cubic-bezier(.2,.85,.2,1) both; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes popIn { from { opacity: 0; transform: translateY(24px) scale(.92); } }
.int { transition: transform .35s cubic-bezier(.2,.85,.2,1), box-shadow .35s, border-color .3s; }
.int:hover { transform: translateY(-8px); border-color: var(--blue); box-shadow: var(--shadow); }
.int .ic { transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.int:hover .ic { background: linear-gradient(135deg, var(--blue), #6a5cff); color: #fff; transform: rotate(10deg) scale(1.12); }

/* blog */
.thumb-wrap { overflow: hidden; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); background: var(--mist); }
.thumb-wrap .thumb { aspect-ratio: auto; height: 100%; border: 0; transition: transform .9s cubic-bezier(.2,.85,.2,1), filter .4s; }
.post { transition: transform .4s cubic-bezier(.2,.85,.2,1), box-shadow .4s, border-color .3s; }
.post:hover { transform: translateY(-10px); border-color: var(--blue); box-shadow: var(--shadow); }
.post:hover .thumb { transform: scale(1.08) rotate(.6deg); }
.post .more .i { transition: transform .25s; }
.post:hover .more .i { transform: translateX(7px); }
.post h3 { transition: color .25s; }
.post:hover h3 { color: var(--blue); }

/* faq */
details { transition: background .3s; }
details:hover { background: color-mix(in srgb, var(--mist) 70%, transparent); }
details[open] { background: var(--mist); }
summary { transition: padding .25s, color .25s; }
summary:hover { padding-left: 12px; color: var(--blue); }
summary .i { width: 1.9em; height: 1.9em; padding: 6px; border-radius: 50%; background: var(--mist-2); transition: transform .35s cubic-bezier(.3,1.4,.5,1), background .25s, color .25s; }
details[open] summary .i { background: var(--blue); color: #fff; }
@supports (interpolate-size: allow-keywords) {
  details { interpolate-size: allow-keywords; }
  details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  details[open]::details-content { block-size: auto; }
}

/* CTA band: moving gradient + floating shapes */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #0e1b45, #1749a8 38%, #6a5cff 72%, #1f78d8); background-size: 240% 240%; animation: bandMove 14s ease-in-out infinite alternate; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.cta-band::before { width: 280px; height: 280px; right: -70px; top: -110px; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.28), rgba(255,255,255,0) 70%); animation: drift 8s ease-in-out infinite alternate; }
.cta-band::after { width: 180px; height: 180px; left: 38%; bottom: -90px; border: 2px dashed rgba(255,255,255,.3); animation: turn 30s linear infinite; }
@keyframes bandMove { to { background-position: 100% 100%; } }

/* contact + footer */
.info li { transition: transform .3s; }
.info li:hover { transform: translateX(8px); }
.info .ic { transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.info li:hover .ic { background: linear-gradient(135deg, var(--blue), #6a5cff); color: #fff; transform: rotate(-10deg) scale(1.1); }
.form-card { transition: border-color .3s, box-shadow .3s; }
.form-card:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent), var(--shadow); }
div:has(> input:focus) > label, div:has(> textarea:focus) > label, div:has(> select:focus) > label { color: var(--blue); }
label { transition: color .2s; }
.foot a, .foot button.flink { display: inline-block; transition: transform .2s, color .2s; }
.foot a:hover, .foot button.flink:hover { transform: translateX(5px); text-decoration: none; }

/* phones / tablets: calmer 3D */
@media (max-width: 900px) {
  .js .row .frame, .js .row.flip .frame { transform: translateY(40px) scale(.96); }
  .js .row .frame.in, .js .row.flip .frame.in { transform: none; }
  .row .shot::after, .split .shot::after { display: none; }
  .row .shot::before, .split .shot::before { inset: 6% 0 14% 0; }
}
main { overflow-x: clip; }
@media (hover: none) { .split .shot { transform: none !important; } }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .hero h1 .wi { transform: none; }
  .js .row .frame { opacity: 1; transform: none; }
  .hero-art .tilt { transform: none !important; }
}

/* hero headline gradient: lighter stops on the dark theme for contrast */
:root[data-theme="dark"] .hero h1 .line2 .wi { background-image: linear-gradient(95deg, #5cc4ff 0%, #8fb4ff 35%, #b09cff 65%, #5cc4ff 100%); background-size: 260% 100%; }
#int-grid .int h3 {
  white-space: nowrap;
}