@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --soft: #f7fbfe;
  --soft-blue: #eaf7ff;
  --soft-accent: #eaf7ff;
  --soft-sub: #fff7e4;
  --soft-red: #fff1f1;
  --text: #132032;
  --muted: #607083;
  --line: #d9e6ef;
  --accent: #1ea7e8;
  --accent-strong: #0879b8;
  --blue: #0e6fb4;
  --sub: #f4b740;
  --sub-strong: #a96a08;
  --red: #b4232a;
  --gold: #a96a08;
  --shadow: 0 18px 44px rgba(13, 57, 96, 0.1);
  font-family:
    "Pretendard Variable",
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 126px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select {
  font: inherit;
}

code,
.formula,
.code-value,
.success-box code {
  word-break: break-word;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.main-nav,
.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: var(--accent);
  border-radius: 7px;
}

.main-nav {
  justify-content: center;
  gap: 6px;
}

.main-nav a,
.ghost-button {
  padding: 9px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 7px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a.active,
.ghost-button:hover {
  color: var(--text);
  background: var(--soft);
}

.header-actions {
  justify-content: flex-end;
  gap: 10px;
}

.session-chip {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 14px;
}

.primary-button,
.secondary-button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.primary-button,
.primary-link {
  color: #ffffff;
  background: var(--accent);
}

.primary-button:hover,
.primary-link:hover {
  background: var(--accent-strong);
}

.secondary-button {
  color: var(--text);
  background: #ffffff;
  border-color: var(--line);
}

.secondary-button:hover {
  border-color: #aebbb4;
  background: var(--soft);
}

.primary-button.small {
  min-height: 38px;
  padding: 0 14px;
}

.full {
  width: 100%;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 100px;
  padding: 12px 18px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.footer-business,
.footer-links {
  width: min(1180px, 100%);
  display: flex;
  justify-content: center;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.footer-business {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer-business b {
  color: var(--text);
  font-weight: 780;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

.view {
  min-height: calc(100vh - 72px);
}

.hero {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 74px 0 46px;
  text-align: center;
}

.hero-copy {
  display: grid;
  justify-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.16;
  font-weight: 820;
  max-width: 780px;
  text-wrap: balance;
}

.section-heading h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 820;
  max-width: 820px;
  text-wrap: balance;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
  font-weight: 450;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.section-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 58px 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 430;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fcff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.compare-pane {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 390px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pdf-pane {
  background: #fffbf0;
}

.hwpx-pane {
  background: #f7fbff;
}

.pane-label {
  justify-self: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.hwpx-pane .pane-label {
  justify-self: center;
}

.paper-shot {
  width: 100%;
  min-height: 300px;
  padding: 24px;
  border: 1px solid #d9e6ef;
  border-radius: 7px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(21, 32, 27, 0.1);
}

.paper-shot.has-photo {
  padding: 0;
  overflow: hidden;
  display: block;
  background: #ffffff;
}

.compare-photo {
  display: block;
  width: 100%;
  min-height: 300px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.paper-shot h3 {
  margin: 0 0 20px;
}

.formula {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--soft-sub);
  color: #4d3510;
  font-family: "Cambria Math", "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.45;
  text-align: left;
}

.paper-shot.clean .formula {
  background: var(--soft-blue);
  color: #0b4b72;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 17px;
}

.scribble {
  color: var(--muted);
  font-size: 14px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bento-item {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.bento-item h3 {
  margin: 24px 0 12px;
  font-size: 26px;
  line-height: 1.28;
  font-weight: 800;
}

.bento-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 340px;
  padding: 26px 24px 28px;
  text-align: center;
}

.feature-security {
  background: #eef7ff;
}

.feature-license {
  background: #fff9ea;
}

.hardware-shell {
  padding-top: 22px;
}

.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hardware-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: left;
}

.hardware-card-highlight {
  background: #f7fbff;
  border-color: #b8ddf6;
}

.hardware-card h3 {
  margin: 4px 0 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 820;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.spec-list span {
  color: var(--muted);
  font-size: 14px;
}

.spec-list b {
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  text-align: right;
}

.hardware-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-badge {
  align-self: center;
  min-width: 132px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.license-pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 42px;
}

.license-card {
  max-width: 720px;
  margin: 0 auto;
}

.token-heading {
  margin-top: 8px;
}

.ai-notice {
  max-width: 860px;
  margin: 0 auto 20px;
  padding: 16px 18px;
  border: 1px solid #bde6f8;
  border-radius: 8px;
  background: var(--soft-blue);
  text-align: left;
}

.ai-notice b {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 15px;
}

.ai-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.token-grid .price-card {
  display: grid;
  align-content: start;
}

.token-explainer {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.token-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.token-explainer-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  text-align: left;
}

.token-explainer-highlight {
  background: #f6fbff;
  border-color: #b8ddf6;
}

.token-explainer-card .feature-badge {
  align-self: start;
}

.token-explainer-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 820;
}

.token-explainer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.token-usage-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.token-usage-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.token-usage-list span {
  color: var(--muted);
  font-size: 14px;
}

.token-usage-list b {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  text-align: right;
}

.token-summary {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #d8e8f4;
  border-radius: 8px;
  background: #f8fbfd;
}

.token-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.no-token-card {
  background: var(--soft);
}

.price-card,
.release-card,
.auth-panel,
.result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.price-card {
  padding: 24px;
  text-align: center;
}

.price-card.highlighted {
  border-color: #97d9f5;
  background: #f6fcff;
}

.plan-badge {
  display: inline-flex;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent);
  font-weight: 760;
  font-size: 13px;
}

.price-card h2 {
  margin: 18px 0 10px;
  font-size: 30px;
  font-weight: 820;
}

.price-card p {
  min-height: 104px;
  color: var(--muted);
  line-height: 1.6;
}

.payment-consent {
  display: grid;
  gap: 8px;
  margin: 18px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.payment-consent p {
  min-height: 0;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.payment-consent label,
.consent-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.payment-consent input,
.consent-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.payment-consent a,
.consent-check a {
  color: var(--accent-strong);
  font-weight: 780;
}

.quality-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font-weight: 720;
}

.progress {
  height: 10px;
  overflow: hidden;
  margin: 10px 0 22px;
  background: #e9eeeb;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--accent), var(--sub));
}

.calculator {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.calculator label {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.calculator label span {
  font-weight: 800;
}

.calculator input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calculator select,
.auth-forms input,
.admin-layout input,
.admin-layout select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
}

.estimate-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  color: #ffffff;
  background: #0b4b72;
  border-radius: 8px;
  text-align: center;
}

.estimate-card strong {
  font-size: 32px;
}

.estimate-card p {
  margin: 0;
  color: #d8f0fc;
}

.auth-view {
  display: grid;
  place-items: center;
  padding: 44px 22px;
}

.auth-panel {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  padding: 30px;
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.auth-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.auth-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-forms form,
.mini-panel,
.table-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.auth-forms h2 {
  margin: 0 0 4px;
}

.dashboard-grid,
.admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-panel,
.table-panel {
  background: #ffffff;
}

.mini-panel h2,
.table-panel h2 {
  margin: 0;
}

.metric-row,
.license-row,
.device-row,
.release-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.metric-row:last-child,
.license-row:last-child,
.device-row:last-child,
.release-meta:last-child {
  border-bottom: 0;
}

.status-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--soft-accent);
  font-size: 13px;
  font-weight: 850;
}

.muted {
  color: var(--muted);
}

.code-value,
.success-box code {
  display: block;
  overflow-wrap: anywhere;
  padding: 12px;
  border-radius: 7px;
  background: #f0f4f2;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.license-key-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-align: left;
}

.license-key-box span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.license-key-box code {
  overflow-wrap: anywhere;
  padding: 10px;
  border-radius: 7px;
  background: #ffffff;
  color: var(--text);
  font-family: Consolas, "SFMono-Regular", monospace;
  user-select: all;
}

.license-key-box.unavailable {
  grid-template-columns: 1fr;
}

.release-card {
  display: grid;
  gap: 18px;
  max-width: 760px;
  padding: 26px;
}

.legal-page {
  max-width: 960px;
}

.legal-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  text-align: left;
}

.legal-title {
  display: grid;
  gap: 10px;
  text-align: center;
}

.legal-title h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
}

.legal-title p:not(.eyebrow),
.legal-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.legal-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legal-meta dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.legal-meta dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.policy-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.policy-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.policy-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-note {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft-sub);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
}

.faq-grid h2 {
  margin-top: 0;
}

.faq-grid p,
.faq-grid li {
  color: var(--muted);
  line-height: 1.7;
}

.faq-grid ol {
  display: inline-block;
  padding-left: 22px;
  text-align: left;
}

.admin-layout {
  grid-template-columns: 1fr;
}

.admin-console {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  text-align: left;
}

.admin-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.admin-tab {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.admin-tab:hover,
.admin-tab.active {
  color: var(--text);
  background: var(--soft-blue);
  border-color: var(--line);
}

.admin-main {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-toolbar input {
  width: min(420px, 100%);
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: grid;
  gap: 14px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-metrics article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.admin-metrics b {
  font-size: 24px;
}

.admin-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-device {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 240px;
  padding: 4px 0;
}

.tiny {
  min-height: 30px;
  padding: 0 9px;
  font-size: 12px;
}

.inline-check {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}

.table-panel {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-weight: 760;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100% - 36px));
  padding: 14px 16px;
  color: #ffffff;
  background: #0b4b72;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.js-enabled .reveal-up {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
  will-change: opacity, transform;
}

.js-enabled .reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-enabled .reveal-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.plain-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
}

.result-panel {
  width: min(700px, 100%);
  padding: 30px;
}

.result-panel h1 {
  margin-top: 0;
}

.success-box {
  display: grid;
  gap: 8px;
  margin: 20px 0;
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 18px;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .auth-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .pricing-grid,
  .calculator,
  .dashboard-grid,
  .comparison,
  .hardware-grid,
  .token-explainer-grid,
  .admin-console,
  .admin-metrics,
  .admin-split,
  .legal-meta,
  .faq-grid,
  .auth-forms {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-toolbar {
    display: grid;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    min-height: 300px;
  }

  .hardware-card {
    min-height: 300px;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 188px;
  }

  .site-footer {
    gap: 10px;
    padding: 10px 14px;
  }

  .footer-business,
  .footer-links {
    justify-content: flex-start;
  }

  .hero-copy h1,
  .section-heading h1 {
    font-size: 32px;
  }

  .section-shell,
  .hero {
    width: min(100% - 28px, 1180px);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 260px;
  }

  .hardware-card {
    min-height: 0;
  }

  .spec-list li {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .spec-list b {
    text-align: left;
  }

  .compare-pane {
    padding: 20px;
  }

  .paper-shot {
    padding: 20px;
  }
}
