/* Zidni product website (the page at "/") */
:root {
  --brand: #2a81ba;
  --brand-600: #1f6fa3;
  --brand-700: #17598a;
  --brand-50: #eef6fc;
  --brand-100: #d9ebf7;
  --ink: #0d2540;
  --text: #3d4f63;
  --muted: #6b7c90;
  --line: #e2ebf3;
  --soft: #f4f8fc;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 24px 60px -24px rgba(13, 37, 64, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
.ico { flex: none; }
.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 48px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; border-radius: 999px; padding: .7rem 1.35rem; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; line-height: 1.2; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(42, 129, 186, .8); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-600); }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); 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; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(13, 37, 64, .3); }
.header-in { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.6rem; margin-inline: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--text); padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; transform-origin: left; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: .9rem; }
.langs { display: inline-flex; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; font-weight: 700; font-size: .78rem; padding: .28rem .65rem; border-radius: 999px; color: var(--muted); }
.langs a.active { background: var(--brand); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--ink); cursor: pointer; border-radius: 10px; }
.menu-toggle .ico { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 85% 0%, var(--brand-100), transparent 65%), radial-gradient(700px 420px at 0% 100%, #e8f3fb, transparent 60%), var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 3rem; align-items: center; padding: 64px 0 88px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand-50); color: var(--brand-700); font-weight: 700; font-size: .85rem; padding: .4rem .9rem .4rem .7rem; border-radius: 999px; border: 1px solid var(--brand-100); margin-bottom: 1.4rem; }
.eyebrow .ico { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -.035em; }
.lead { font-size: 1.15rem; color: var(--text); margin-top: 1.4rem; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; font-weight: 600; color: var(--text); }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ico { width: 18px; height: 18px; color: #1c9a63; stroke-width: 2.4; }

.hero-art { position: relative; min-height: 600px; display: flex; justify-content: center; align-items: center; }
.blob { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #8cc6ea, var(--brand) 65%); opacity: .22; filter: blur(8px); }

/* Phone mockup */
.phone { position: relative; width: 250px; flex: none; container-type: inline-size; }
/* Everything below is sized in cqw (a % of the phone's width), so one frame scales to any phone size. */
.phone-body { border-radius: 40px; padding: 7px; border: 2px solid transparent; /* fallbacks for browsers without cqw units */
  border-radius: 15.4cqw; padding: 2.5cqw; border-width: .9cqw;
  background: linear-gradient(#050506, #050506) padding-box, linear-gradient(150deg, #f1f3f5 0%, #9ca3ab 26%, #dde0e4 47%, #757c84 72%, #c8cdd2 100%) border-box;
  box-shadow: 0 2.4cqw 5cqw -1cqw rgba(13, 37, 64, .45), 0 12cqw 18cqw -8cqw rgba(13, 37, 64, .5), inset 0 0 0 .3cqw rgba(255, 255, 255, .1); }
.phone-screen { position: relative; border-radius: 32px; border-radius: 12.4cqw; overflow: hidden; background: #000; }
.phone-screen img { display: block; width: 100%; height: auto; }
.phone-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, 0) 30%), linear-gradient(295deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 28%); }
.phone-status { position: absolute; top: 0; left: 0; right: 0; height: 12cqw; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 7.6cqw 0 9.6cqw; color: #fff; font-size: 3.9cqw; font-weight: 700; letter-spacing: -.01em; }
.phone-status .sys { display: inline-flex; align-items: center; gap: 1.1cqw; }
.phone-status svg { display: block; height: 3.1cqw; width: auto; fill: currentColor; }
.phone.status-dark .phone-status { color: #0d2540; }
.island { position: absolute; z-index: 3; top: 2.5cqw; left: 50%; width: 28cqw; height: 7.6cqw; margin-left: -14cqw; background: #000; border-radius: 999px; }
.pb { position: absolute; width: .9cqw; border-radius: .5cqw; background: linear-gradient(90deg, #858c94, #d9dde1); }
.pb-action { left: -.45cqw; top: 21cqw; height: 5.4cqw; }
.pb-up { left: -.45cqw; top: 31cqw; height: 10cqw; }
.pb-down { left: -.45cqw; top: 43.5cqw; height: 10cqw; }
.pb-power { right: -.45cqw; top: 36cqw; height: 16cqw; background: linear-gradient(270deg, #858c94, #d9dde1); }
.phone-front { position: relative; z-index: 2; }
.phone-back { position: absolute; width: 224px; right: 2%; top: 56px; transform: rotate(7deg); z-index: 1; opacity: .96; }
.hero-art .phone-front { transform: translateX(-24px) rotate(-2deg); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .6rem .95rem .6rem .6rem; font-weight: 700; font-size: .9rem; color: var(--ink); box-shadow: 0 18px 40px -18px rgba(13, 37, 64, .4); animation: float 6s ease-in-out infinite; }
.chip-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e3f6ec; color: #1c9a63; }
.chip-ic .ico { width: 18px; height: 18px; }
.chip-ic-blue { background: var(--brand-50); color: var(--brand); }
.chip-a { left: -2%; bottom: 20%; }
.chip-b { right: 0; top: 10%; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--brand); margin-bottom: .8rem; }
.kicker-light { color: #a9d6f0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; box-shadow: 0 14px 40px -28px rgba(13, 37, 64, .4); }
.step-num { position: absolute; top: 1.2rem; right: 1.4rem; font-size: 3.2rem; font-weight: 900; line-height: 1; color: var(--brand-100); letter-spacing: -.04em; }
.step-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-50); color: var(--brand); margin-bottom: 1.2rem; }
.step-ic .ico { width: 26px; height: 26px; }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--muted); }
.steps-line .step { padding-top: 2.6rem; }
.steps-line .step-num { position: static; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 0; }

/* Cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.7rem; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -28px rgba(13, 37, 64, .5); }
.card-ic, .mini-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), #4aa3d8); color: #fff; margin-bottom: 1.1rem; box-shadow: 0 10px 20px -10px rgba(42, 129, 186, .8); }
.card-ic .ico, .mini-ic .ico { width: 24px; height: 24px; }
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--muted); }
.mini { padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.mini-ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: .9rem; }
.mini h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.mini p { color: var(--muted); font-size: .94rem; }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; margin-bottom: 7rem; }
.row:last-child { margin-bottom: 0; }
.row-flip .row-copy { order: 2; }
.row-wide { grid-template-columns: .8fr 1.2fr; }
.row-wide.row-flip { grid-template-columns: 1.2fr .8fr; }
.row-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1.1rem; }
.row-copy > p { font-size: 1.07rem; color: var(--text); }
.checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .75rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks .ico { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: #e3f6ec; color: #1c9a63; stroke-width: 3; }
.row-art { position: relative; display: flex; justify-content: center; align-items: center; padding: 2.4rem 1rem; }
.art-bg { position: absolute; inset: 0; border-radius: 36px; background: linear-gradient(160deg, var(--brand-50), var(--brand-100)); }
.art-duo { gap: 1.1rem; align-items: flex-start; }
.art-duo .phone { width: 232px; position: relative; z-index: 1; }
.art-duo .phone-b { margin-top: 3.2rem; }
.phone-solo { width: 260px; position: relative; z-index: 1; }

.browser { position: relative; z-index: 1; width: 100%; background: #fff; border: 1px solid #cfdceb; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.browser-bar { display: flex; gap: 7px; align-items: center; height: 34px; padding: 0 14px; background: #eef3f8; border-bottom: 1px solid #dbe5f0; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c6d3e2; }
.browser-bar i:nth-child(1) { background: #f08a84; }
.browser-bar i:nth-child(2) { background: #f2cb6d; }
.browser-bar i:nth-child(3) { background: #7fd09a; }
.browser img { width: 100%; height: auto; }
.art-stack { padding: 0 0 7.5rem; justify-content: flex-start; align-items: flex-start; }
.art-stack > .browser { margin-right: 0; }
.browser-float { position: absolute; z-index: 2; left: -4.5rem; bottom: 0; width: 52%; }
.browser-float .browser { box-shadow: 0 30px 60px -20px rgba(13, 37, 64, .5); }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.4rem; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--brand-100); box-shadow: 0 16px 36px -26px rgba(13, 37, 64, .5); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--text); max-width: 46rem; }

/* Contact */
.contact { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 100% 0%, #3b9bd4, transparent 60%), linear-gradient(160deg, #17598a, #0d2540); color: #d4e6f4; padding: 96px 0; }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 1rem; }
.contact-copy > p { font-size: 1.08rem; }
.checks-light li { color: #fff; }
.checks-light .ico { background: rgba(255, 255, 255, .16); color: #9ff0c4; }
.contact-mail { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; font-weight: 600; }
.contact-mail .ico { width: 20px; height: 20px; }
.contact-mail a { color: #fff; text-underline-offset: 3px; }
.form-card { background: #fff; color: var(--text); border-radius: 28px; padding: 2rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.4rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field > span { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color .15s, background .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: .8rem 1rem; border-radius: 12px; font-weight: 600; margin-bottom: 1.1rem; }
.notice-ok { background: #e3f6ec; color: #11633f; border: 1px solid #b7e6cd; }
.notice-err { background: #fdecec; color: #8a1f1f; border: 1px solid #f3c2c2; }

/* Footer */
.footer { background: var(--ink); color: #9fb3c8; padding: 56px 0 28px; }
.footer-in { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer p { margin-top: 1rem; max-width: 24rem; font-size: .95rem; }
.brand-foot img { height: 34px; width: auto; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-content: flex-start; }
.foot-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: #c8d8e8; }
.foot-nav a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid #1f3a58; font-size: .85rem; }
.foot-bottom a { color: #c8d8e8; text-decoration: none; font-weight: 600; }

/* Scroll reveal (only when the script ran) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .steps .reveal:nth-child(2), .js .cards3 .reveal:nth-child(2), .js .grid4 .reveal:nth-child(2) { transition-delay: .08s; }
  .js .steps .reveal:nth-child(3), .js .cards3 .reveal:nth-child(3), .js .grid4 .reveal:nth-child(3) { transition-delay: .16s; }
  .js .grid4 .reveal:nth-child(4) { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) { .chip { animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 1020px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .hero-art { min-height: 560px; }
  .row, .row-wide, .row-wide.row-flip { grid-template-columns: 1fr; gap: 2.4rem; margin-bottom: 5rem; }
  .row-flip .row-copy { order: 0; }
  .contact-in { grid-template-columns: 1fr; gap: 2.5rem; }
  .browser-float { position: relative; left: auto; width: 70%; margin: -3rem 0 0 auto; }
  .art-stack { flex-direction: column; padding-bottom: 0; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .6rem 24px 1rem; box-shadow: 0 20px 30px -20px rgba(13, 37, 64, .3); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-end { margin-left: auto; }
}

/* Phone */
@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .contact { padding: 64px 0; }
  .steps, .cards3, .grid4 { grid-template-columns: 1fr; }
  .head-cta { display: none; }
  .hero-art { min-height: 500px; }
  .phone { width: 220px; }
  .phone-back { width: 190px; right: -2%; }
  .hero-art .phone-front { transform: translateX(-16px) rotate(-2deg); }
  .chip-a { left: 0; bottom: 8%; }
  .chip-b { right: 0; top: 4%; }
  .art-duo { gap: .6rem; }
  .art-duo .phone { width: 46%; max-width: 210px; }
  .art-duo .phone-b { margin-top: 2rem; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem; border-radius: 22px; }
  .row { margin-bottom: 4rem; }
  .row-art { padding: 1.6rem .6rem; }
  .browser-float { width: 80%; }
  .foot-bottom { flex-direction: column; gap: .6rem; }
}


/* Sharing section: QR code and link are included, NFC is optional */
.channels { display: grid; gap: .9rem; margin-top: 1.8rem; }
.channel { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.15rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.channel-main { border-color: var(--brand-100); box-shadow: 0 14px 34px -26px rgba(42, 129, 186, .9); }
.channel-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), #4aa3d8); color: #fff; }
.channel-ic-soft { background: var(--brand-50); color: var(--brand); }
.channel-ic .ico { width: 23px; height: 23px; }
.channel h3 { font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-bottom: .3rem; }
.channel p { color: var(--muted); font-size: .96rem; }
.badge { font-size: .7rem; font-weight: 800; letter-spacing: .02em; padding: .2rem .65rem; border-radius: 999px; background: #e3f6ec; color: #11633f; white-space: nowrap; }
.badge-opt { background: #eaf0f6; color: #51647a; }
.chip-c { left: 4%; bottom: 14%; z-index: 3; animation-delay: -2s; }

h1, h2 { text-wrap: balance; }
#share .phone-solo { width: 280px; }

/* Hero chip that flips between the two ways of opening a profile: QR code scan and NFC tap */
.chip.chip-flip { display: block; padding: 0; background: none; border: 0; box-shadow: none; perspective: 900px; }
.flip-inner { display: grid; transform-style: preserve-3d; animation: chip-flip 7s ease-in-out infinite; }
.flip-face { grid-area: 1 / 1; display: flex; align-items: center; gap: .6rem; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .6rem .95rem .6rem .6rem; box-shadow: 0 18px 40px -18px rgba(13, 37, 64, .4); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateX(180deg); }
@keyframes chip-flip { 0%, 42% { transform: rotateX(0deg); } 50%, 92% { transform: rotateX(180deg); } 100% { transform: rotateX(360deg); } }
@media (prefers-reduced-motion: reduce) { .flip-inner { animation: none; } }
