/* TermAura certificates */
@font-face { font-family: "TAName"; src: url("../assets/fonts/ta-name.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "TADate"; src: url("../assets/fonts/ta-date.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "TAId"; src: url("../assets/fonts/ta-id.woff") format("woff"); font-weight: 400; font-display: swap; }
html.js .r { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) calc(var(--d, 0) * 110ms), transform .8s var(--ease) calc(var(--d, 0) * 110ms); } html.js .r.in { opacity: 1; transform: none; }
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 700; }
.lead { margin-top: 16px; max-width: 32em; color: var(--mute); font-size: 1.0625rem; line-height: 1.65; }
.chero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: calc(var(--nav-h) + 72px) 10px; }
.panel { display: grid; gap: 20px; padding: 22px; border-radius: 20px; }
.who-card label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.who-card form { display: flex; gap: 10px; } .who-card input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; background: #03090B; border: 1px solid var(--line-2); outline: 0; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.who-card input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(45, 245, 184, .14); } .who-card .btn { height: 52px; padding: 0 24px; }
.hint { margin-top: 10px; font-size: .8125rem; color: var(--dim); min-height: 20px; } .hint.bad { color: var(--err); } .hint.good { color: var(--mint); }
.prog-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; padding: 16px 18px; border-radius: 18px; background: radial-gradient(220px 120px at 10% 40%, rgba(255, 120, 20, .2), transparent 70%), var(--panel-2); border: 1px solid var(--line); }
.pf .fire { width: 56px; height: 74px; } .pc-txt { display: grid; gap: 2px; } .pc-txt small { color: var(--mute); font-size: .8125rem; } .pc-txt strong { font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; }
.pc-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 8px; } .pc-bar .bar-track { flex: 1; height: 8px; background: var(--raised); border-radius: 99px; overflow: hidden; } .pc-bar .bar-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #12C9C4, #2DF5B8); transition: width 1s var(--ease); }
.sec { padding-block: clamp(40px, 6vw, 72px); } .sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); } .sec-head .btn { height: 40px; padding: 0 18px; font-size: .875rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, rgba(14, 32, 36, .8), rgba(6, 16, 19, .85)); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.card.on { border-color: var(--line-3); box-shadow: 0 0 40px -14px rgba(45, 245, 184, .45); } .card.on:hover { transform: translateY(-5px); }
.card .th { position: relative; aspect-ratio: 560 / 396; background: #040C0E; overflow: hidden; } .card .th img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; } .card.on:hover .th img { transform: scale(1.04); }
.card.lock .th img { filter: grayscale(1) brightness(.5) blur(1.5px); }
.card .lk { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; font-size: .82rem; color: #D5E5E2; } .card .lk svg { width: 30px; height: 30px; color: var(--mute); }
.card .bd { display: grid; gap: 4px; padding: 16px 18px 18px; } .card h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .card h3 em { font-style: normal; font-family: var(--mono); font-size: .8rem; color: var(--mint); }
.card.lock h3 em { color: var(--dim); } .card .meta { font-size: .82rem; color: var(--mute); }
.card .act { display: flex; gap: 8px; margin-top: 12px; } .card .act .btn { flex: 1; height: 40px; font-size: .85rem; padding: 0 10px; } .card .act .btn svg { width: 16px; height: 16px; }
.card .done { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 99px; font-size: .75rem; font-weight: 600; background: rgba(2, 7, 10, .85); border: 1px solid var(--line-3); color: var(--mint); backdrop-filter: blur(6px); } .card .done svg { width: 13px; height: 13px; }
.sample { display: grid; gap: 18px; justify-items: center; } .stage-c { position: relative; width: min(1000px, 100%); border-radius: 20px; overflow: hidden; padding: 0; } .stage-c canvas { display: block; width: 100%; height: auto; aspect-ratio: 1754 / 1240; background: #061013; }
.spin { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(2, 7, 10, .6); } .spin::after { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--mint); animation: rot .8s linear infinite; } @keyframes rot { to { transform: rotate(360deg); } }
.sample-ctl { display: flex; align-items: center; gap: 16px; } .sample-ctl .btn { width: 52px; height: 52px; font-size: 1.6rem; padding: 0; line-height: 1; } .sample-lbl { display: grid; text-align: center; min-width: 190px; } .sample-lbl b { font-size: 1.1rem; }
.pv { z-index: 90; overflow-y: auto; align-items: start; } .pv-card { position: relative; width: min(1100px, 100%); margin: auto; padding: 28px clamp(16px, 3vw, 32px) 28px; border-radius: 26px; background: linear-gradient(180deg, #0C1D21, #071216); border: 1px solid var(--line-3); box-shadow: 0 0 80px -10px rgba(45, 245, 184, .35), 0 40px 100px rgba(0, 0, 0, .6); animation: pop .4s var(--ease); }
.pv-card h2 { font-size: 1.4rem; margin-bottom: 18px; padding-right: 44px; } .pv-canvas canvas { display: block; width: 100%; height: auto; aspect-ratio: 1754 / 1240; border-radius: 12px; border: 1px solid var(--line-2); background: #061013; }
.pv .err { min-height: 22px; margin-top: 10px; color: var(--err); font-size: .875rem; } .pv-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) { .chero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .who-card form { flex-direction: column; } .who-card input { flex: none; width: 100%; } .pv-act .btn { flex: 1 1 100%; } .sample-lbl { min-width: 130px; } .panel { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { html.js .r { opacity: 1; transform: none; } }
