/* SocialAnime Translations — landing, modelled on the socialanime.it home */

/* hero: the SocialAnime sunset (the colours of the SA logo) instead of a photo */
.lp-hero { position: relative; display: flex; flex-direction: column; color: #fff; overflow: hidden;
  background:
    radial-gradient(45% 55% at 92% 100%, rgba(255, 196, 110, .75), transparent 70%),
    radial-gradient(70% 60% at 0% 0%, rgba(8, 40, 90, .55), transparent 70%),
    linear-gradient(165deg, #0b3d7a 0%, #1668b0 30%, #3591cc 52%, #8fb7c9 68%, #f0b25e 86%, #e8843a 100%); }
.lp-hero > * { position: relative; }
.lp-top { height: var(--hdr-h); z-index: 61; }
.lp-top-in { height: 100%; display: flex; align-items: center; gap: 16px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.lp-logo img { border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.lp-logo b { font-size: 16px; font-weight: 700; }
.lp-logo span { font-size: 13px; opacity: .85; letter-spacing: .5px; }
.lp-top-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.lp-top-nav a { padding: 6px 10px; font-size: 14px; color: #fff; opacity: .92; }
.lp-top-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.lp-top-nav span[data-anon] { display: inline-flex; }
.lp-burger { margin-left: auto; color: #fff; font-size: 22px; width: 40px; height: 40px; place-items: center; }

/* letters of many alphabets drifting in the sky */
.lp-glyphs { position: absolute !important; inset: 0; pointer-events: none; }
.lp-glyphs span { position: absolute; left: var(--x); top: var(--y); font-size: var(--s); font-weight: 700; color: #fff; opacity: .1; animation: lp-drift 18s ease-in-out infinite; animation-delay: var(--d); }
@keyframes lp-drift { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-22px) rotate(4deg); } }

.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(70px, 9vw, 110px); }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 30px; background: rgba(255, 255, 255, .14); font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lp-pill img { border-radius: 50%; }
.lp-hero-copy h1 { margin-top: 18px; color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; line-height: 1.08; text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.lp-hero-copy h1 span { display: block; font-weight: 400; background: linear-gradient(90deg, #ffe2b3, #ffffff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-sub { margin: 14px 0 0; font-size: clamp(17px, 1.6vw, 21px); font-style: italic; opacity: .95; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-btn-line { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: var(--rad-s); border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; font-weight: 600; font-size: 15px; transition: background var(--t); }
.lp-btn-line:hover { background: rgba(255, 255, 255, .12); }
.lp-auth { margin: 14px 0 0; font-size: 14px; opacity: .9; }
.lp-auth a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lp-stats { display: flex; gap: clamp(22px, 4vw, 48px); margin-top: 30px; }
.lp-stats div { display: flex; flex-direction: column; }
.lp-stats b { font-size: 28px; font-weight: 700; line-height: 1.1; }
.lp-stats span { font-size: 13px; opacity: .85; }
.lp-wave { position: absolute !important; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg); }

/* ---- the floating 3D card ------------------------------------------------ */
.lp-stage { position: relative; perspective: 1100px; padding: 30px 10px 40px; }
.lp-float { position: relative; transform-style: preserve-3d; animation: lp-float 6s ease-in-out infinite; }
@keyframes lp-float { 0%, 100% { transform: translateY(0) rotateZ(-.6deg); } 50% { transform: translateY(-16px) rotateZ(.6deg); } }
.lp-card3d {
  --rx: 6deg; --ry: -14deg;
  position: relative; max-width: 470px; margin-left: auto; padding: 16px; border-radius: 16px; color: #202020;
  background: linear-gradient(160deg, #ffffff, #f6f8fb); transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease-out);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 30px 60px -20px rgba(20, 10, 40, .6), 0 12px 24px -12px rgba(0, 0, 0, .35);
}
.lp-stage.is-hover .lp-card3d { transition: transform .12s linear; }
.lp-c-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .7), transparent 60%); mix-blend-mode: soft-light; }
.lp-c-head { display: flex; align-items: center; gap: 10px; transform: translateZ(20px); }
.lp-c-head img { border-radius: 6px; }
.lp-c-head b { display: block; font-size: 14px; color: #303030; }
.lp-c-head small { font-size: 11.5px; color: #8a8a8a; }
.lp-c-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; color: #fff; background: #3591cc; }
.lp-c-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: lp-blink 1.4s infinite; }
.lp-c-key { margin-top: 12px; padding: 8px 10px; border-radius: 8px; background: #f1f1f1; font: 400 13px var(--f-code); color: #8a8a8a; transform: translateZ(26px); }
.lp-c-key i { color: #3591cc; margin-right: 6px; font-size: 11px; }
.lp-c-key b { color: #202020; }
.lp-c-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; margin-top: 12px; transform-style: preserve-3d; }
.lp-c-ctx { position: relative; height: 176px; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); transform: translateZ(36px); }
.lp-c-ctx img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lp-c-mark { position: absolute; left: 8%; top: 1%; width: 84%; height: 12%; border: 2px solid #3591cc; border-radius: 4px; box-shadow: 0 0 0 999px rgba(0, 0, 0, .22); animation: lp-mark 2.4s ease-in-out infinite; }
@keyframes lp-mark { 50% { box-shadow: 0 0 0 999px rgba(0, 0, 0, .1), 0 0 14px #3591cc; } }
.lp-c-main { display: flex; flex-direction: column; gap: 8px; transform-style: preserve-3d; }
.lp-c-src { padding: 8px 10px; border-radius: 8px; background: #f1f1f1; transform: translateZ(24px); }
.lp-c-src small, .lp-c-out small { display: block; font-size: 11px; color: #8a8a8a; letter-spacing: .3px; }
.lp-c-src span { font-size: 16px; font-weight: 600; color: #555; }
.lp-c-flow { display: flex; align-items: center; justify-content: center; gap: 8px; height: 14px; color: #3591cc; font-size: 11px; }
.lp-c-dots { display: inline-flex; gap: 3px; }
.lp-c-dots i { width: 4px; height: 4px; border-radius: 50%; background: #3591cc; animation: lp-dot 1s infinite; }
.lp-c-dots i:nth-child(2) { animation-delay: .15s; } .lp-c-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lp-dot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.lp-card3d.is-done .lp-c-dots { visibility: hidden; }
.lp-c-out { padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 2px #3591cc, 0 12px 22px -10px rgba(53, 145, 204, .6); transform: translateZ(60px); transition: box-shadow .3s; }
.lp-card3d.is-done .lp-c-out { box-shadow: 0 0 0 2px #2e9d5b, 0 12px 22px -10px rgba(46, 157, 91, .55); }
.lp-c-lang { display: inline-block; padding: 1px 7px; margin-right: 4px; border-radius: 10px; font-weight: 700; color: #fff; background: #3591cc; }
.lp-c-text { display: flex; align-items: center; min-height: 30px; font-size: 22px; font-weight: 700; color: #202020; }
.lp-caret { display: inline-block; width: 2px; height: 22px; margin-left: 2px; background: #3591cc; animation: lp-blink 1s steps(1) infinite; }
.lp-card3d.is-done .lp-caret { opacity: 0; animation: none; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-c-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #8a8a8a; transform: translateZ(30px); }
.lp-c-stars { display: inline-flex; gap: 1px; color: #d8d8d8; }
.lp-c-stars i.on { color: #f5a623; animation: lp-pop .3s var(--ease-out); }
.lp-c-votes b { color: #303030; }
.lp-c-status { margin-left: auto; padding: 2px 9px; border-radius: 20px; font-weight: 600; background: #fff3dc; color: #c27c0e; transition: background .3s, color .3s; }
.lp-c-status.is-ok { background: #e1f4e8; color: #2e9d5b; animation: lp-pop .35s var(--ease-out); }
@keyframes lp-pop { 0% { transform: scale(.6); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.lp-c-langs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #ececec; transform: translateZ(18px); }
.lp-c-langs span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; color: #9a9a9a; background: #f1f1f1; transition: background .3s, color .3s; }
.lp-c-langs span.is-now { color: #fff; background: #3591cc; }
.lp-c-langs span.is-done { color: #2e9d5b; background: #e1f4e8; }
.lp-c-langs span.is-done::before { content: '\f00c'; font: 900 9px/1 'Font Awesome 6 Free'; }

.lp-chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 600; color: #303030; background: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); animation: lp-chip 5s ease-in-out infinite; }
.lp-chip i { color: #3591cc; }
.lp-chip.is-a { left: 0; top: 20%; transform: translateZ(100px); z-index: 2; }
.lp-chip.is-b { right: 0; top: 2%; animation-delay: -1.6s; transform: translateZ(110px); z-index: 2; }
.lp-chip.is-b i { color: #f5a623; }
.lp-chip.is-c { left: 4%; bottom: -2%; animation-delay: -3.2s; transform: translateZ(100px); z-index: 2; }
@keyframes lp-chip { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.lp-shadow { width: 70%; height: 26px; margin: 6px 0 0 auto; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 5, 25, .45), transparent); animation: lp-shadow 6s ease-in-out infinite; }
@keyframes lp-shadow { 50% { transform: scale(.88); opacity: .7; } }

@media (prefers-reduced-motion: reduce) {
  .lp-float, .lp-chip, .lp-shadow, .lp-glyphs span, .lp-c-dots i, .lp-c-mark { animation: none; }
}

/* ==========================================================================
   Sections below the hero — same care as the hero: depth, gradients, motion
   that never moves the text the pointer is on.
   ========================================================================== */
.lp { --sky: linear-gradient(160deg, #0b3d7a 0%, #1668b0 34%, #3591cc 58%, #8fb7c9 74%, #f0b25e 90%, #e8843a 100%); }
.lp-sec { position: relative; padding: clamp(56px, 7vw, 92px) 0 0; }
.lp-head { max-width: 640px; margin: 0 auto 34px; text-align: center; }
.lp-head.is-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; margin-bottom: 26px; }
.lp-head h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 700; line-height: 1.15; color: var(--head); letter-spacing: -.2px; }
.lp-head p { margin: 12px 0 0; font-size: 16px; color: var(--ink-3); }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #1668b0; background: linear-gradient(90deg, rgba(53, 145, 204, .14), rgba(240, 178, 94, .18)); }
.lp-eyebrow.is-light { color: #fff; background: rgba(255, 255, 255, .16); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: #2e9d5b; box-shadow: 0 0 0 0 rgba(46, 157, 91, .5); animation: lp-live 2s infinite; }
@keyframes lp-live { 70% { box-shadow: 0 0 0 8px rgba(46, 157, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 157, 91, 0); } }
.lp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--acc); white-space: nowrap; }
.lp-link i { transition: transform .25s var(--ease-out); }
.lp-link:hover i { transform: translateX(4px); }

/* why */
.lp-why { padding-top: clamp(40px, 5vw, 64px); }
.lp-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-why-card { position: relative; padding: 26px 22px 24px; border-radius: 18px; background: var(--s1); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px -12px rgba(22, 60, 110, .25); overflow: hidden; isolation: isolate; transition: box-shadow .3s var(--ease-out); }
.lp-why-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 70% at 0% 0%, rgba(var(--ac), .13), transparent 60%); }
.lp-why-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: linear-gradient(140deg, rgba(var(--ac), .7), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.lp-why-card:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 40px -14px rgba(var(--ac), .45); }
.lp-why-card:hover::after { opacity: 1; }
.lp-why-ic { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; font-size: 22px; color: #fff; background: linear-gradient(140deg, rgb(var(--ac)), rgba(var(--ac), .65)); box-shadow: 0 10px 20px -8px rgba(var(--ac), .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.lp-why-card b { display: block; margin-top: 18px; font-size: 17px; font-weight: 700; color: var(--head); }
.lp-why-card p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* latest translations */
.lp-latest { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lp-latest-i { position: relative; display: flex; flex-direction: column; min-height: 150px; padding: 16px; border-radius: 16px; background: var(--s1); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px -14px rgba(22, 60, 110, .3); overflow: hidden; transition: box-shadow .3s var(--ease-out); }
.lp-latest-i::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, rgb(var(--ac, 53, 145, 204)), rgba(var(--ac, 53, 145, 204), .15)); }
.lp-latest-i:nth-child(5n+2) { --ac: 236, 72, 153; } .lp-latest-i:nth-child(5n+3) { --ac: 234, 108, 18; } .lp-latest-i:nth-child(5n+4) { --ac: 139, 92, 246; } .lp-latest-i:nth-child(5n) { --ac: 16, 160, 110; }
a.lp-latest-i:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 16px 34px -14px rgba(var(--ac, 53, 145, 204), .5); }
.lp-latest-i b { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--head); word-break: break-word; }
.lp-latest-i code { margin-top: 8px; padding: 0; background: none; border: 0; font-size: 11.5px; color: var(--ink-3); word-break: break-all; }
.lp-latest-i .lp-by { margin-top: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.lp-latest-i .lp-by span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 700; color: #fff; background: linear-gradient(140deg, rgb(var(--ac, 53, 145, 204)), rgba(var(--ac, 53, 145, 204), .6)); }
.lp-latest-i .lp-by em { font-style: normal; font-weight: 600; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-latest-i.is-sk { background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1)) 0 0 / 200% 100%; animation: lp-sk 1.2s linear infinite; }
.lp-latest-i.is-sk::before { display: none; }
@keyframes lp-sk { to { background-position: -200% 0; } }

/* how it works: a timeline */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: none; }
.lp-steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 31px; height: 3px; border-radius: 3px; background: var(--sat-grad, linear-gradient(90deg, #1668b0, #3591cc, #f0b25e, #e8843a)); opacity: .55; }
.lp-steps li { position: relative; text-align: center; padding: 0 8px; }
.lp-step-n { position: relative; z-index: 1; width: 64px; height: 64px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 22px; color: #1668b0; background: var(--s1); box-shadow: 0 0 0 6px var(--bg), 0 10px 24px -8px rgba(22, 60, 110, .45); }
.lp-steps li:nth-child(2) .lp-step-n { color: #3591cc; } .lp-steps li:nth-child(3) .lp-step-n { color: #d98a2b; } .lp-steps li:nth-child(4) .lp-step-n { color: #e8843a; }
.lp-steps small { display: block; margin-top: 16px; font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink-4); }
.lp-steps b { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; color: var(--head); }
.lp-steps p { margin: 6px auto 0; max-width: 26ch; font-size: 14px; line-height: 1.55; color: var(--ink-3); }

/* languages carousel */
.lp-car-nav { display: flex; gap: 8px; }
.lp-car-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--s1); color: var(--ink-2); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 6px 16px -8px rgba(22, 60, 110, .4); transition: background .2s, color .2s; }
.lp-car-btn:hover { background: var(--acc); color: #fff; }
.lp-car { position: relative; overflow: hidden; cursor: grab; padding: 12px 0 26px; margin: 0 -6px; touch-action: pan-y; outline: none;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%); }
.lp-car:focus-visible { box-shadow: 0 0 0 2px var(--acc); border-radius: 18px; }
.lp-car.is-drag { cursor: grabbing; }
.lp-car-track { display: flex; gap: 14px; width: max-content; padding: 0 6px; will-change: transform; }
.lp-car-i { --ac: 53, 145, 204; position: relative; flex: none; width: 190px; height: 140px; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--s1); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 26px -14px rgba(22, 60, 110, .35); user-select: none; -webkit-user-drag: none; transition: box-shadow .3s var(--ease-out); }
.lp-car-i::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(150deg, rgba(var(--ac), .2), transparent 62%); }
.lp-car-i::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, rgb(var(--ac)), rgba(var(--ac), 0)); }
.lp-car-i:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 34px -14px rgba(var(--ac), .55); }
.lp-car-i em { position: absolute; left: 16px; top: 16px; padding: 3px 8px; border-radius: 8px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: rgb(var(--ac)); background: rgba(var(--ac), .14); }
.lp-car-i b { font-size: 19px; font-weight: 700; line-height: 1.2; color: var(--head); font-family: 'Open Sans', 'Noto Sans JP', sans-serif; }
.lp-car-i small { margin-top: 2px; font-size: 13px; color: var(--ink-3); }

/* bento */
.lp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 16px; }
.lp-tile { position: relative; padding: 22px; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--s1); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 30px -14px rgba(22, 60, 110, .28); transition: box-shadow .3s var(--ease-out); }
.lp-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(110% 80% at 100% 0%, rgba(var(--ac), .14), transparent 60%); }
.lp-tile:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 40px -16px rgba(var(--ac), .5); }
.lp-tile.is-big { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.lp-tile.is-wide { grid-column: span 2; }
.lp-tile-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 19px; color: #fff; background: linear-gradient(140deg, rgb(var(--ac)), rgba(var(--ac), .65)); box-shadow: 0 8px 18px -8px rgba(var(--ac), .7); }
.lp-tile b { display: block; margin-top: 16px; font-size: 17px; font-weight: 700; color: var(--head); }
.lp-tile.is-big b { font-size: 22px; }
.lp-tile p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.lp-tile p a { color: rgb(var(--ac)); font-weight: 700; white-space: nowrap; }
.lp-vote { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--bg); }
.lp-vote-row { display: grid; grid-template-columns: 30px 96px minmax(0, 1fr) 30px; align-items: center; gap: 10px; font-size: 14px; }
.lp-vote-row em { font-style: normal; font-size: 11px; font-weight: 700; text-align: center; padding: 3px 0; border-radius: 6px; color: #1668b0; background: rgba(53, 145, 204, .14); }
.lp-vote-row span { font-weight: 600; color: var(--head); }
.lp-vote-row b { margin: 0; font-size: 13px; text-align: right; color: var(--ink-2); }
.lp-bar { height: 8px; border-radius: 8px; background: var(--s3); position: relative; overflow: hidden; }
.lp-bar::after { content: ''; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #3591cc, #f0b25e); transform-origin: left; animation: lp-grow 1.6s var(--ease-out) both; }
.lp-tile.is-big:hover .lp-bar::after { animation: lp-grow 1.2s var(--ease-out); }
@keyframes lp-grow { from { transform: scaleX(0); } }
.lp-vote-stars { display: flex; align-items: center; gap: 2px; color: #f5a623; font-size: 14px; }
.lp-vote-stars span { margin-left: 8px; font-size: 12.5px; color: var(--ink-3); }

/* CTA band: the sky of the hero */
.lp-band { position: relative; margin-top: clamp(56px, 7vw, 92px); padding: 64px 0; color: #fff; background: var(--sky); overflow: hidden; }
.lp-band::before { content: 'あ  A  文  ñ  Ж  한'; position: absolute; right: 4%; top: 50%; transform: translateY(-50%); font-size: 110px; font-weight: 700; letter-spacing: 30px; white-space: nowrap; color: #fff; opacity: .07; pointer-events: none; }
.lp-band-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.lp-band h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 700; }
.lp-band p { margin: 8px 0 0; font-size: 16px; opacity: .9; }
.lp-band-a { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-btn-white { background: #fff !important; color: #1668b0 !important; }
.lp-btn-white:hover { background: #eef6fc !important; }

/* contact: two panels */
.lp-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); border-radius: 22px; overflow: hidden; background: var(--s1); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 60px -24px rgba(22, 60, 110, .4); }
.lp-contact-side { position: relative; padding: 38px 34px; color: #fff; background: var(--sky); overflow: hidden; }
.lp-contact-side::after { content: '@'; position: absolute; right: -20px; bottom: -60px; font-size: 260px; font-weight: 700; line-height: 1; color: #fff; opacity: .08; }
.lp-contact-side h2 { margin-top: 14px; color: #fff; font-size: 30px; font-weight: 700; }
.lp-contact-side > p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; opacity: .92; }
.lp-contact-side ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.lp-contact-side li { display: flex; align-items: center; gap: 14px; }
.lp-contact-side li > span { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .16); font-size: 16px; }
.lp-contact-side small { display: block; font-size: 12px; opacity: .8; }
.lp-contact-side a, .lp-contact-side b { font-size: 14.5px; font-weight: 600; color: #fff; word-break: break-all; }
.lp-contact-side a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-form { padding: 34px; display: grid; gap: 16px; align-content: start; }
.lp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* floating labels */
.lp-fl { position: relative; }
.lp-fl > i { position: absolute; left: 16px; top: 22px; transform: translateY(-50%); font-size: 14px; color: var(--ink-4); transition: color .2s; pointer-events: none; }
.lp-fl input, .lp-fl textarea { height: 56px; min-height: 56px; padding: 22px 16px 8px 44px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg); font-size: 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.lp-fl textarea { height: auto; min-height: 150px; padding-top: 26px; resize: vertical; }
.lp-fl label { position: absolute; left: 44px; top: 18px; font-size: 15px; color: var(--ink-3); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease-out), color .2s; }
.lp-fl input:focus, .lp-fl textarea:focus { background: var(--s1); border-color: var(--acc); box-shadow: 0 0 0 4px rgba(53, 145, 204, .15); }
.lp-fl input:focus + label, .lp-fl input:not(:placeholder-shown) + label,
.lp-fl textarea:focus + label, .lp-fl textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--acc); }
.lp-fl:focus-within > i { color: var(--acc); }
.lp-fl .is-invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 4px rgba(217, 56, 56, .12) !important; }
.lp-count { position: absolute; right: 14px; bottom: 10px; font-size: 11.5px; color: var(--ink-4); }
.lp-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lp-form-foot p { margin: 0; font-size: 12.5px; color: var(--ink-3); }
.lp-form-foot p i { margin-right: 4px; }
.lp-form .contact-btn { min-width: 190px; border-radius: 12px; background: linear-gradient(120deg, #1668b0, #3591cc 60%, #4fa6d8); box-shadow: 0 10px 22px -10px rgba(22, 104, 176, .8); }
.lp-form .contact-btn:hover { background: linear-gradient(120deg, #135c9c, #2e85bd 60%, #449bcd); }
.lp-form .btn-text, .lp-form .btn-loading:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; }

@media (min-width: 881px) { .lp-burger { display: none !important; } }
@media (max-width: 980px) { .lp-hero-grid { grid-template-columns: minmax(0, 1fr); } .lp-card3d { margin: 0 auto; } .lp-shadow { margin: 6px auto 0; } }
@media (max-width: 880px) {
  .lp-top-nav { display: none; }
  .lp-burger { display: inline-grid; }
  .lp-hero .sx-sheet { top: var(--hdr-h); color: var(--ink); }
}
@media (max-width: 1080px) {
  .lp-why-grid { grid-template-columns: 1fr 1fr; }
  .lp-latest { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-contact { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .lp-steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .lp-steps::before { display: none; }
}
@media (max-width: 640px) {
  .lp-head.is-row { flex-direction: column; align-items: flex-start; }
  .lp-why-grid, .lp-bento, .lp-form-row { grid-template-columns: minmax(0, 1fr); }
  .lp-tile.is-big, .lp-tile.is-wide { grid-column: auto; grid-row: auto; }
  .lp-latest { grid-template-columns: 1fr 1fr; }
  .lp-vote-row { grid-template-columns: 30px 80px minmax(0, 1fr) 26px; }
  .lp-c-body { grid-template-columns: 84px minmax(0, 1fr); }
  .lp-c-ctx { height: 140px; }
  .lp-chip.is-b { right: 2%; }
  .lp-stats b { font-size: 22px; }
  .lp-form, .lp-contact-side { padding: 26px 20px; }
  .lp-car-i { width: 160px; height: 124px; }
}

.lp-hero .sx-btn.is-acc { background: #fff; color: #1668b0; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .35); } .lp-hero .sx-btn.is-acc:hover { background: #eef6fc; }
.lp-hero > .sx-sheet { position: fixed; }
.lp-tile.is-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
.lp-api { margin: 0; padding: 18px 20px; border-radius: 14px; background: #0d1b2e; color: #c9d6e6; font: 400 13px/1.75 var(--f-code); overflow-x: auto; white-space: pre; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.lp-api .m { color: #7ee0a1; font-weight: 600; } .lp-api .s { color: #8cc8ef; } .lp-api .k { color: #7a8aa0; } .lp-api .n { color: #f0b25e; }
@media (max-width: 1080px) { .lp-tile.is-wide { grid-template-columns: minmax(0, 1fr); } }
.lp-fl:not(.is-area) > i { top: 28px; }

/* the animated card must never move the page: fixed stage, fixed rows */
.lp-stage { height: 470px; display: flex; flex-direction: column; justify-content: center; }
.lp-c-text { height: 34px; line-height: 34px; white-space: nowrap; overflow: hidden; }
.lp-c-out small { height: 18px; line-height: 18px; white-space: nowrap; overflow: hidden; }
.lp-c-meta { height: 24px; white-space: nowrap; }
.lp-c-status { min-width: 92px; text-align: center; }
.lp-c-langs { height: 38px; flex-wrap: nowrap; overflow: hidden; }
.lp-c-langs span { flex: none; }
.lp-c-src span { display: block; height: 24px; line-height: 24px; }
@media (max-width: 980px) { .lp-stage { height: 440px; } }
@media (max-width: 640px) { .lp-stage { height: 420px; } }

/* hero navigation: soft pills, no underline */
.lp-top-nav a { padding: 7px 12px; border-radius: 20px; opacity: 1; color: rgba(255, 255, 255, .9); transition: background .2s, color .2s; }
.lp-top-nav a:hover { text-decoration: none; background: rgba(255, 255, 255, .16); color: #fff; }
.lp-top-nav a#btnNavRegister { margin-left: 4px; background: #fff; color: #1668b0; font-weight: 600; }
.lp-top-nav a#btnNavRegister:hover { background: #eef6fc; }

/* contact: one clean card */
.lp-mail { max-width: 880px; margin: 0 auto; border-radius: 22px; background: var(--s1); overflow: hidden; position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 22px 50px -26px rgba(22, 60, 110, .4); }
.lp-mail::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1668b0, #3591cc 40%, #f0b25e 75%, #e8843a); }
.lp-mail-info { list-style: none; margin: 0; padding: 22px 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; background: linear-gradient(180deg, #f4f9fd, var(--s1)); border-bottom: 1px solid var(--line); }
:root[data-theme="dark"] .lp-mail-info { background: var(--s2); }
.lp-mail-info li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lp-mail-info li > span { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #1668b0; background: rgba(53, 145, 204, .13); font-size: 15px; }
.lp-mail-info li:nth-child(2) > span { color: #c2410c; background: rgba(240, 160, 75, .18); }
.lp-mail-info li:nth-child(3) > span { color: #0f8a5f; background: rgba(16, 160, 110, .14); }
.lp-mail-info small { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-3); }
.lp-mail-info a, .lp-mail-info b { display: block; font-size: 14px; font-weight: 600; color: var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-mail-info a:hover { color: var(--acc); }
.lp-mail-form { padding: 26px 28px 28px; display: grid; gap: 18px; }
.lp-mail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lp-mf { display: grid; gap: 8px; }
.lp-mf > span:first-child { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.lp-mf > span:first-child em { font-style: normal; font-weight: 400; font-size: 12px; color: var(--ink-4); }
.lp-mf-in { position: relative; display: block; }
.lp-mf-in > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink-4); pointer-events: none; transition: color .2s; }
.lp-mf-in input { height: 50px; padding: 0 16px 0 42px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--s1); font-size: 15px; }
.lp-mf-in textarea { min-height: 150px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--s1); font-size: 15px; line-height: 1.55; resize: vertical; }
.lp-mf-in input:hover, .lp-mf-in textarea:hover { border-color: var(--line-3); }
.lp-mf-in input:focus, .lp-mf-in textarea:focus { border-color: #3591cc; box-shadow: 0 0 0 4px rgba(53, 145, 204, .16); }
.lp-mf-in:focus-within > i { color: #3591cc; }
.lp-mail-form .is-invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 4px rgba(217, 56, 56, .12) !important; }
.lp-mail-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 4px; }
.lp-mail-foot p { margin: 0; font-size: 13px; color: var(--ink-3); }
.lp-mail-foot p i { color: #2e9d5b; margin-right: 5px; }
.lp-mail-form .contact-btn { min-width: 200px; border-radius: 12px; background: linear-gradient(120deg, #1668b0, #3591cc); box-shadow: 0 10px 22px -10px rgba(22, 104, 176, .8); }
.lp-mail-form .contact-btn:hover { background: linear-gradient(120deg, #135c9c, #2e85bd); }
.lp-mail-form .btn-text, .lp-mail-form .btn-loading:not([hidden]) { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 760px) {
  .lp-mail-info { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; }
  .lp-mail-row { grid-template-columns: minmax(0, 1fr); }
  .lp-mail-form { padding: 20px; }
  .lp-mail-form .contact-btn { width: 100%; }
}
.lp-mail-info li > div { min-width: 0; }

/* no coloured top lines on the home boxes */
.lp-latest-i::before, .lp-car-i::after, .lp-mail::before { display: none !important; }
