:root {
  --ink: #10140f;
  --ink-2: #1a2018;
  --paper: #f3f1ea;
  --paper-2: #e8e5db;
  --white: #fcfcf8;
  --lime: #9bd63b;
  --lime-bright: #b8ef55;
  --lime-dark: #486e12;
  --muted: #6b7167;
  --line: rgba(16, 20, 15, .14);
  --dark-line: rgba(255, 255, 255, .12);
  --danger: #a63e35;
  --shadow: 0 24px 70px rgba(19, 25, 14, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Aptos, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(155, 214, 59, .55);
  outline-offset: 3px;
}
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand img { width: 184px; display: block; }
.nav { display: flex; align-items: center; gap: 27px; font-size: .92rem; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:not(.button):hover, .nav-button:hover { color: var(--lime-dark); }
.nav-form { margin: 0; }
.nav-button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); font-weight: 600; }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:disabled { opacity: .45; cursor: not-allowed; }
.button-primary { background: var(--lime); color: var(--ink); box-shadow: 0 10px 24px rgba(110, 165, 25, .18); }
.button-primary:hover:not(:disabled) { background: var(--lime-bright); }
.button-light { background: var(--white); color: var(--ink); }
.button-ghost { background: transparent; border-color: var(--line); }
.button-ghost:hover:not(:disabled) { border-color: var(--lime-dark); }
.button-text { padding-inline: 6px; min-height: 40px; }
.button-text span { font-size: 1.3rem; }
.button-small { min-height: 40px; padding-inline: 16px; font-size: .86rem; }
.button-wide { width: 100%; }

.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: #65715c;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .7rem;
  font-weight: 700;
}
.eyebrow span { display: inline-block; width: 26px; height: 2px; margin: 0 10px 3px 0; background: var(--lime); }
.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 72px;
  align-items: center;
  min-height: 690px;
  padding-block: 74px 92px;
}
.hero h1, .page-hero h1, .auth-intro h1, .account-header h1, .center-card h1 {
  margin: 0;
  font-family: "Segoe UI", Aptos, system-ui, sans-serif;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 500;
}
.hero h1 em { color: var(--lime-dark); font-style: normal; }
.hero-lede { max-width: 650px; margin: 30px 0 32px; color: #50584e; font-size: 1.15rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 20px; }
.trust-line { margin: 26px 0 0; color: var(--muted); font-size: .76rem; }
.trust-line i { display: inline-block; width: 3px; height: 3px; margin: 0 9px 3px; border-radius: 50%; background: var(--lime-dark); }

.workflow-card { padding: 24px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); transform: rotate(1deg); }
.workflow-topline { display: flex; justify-content: space-between; margin-bottom: 18px; color: #92998e; font: 600 .65rem/1 "Segoe UI", sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.status-dot { color: var(--lime); }
.status-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.frame-preview { position: relative; overflow: hidden; height: 330px; display: flex; align-items: flex-end; padding: 30px; background: radial-gradient(circle at 70% 20%, rgba(155,214,59,.22), transparent 34%), linear-gradient(135deg, #303b2b, #151a14 70%); }
.frame-preview::before, .frame-preview::after { content: ""; position: absolute; border: 1px solid rgba(180,237,90,.4); border-radius: 50%; }
.frame-preview::before { width: 260px; height: 260px; right: -80px; top: -45px; }
.frame-preview::after { width: 150px; height: 150px; right: -25px; top: 10px; }
.frame-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 54px 54px; }
.frame-title { position: relative; font: 500 1.65rem/1.18 "Segoe UI", sans-serif; letter-spacing: -.04em; }
.play-mark { position: absolute; top: 24px; left: 24px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: .7rem; }
.workflow-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 24px 0 4px; padding: 0; }
.workflow-steps li { position: relative; color: #5f675d; border-top: 1px solid #394037; padding-top: 13px; font-size: .68rem; }
.workflow-steps li::before { content: ""; position: absolute; width: 6px; height: 6px; top: -4px; left: 0; border-radius: 50%; background: #394037; }
.workflow-steps b, .workflow-steps span { display: block; }
.workflow-steps b { margin-bottom: 4px; font-size: .55rem; }
.workflow-steps .done, .workflow-steps .active { color: var(--white); border-color: var(--lime-dark); }
.workflow-steps .done::before, .workflow-steps .active::before { background: var(--lime); }

.manifesto { padding: 104px 0 58px; border-top: 1px solid var(--line); text-align: center; }
.manifesto h2, .demo-band h2, .trial-card h2 { max-width: 890px; margin: 0 auto 30px; font: 500 clamp(2.5rem, 5vw, 4.6rem)/1.05 "Segoe UI", sans-serif; letter-spacing: -.055em; }
.manifesto > p:last-child { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-block: 60px 118px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 300px; padding: 38px; background: var(--paper); }
.feature-number { color: var(--lime-dark); font: 700 .7rem "Segoe UI", sans-serif; }
.feature-grid h3 { margin: 78px 0 16px; font: 600 1.38rem "Segoe UI", sans-serif; letter-spacing: -.03em; }
.feature-grid p { color: var(--muted); margin: 0; }
.demo-band { background: var(--lime); }
.demo-band-inner { min-height: 400px; display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.demo-band-inner > div { max-width: 800px; }
.demo-band .section-kicker { color: #3e541b; }
.demo-band h2 { margin: 0 0 18px; }
.demo-band p:last-child { max-width: 680px; margin: 0; color: #344027; }

.site-footer { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 28px; display: grid; grid-template-columns: 1fr auto; gap: 55px; color: var(--muted); font-size: .82rem; }
.site-footer img { width: 150px; filter: saturate(.8); }
.site-footer p { margin: 12px 0 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 28px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-note { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

.compact-hero { max-width: 930px; padding: 90px 0 58px; text-align: center; }
.compact-hero h1 { font-size: clamp(3rem, 7vw, 5.7rem); }
.compact-hero > p:not(.eyebrow) { max-width: 720px; margin: 26px auto; color: var(--muted); font-size: 1.08rem; }
.notice { padding: 16px 20px; margin-top: 24px; border: 1px solid #c7b77b; background: #f3ebc9; color: #5c522f; text-align: left; font-size: .88rem; }
.notice-demo { border-color: #b6ca8a; background: #e7efd7; color: #44532d; }
.success-notice { border-color: #99bf64; background: #e2efd2; }
.error-notice, .form-error { border-color: #d6a39d; background: #f3dfdc; color: #7c332b; }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding-bottom: 100px; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 720px; padding: 45px; border: 1px solid var(--line); background: var(--white); }
.plan-featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-tag { position: absolute; right: 0; top: 0; padding: 10px 16px; background: var(--lime); color: var(--ink); font: 700 .66rem "Segoe UI", sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.plan-label { margin: 0 0 30px; color: var(--lime-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.plan-featured .plan-label { color: var(--lime); }
.plan-label span { margin-left: 12px; padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); font-size: .6rem; }
.plan-heading h2 { margin: 0 0 20px; font: 500 clamp(2.2rem, 3.5vw, 3.7rem)/1.05 "Segoe UI", sans-serif; letter-spacing: -.055em; }
.plan-heading > p:last-child { color: var(--muted); }
.plan-featured .plan-heading > p:last-child { color: #a7aea3; }
.plan-features { list-style: none; margin: 34px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan-featured .plan-features { border-color: var(--dark-line); }
.plan-features li { position: relative; padding: 7px 0 7px 25px; font-size: .9rem; }
.plan-features li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 4px; border-left: 2px solid var(--lime-dark); border-bottom: 2px solid var(--lime-dark); transform: rotate(-45deg); }
.plan-featured .plan-features li::before { border-color: var(--lime); }
.checkout-form { margin-top: auto; }
.billing-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.billing-choice legend { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.billing-choice label { cursor: pointer; }
.billing-choice input { position: absolute; opacity: 0; }
.billing-choice span { display: block; padding: 11px; border: 1px solid var(--line); font-size: .78rem; }
.plan-featured .billing-choice span { border-color: var(--dark-line); }
.billing-choice b { display: block; margin-top: 3px; }
.billing-choice i { float: right; padding: 2px 6px; border-radius: 10px; background: rgba(155,214,59,.2); color: var(--lime-dark); font-size: .61rem; font-style: normal; font-weight: 700; }
.plan-featured .billing-choice i { color: var(--lime-bright); }
.billing-choice input:checked + span { border-color: var(--lime-dark); background: rgba(155,214,59,.12); }
.plan-featured .billing-choice input:checked + span { border-color: var(--lime); }
.consent { display: flex; gap: 10px; margin: 14px 0 18px; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.plan-featured .consent { color: #91998e; }
.consent input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--lime-dark); }
.trial-card { display: grid; grid-template-columns: 1.2fr .8fr auto; gap: 40px; align-items: center; margin-bottom: 110px; padding: 50px; border-top: 3px solid var(--lime); background: var(--white); box-shadow: var(--shadow); }
.trial-card h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.trial-list { display: grid; gap: 8px; color: var(--muted); font-size: .82rem; }
.trial-list span::before { content: "•"; color: var(--lime-dark); margin-right: 8px; }

.auth-shell { min-height: 740px; display: grid; grid-template-columns: 1fr 480px; gap: 100px; align-items: center; padding-block: 80px; }
.auth-intro h1 { max-width: 650px; font-size: clamp(3.1rem, 5.5vw, 5.4rem); }
.auth-intro > p:not(.eyebrow) { max-width: 600px; margin: 28px 0; color: var(--muted); font-size: 1.08rem; }
.auth-promise { max-width: 540px; margin-top: 54px; padding: 20px 0 20px 24px; border-left: 3px solid var(--lime); }
.auth-promise b, .auth-promise span { display: block; }
.auth-promise span { color: var(--muted); font-size: .84rem; }
.signup-pricing { display: grid; gap: 10px; max-width: 600px; margin: 28px 0 0; }
.signup-price-row {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(155, 214, 59, .5);
  border-left: 4px solid var(--lime);
  background: linear-gradient(135deg, var(--ink-2), #252d22);
  box-shadow: 0 12px 28px rgba(16, 20, 15, .16);
}
.signup-price-row b { color: var(--white); font-size: .92rem; }
.signup-price-row span { color: #d1d7cd; font-size: .82rem; }
.signup-price-row .signup-price-annual { color: var(--lime-bright); font-weight: 700; }
.auth-card { padding: 42px; background: var(--white); box-shadow: var(--shadow); }
.form-heading p { margin: 0; color: var(--lime-dark); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.form-heading h2 { margin: 6px 0 30px; font: 600 1.7rem "Segoe UI", sans-serif; letter-spacing: -.04em; }
.auth-card label, .profile-form label { display: block; margin: 18px 0 0; font-size: .77rem; font-weight: 700; }
.auth-card label small, .profile-form label > small { float: right; color: var(--muted); font-weight: 400; }
.auth-card input, .profile-form input { width: 100%; height: 50px; margin-top: 7px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.auth-card input:focus, .profile-form input:focus { border-color: var(--lime-dark); outline: 2px solid rgba(155,214,59,.18); }
.auth-card .button { margin-top: 26px; }
.contact-options { margin: 24px 0 0; padding: 17px; border: 1px solid var(--line); }
.contact-options legend { padding: 0 6px; color: var(--muted); font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.auth-card .contact-options label { display: flex; gap: 11px; align-items: flex-start; margin: 10px 0 0; }
.auth-card .contact-options label:first-of-type { margin-top: 2px; }
.auth-card .contact-options input { width: auto; height: auto; flex: 0 0 auto; margin: 3px 0 0; padding: 0; accent-color: var(--lime-dark); }
.contact-options b, .contact-options small { display: block; }
.contact-options small { margin-top: 2px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.field-help { margin: 7px 0 0; color: var(--muted); font-size: .7rem; }
.field-action { text-align: right; }
.field-action a { color: var(--lime-dark); font-weight: 700; }
.form-error { padding: 12px 14px; font-size: .82rem; }
.form-switch { margin: 20px 0 0; text-align: center; color: var(--muted); font-size: .8rem; }
.form-switch a { color: var(--lime-dark); font-weight: 700; }

.account-header { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-block: 80px 45px; border-bottom: 1px solid var(--line); }
.account-header h1 { font-size: clamp(3.1rem, 6vw, 5.6rem); }
.account-header > div:first-child > p:last-child { color: var(--muted); }
.account-state { min-width: 250px; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.account-state small, .account-state b { display: block; }
.account-state small { color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; }
.state-orb { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #92978f; }
.state-orb.active { background: var(--lime-dark); box-shadow: 0 0 0 5px rgba(155,214,59,.15); }
.state-orb.demo { background: #ca9d37; box-shadow: 0 0 0 5px rgba(202,157,55,.15); }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-block: 50px 110px; }
.dashboard-card { padding: 34px; border: 1px solid var(--line); background: var(--white); }
.card-heading { display: flex; gap: 15px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.card-heading > span { color: var(--lime-dark); font: 700 .7rem "Segoe UI", sans-serif; }
.card-heading p { margin: 0; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.card-heading h2 { margin: 2px 0 0; font: 600 1.35rem "Segoe UI", sans-serif; letter-spacing: -.03em; }
.access-panel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 26px 0; background: var(--line); border: 1px solid var(--line); }
.access-panel > div { padding: 18px; background: var(--paper); }
.access-panel small, .access-panel strong { display: block; }
.access-panel small { color: var(--muted); font-size: .67rem; text-transform: uppercase; }
.demo-progress { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin: 28px 0; }
.demo-days { display: flex; align-items: center; gap: 13px; }
.demo-days strong { color: var(--lime-dark); font: 500 4.8rem/1 "Segoe UI", sans-serif; letter-spacing: -.08em; }
.demo-days span { font-size: .85rem; line-height: 1.2; }
.demo-progress > div:last-child { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.demo-progress small { color: var(--muted); font-size: .66rem; text-transform: uppercase; }
.card-note { color: var(--muted); font-size: .78rem; }
.download-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.download-panel b, .download-panel span { display: block; }
.download-panel span { margin-top: 5px; color: var(--muted); font-size: .78rem; }
.profile-form { margin-top: 26px; }
.profile-form input:disabled { color: var(--muted); background: var(--paper-2); }
.profile-form label > small:not(:first-child) { float: none; display: block; margin-top: 5px; }
.profile-form .button { margin-top: 25px; }
.empty-state { margin: 28px 0; padding: 24px; background: var(--paper); }
.empty-state b { font-family: "Segoe UI", sans-serif; }
.empty-state p { margin: 8px 0 0; color: var(--muted); font-size: .85rem; }
.license-list { margin: 20px 0; }
.license-list > div { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.license-list p { margin: 0; }
.license-list b, .license-list small { display: block; }
.license-list small { color: var(--muted); }
.privacy-list { list-style: none; margin: 22px 0 0; padding: 0; }
.privacy-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.privacy-list b, .privacy-list span { display: block; }
.privacy-list span { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.preference-form { margin-top: 24px; }
.preference-form label { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; cursor: pointer; }
.preference-form input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--lime-dark); }
.preference-form b, .preference-form small { display: block; }
.preference-form small { margin-top: 3px; color: var(--muted); font-weight: 400; line-height: 1.4; }
.preference-form .button { margin-top: 12px; }
.privacy-heading { margin-top: 34px; }
.license-reveal { margin-top: 28px; padding: 30px; background: var(--ink); color: var(--white); }
.license-reveal { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; align-items: center; }
.license-reveal p { margin: 0; color: var(--lime); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.license-reveal h2 { margin: 5px 0 0; font: 600 1.5rem "Segoe UI", sans-serif; }
.license-reveal span { color: #9da49a; font-size: .78rem; }
.key-row { display: flex; gap: 10px; }
.key-row code { min-width: 0; flex: 1; padding: 16px; overflow: auto; border: 1px solid var(--dark-line); background: #060806; color: var(--lime-bright); white-space: nowrap; }
.verification-card { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 24px; padding: 28px 32px; background: var(--ink); color: var(--white); }
.verification-card p, .verification-card h2, .verification-card span { margin: 0; }
.verification-card p { color: var(--lime); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.verification-card h2 { margin-top: 5px; font: 600 1.4rem "Segoe UI", sans-serif; }
.verification-card span { display: block; margin-top: 5px; color: #a8aea5; font-size: .78rem; }
.email-access-shell { min-height: 680px; }

.center-card { max-width: 750px; min-height: 660px; padding-block: 120px; text-align: center; }
.center-card h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.center-card > p:not(.eyebrow):not(.error-code) { max-width: 600px; margin: 26px auto 34px; color: var(--muted); font-size: 1.05rem; }
.centered { display: flex; justify-content: center; align-items: center; }
.success-mark { width: 60px; height: 60px; margin: 0 auto 30px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); font-size: 1.7rem; }
.error-code { color: var(--lime-dark); font: 700 1rem "Segoe UI", sans-serif; }
.legal-shell { max-width: 900px; padding-block: 60px 110px; }
.legal-shell article { margin-top: 30px; padding: 50px; background: var(--white); box-shadow: var(--shadow); }
.legal-shell h1 { font: 500 clamp(2.5rem, 5vw, 4.5rem)/1.04 "Segoe UI", sans-serif; letter-spacing: -.055em; }
.legal-shell pre { white-space: pre-wrap; font: 400 .9rem/1.7 "Segoe UI", sans-serif; color: #3f463d; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 78px 0 45px; border-bottom: 1px solid var(--line); }
.admin-header h1, .admin-detail-title h1 { margin: 0; font: 500 clamp(3.2rem, 6vw, 5.7rem)/1 "Segoe UI", sans-serif; letter-spacing: -.065em; }
.admin-header > div > p:last-child { max-width: 720px; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-block: 30px; background: var(--line); border: 1px solid var(--line); }
.metric-grid article { padding: 28px; background: var(--white); }
.metric-grid small, .metric-grid strong { display: block; }
.metric-grid small { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.metric-grid strong { margin-top: 8px; font: 500 2.6rem/1 "Segoe UI", sans-serif; letter-spacing: -.06em; }
.admin-section { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.admin-section.shell { margin-bottom: 24px; }
.admin-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.admin-section-heading p { margin: 0; color: var(--lime-dark); font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.admin-section-heading h2 { margin: 3px 0 0; font: 600 1.4rem "Segoe UI", sans-serif; letter-spacing: -.035em; }
.admin-search { display: flex; min-width: min(480px, 100%); }
.admin-search input { min-width: 0; flex: 1; padding: 0 14px; border: 1px solid var(--line); border-right: 0; background: var(--paper); }
.table-scroll { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.admin-table th { padding: 14px 12px; color: var(--muted); font-size: .64rem; text-align: left; text-transform: uppercase; letter-spacing: .1em; }
.admin-table td { padding: 16px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.admin-table td b, .admin-table td small { display: block; }
.admin-table td small { color: var(--muted); }
.admin-table td:last-child { text-align: right; }
.admin-table a { color: var(--lime-dark); font-weight: 700; text-decoration: none; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 110px; }
.event-list { max-height: 480px; overflow: auto; }
.event-row { min-height: 66px; display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.event-row p { min-width: 0; flex: 1; margin: 0; }
.event-row b, .event-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-row small { color: var(--muted); font-size: .69rem; }
.event-status { color: var(--muted); font-size: .68rem; }
.event-type { max-width: 60%; font-weight: 600; font-size: .79rem; overflow: hidden; text-overflow: ellipsis; }
.admin-detail-header { padding-block: 45px 30px; }
.back-link { display: inline-block; margin-bottom: 45px; color: var(--muted); font-size: .8rem; font-weight: 600; text-decoration: none; }
.admin-detail-title { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.admin-detail-title > div:first-child > p:last-child { color: var(--muted); }
.customer-meta { min-width: 310px; padding: 18px; border: 1px solid var(--line); background: var(--white); }
.customer-meta small, .customer-meta code { display: block; }
.customer-meta small { margin-top: 10px; color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.customer-meta small:first-child { margin-top: 0; }
.customer-meta code { overflow: hidden; text-overflow: ellipsis; font-size: .72rem; }
.admin-record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 110px; }
.admin-wide { grid-column: 1 / -1; }
.record-card { margin-top: 20px; padding: 22px; background: var(--paper); }
.record-title { display: flex; align-items: center; gap: 10px; }
.record-title b { flex: 1; }
.record-title > span:last-child { color: var(--muted); font-size: .72rem; }
.record-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.record-card dl > div { min-width: 0; }
.record-card dt { color: var(--muted); font-size: .63rem; text-transform: uppercase; letter-spacing: .08em; }
.record-card dd { margin: 3px 0 0; overflow: hidden; text-overflow: ellipsis; font-size: .77rem; }
.record-note { color: var(--muted); font-size: .73rem; }
.button-danger { min-height: 42px; border-color: #c9918b; background: transparent; color: var(--danger); }
.button-danger:hover:not(:disabled) { background: #f1dcd9; }
.activation-list { margin-block: 20px; }
.activation-list > div { display: flex; gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.activation-list p { min-width: 0; flex: 1; margin: 0; }
.activation-list b, .activation-list small { display: block; overflow: hidden; text-overflow: ellipsis; }
.activation-list small { color: var(--muted); font-size: .7rem; }
.text-action { padding: 0; border: 0; background: none; color: var(--lime-dark); font-size: .72rem; font-weight: 700; cursor: pointer; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .workflow-card { max-width: 650px; transform: none; }
  .demo-band-inner { padding-block: 70px; }
  .plans { grid-template-columns: 1fr; }
  .trial-card { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; gap: 35px; }
  .auth-intro { padding-top: 20px; }
  .account-grid { grid-template-columns: 1fr; }
  .license-reveal { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-split, .admin-record-grid { grid-template-columns: 1fr; }
  .admin-wide { grid-column: auto; }
  .admin-detail-title { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell, .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 76px; }
  .brand img { width: 142px; }
  .nav { gap: 14px; font-size: .78rem; }
  .nav > a:first-child { display: none; }
  .nav .button { display: none; }
  .hero { gap: 45px; padding-block: 58px 70px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-line { line-height: 1.9; }
  .frame-preview { height: 250px; }
  .workflow-steps span { display: none; }
  .manifesto { padding-top: 76px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 230px; }
  .feature-grid h3 { margin-top: 45px; }
  .demo-band-inner { display: block; }
  .demo-band .button { width: 100%; margin-top: 28px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-note { grid-column: auto; }
  .compact-hero { padding-top: 60px; }
  .plan-card { min-height: 0; padding: 28px; }
  .billing-choice { grid-template-columns: 1fr; }
  .auth-shell { padding-block: 45px; }
  .auth-intro h1 { font-size: 3.2rem; }
  .auth-card { padding: 28px 22px; }
  .account-header { display: block; padding-top: 55px; }
  .account-state { margin-top: 28px; }
  .dashboard-card { padding: 25px 20px; }
  .access-panel { grid-template-columns: 1fr; }
  .download-panel { align-items: stretch; flex-direction: column; }
  .download-panel .button { width: 100%; }
  .demo-progress { grid-template-columns: 1fr; }
  .license-reveal { width: 100%; }
  .verification-card { align-items: stretch; flex-direction: column; }
  .verification-card .button { width: 100%; }
  .key-row { flex-direction: column; }
  .key-row .button { width: 100%; }
  .legal-shell article { padding: 26px 20px; }
  .admin-header { display: block; }
  .admin-header .button { margin-top: 20px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid article { padding: 20px; }
  .admin-section { padding: 22px 16px; }
  .admin-section-heading { display: block; }
  .admin-search { min-width: 0; margin-top: 18px; }
  .admin-detail-title h1 { font-size: 3rem; }
  .customer-meta { min-width: 0; }
  .record-card dl { grid-template-columns: 1fr; }
  .record-title { flex-wrap: wrap; }
  .activation-list > div { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Inchframe website v2.3 — dark cinematic production system */
:root {
  --if-green: #7BC043;
  --if-green-deep: #4EA72E;
  --if-black: #222222;
  --if-gray: #515151;
  --if-cream: #F5F4E6;
  --if-bg: #071006;
  --if-bg-2: #0b1609;
  --if-panel: rgba(18, 28, 17, .88);
  --if-panel-strong: rgba(25, 40, 22, .96);
  --if-border: rgba(123, 192, 67, .22);
  --if-border-strong: rgba(123, 192, 67, .45);
  --if-text: #F5F4E6;
  --if-muted: rgba(245, 244, 230, .72);
  --if-faint: rgba(245, 244, 230, .52);
  --if-danger: #ff7d7d;
  --if-warning: #f6c96d;
  --ink: #071006;
  --ink-2: #0b1609;
  --paper: #071006;
  --paper-2: #0b1609;
  --white: #F5F4E6;
  --lime: #7BC043;
  --lime-bright: #9ee86b;
  --lime-dark: #7BC043;
  --muted: rgba(245, 244, 230, .72);
  --line: rgba(245, 244, 230, .10);
  --dark-line: rgba(245, 244, 230, .12);
  --danger: #ff7d7d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(245, 244, 230, .05);
}

body {
  color: var(--if-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(123, 192, 67, .18), transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(78, 167, 46, .14), transparent 34%),
    linear-gradient(180deg, #071006 0%, #0a1208 42%, #050805 100%);
  background-attachment: fixed;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1, h2, h3 { color: var(--if-text); letter-spacing: -.04em; }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: rgba(123, 192, 67, .72); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 78px;
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
  border-color: rgba(245, 244, 230, .08);
  background: rgba(7, 16, 6, .78);
  backdrop-filter: blur(18px);
}
.brand img { width: 170px; }
.nav { color: var(--if-muted); font-weight: 700; }
.nav a:not(.button):hover, .nav-button:hover, .footer-links a:hover { color: var(--if-green); }
.nav-button { color: var(--if-muted); font-weight: 700; }

.button { min-height: 46px; padding-inline: 20px; border-radius: 999px; font-weight: 800; }
.button-primary { border-color: rgba(123, 192, 67, .9); background: linear-gradient(180deg, #8ad94a, #5fb92d); color: #071006; box-shadow: 0 12px 30px rgba(123, 192, 67, .24); }
.button-primary:hover:not(:disabled) { background: linear-gradient(180deg, #9ee86b, #6fcf36); box-shadow: 0 16px 42px rgba(123, 192, 67, .32); }
.button-ghost { border-color: rgba(245, 244, 230, .22); background: rgba(245, 244, 230, .055); color: var(--if-text); }
.button-ghost:hover:not(:disabled) { border-color: rgba(123, 192, 67, .5); background: rgba(123, 192, 67, .08); }
.button-light { background: var(--if-cream); color: var(--if-bg); }
.button-danger { border-color: rgba(255, 125, 125, .5); color: var(--if-danger); }
.button-danger:hover:not(:disabled) { background: rgba(255, 125, 125, .12); }

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(123, 192, 67, .32);
  border-radius: 999px;
  background: rgba(123, 192, 67, .08);
  color: var(--if-green);
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 800;
}
.eyebrow span { width: 7px; height: 7px; margin: 0; border-radius: 50%; box-shadow: 0 0 14px rgba(123, 192, 67, .8); }
.compact-hero > p:not(.eyebrow), .auth-intro > p:not(.eyebrow), .account-header > div:first-child > p:last-child, .admin-header > div > p:last-child, .admin-detail-title > div:first-child > p:last-child { color: var(--if-muted); }

.plan-card, .trial-card, .auth-card, .dashboard-card, .account-state, .admin-section, .metric-grid article, .legal-shell article, .customer-meta {
  border: 1px solid var(--if-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 36, 19, .96), rgba(10, 18, 9, .96));
  color: var(--if-text);
  box-shadow: var(--shadow);
}
.plan-card:hover, .dashboard-card:hover, .admin-section:hover { border-color: rgba(123, 192, 67, .35); }
.plan-featured { border-color: rgba(123, 192, 67, .55); background: linear-gradient(180deg, rgba(29, 49, 25, .98), rgba(9, 18, 8, .98)); box-shadow: 0 22px 64px rgba(123, 192, 67, .12); }
.plan-card { min-height: 700px; padding: 36px; }
.plan-tag { top: 18px; right: 18px; border-radius: 999px; background: var(--if-green); }
.plan-heading > p:last-child, .plan-featured .plan-heading > p:last-child, .plan-featured .consent { color: var(--if-muted); }
.plan-label span { border-radius: 999px; }
.plan-features, .card-heading, .account-header, .admin-header, .admin-detail-title, .admin-section-heading { border-color: var(--line); }
.billing-choice span { min-height: 64px; border-radius: 16px; background: rgba(245, 244, 230, .035); }
.billing-choice input:checked + span, .plan-featured .billing-choice input:checked + span { border-color: var(--if-border-strong); background: rgba(123, 192, 67, .12); }

.auth-shell { min-height: calc(100vh - 78px); }
.auth-card input, .profile-form input, .admin-search input, .admin-control-form input, .admin-control-form select, .admin-control-form textarea {
  width: 100%;
  border: 1px solid rgba(245, 244, 230, .14);
  border-radius: 14px;
  background: rgba(245, 244, 230, .055);
  color: var(--if-text);
}
.admin-control-form input, .admin-control-form select { min-height: 48px; padding: 0 13px; }
.admin-control-form textarea { min-height: 120px; padding: 13px; resize: vertical; }
.admin-control-form select { color-scheme: dark; }
.auth-card input:focus, .profile-form input:focus, .admin-control-form input:focus, .admin-control-form select:focus, .admin-control-form textarea:focus { border-color: var(--if-border-strong); outline-color: rgba(123, 192, 67, .22); }
.contact-options { border-color: var(--if-border); border-radius: 18px; background: rgba(245, 244, 230, .025); }
.field-help, .form-switch { color: var(--if-muted); }
.form-switch a, .field-action a { color: var(--if-green); }

.notice { border-color: rgba(246, 201, 109, .4); border-radius: 16px; background: rgba(246, 201, 109, .1); color: var(--if-warning); }
.notice-demo, .success-notice { border-color: rgba(123, 192, 67, .4); background: rgba(123, 192, 67, .10); color: #baf58e; }
.error-notice, .form-error { border-color: rgba(255, 125, 125, .4); background: rgba(255, 125, 125, .1); color: #ffaaaa; }
.verification-card, .license-reveal { border: 1px solid var(--if-border-strong); border-radius: 24px; background: linear-gradient(180deg, rgba(25, 40, 22, .98), rgba(9, 18, 8, .98)); box-shadow: 0 22px 64px rgba(123, 192, 67, .12); }

.access-panel, .metric-grid { gap: 10px; border: 0; background: transparent; }
.access-panel > div, .empty-state, .record-card { border: 1px solid rgba(245, 244, 230, .10); border-radius: 18px; background: rgba(245, 244, 230, .045); }
.record-card { padding: 24px; }
.privacy-list li, .license-list > div, .activation-list > div, .event-row, .admin-table td { border-color: var(--line); }
.state-orb.active { background: var(--if-green); box-shadow: 0 0 0 5px rgba(123, 192, 67, .15); }
.state-orb.demo { background: var(--if-warning); }

.admin-control-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.admin-control-form { padding: 24px; border: 1px solid rgba(245, 244, 230, .10); border-radius: 22px; background: rgba(245, 244, 230, .035); }
.admin-control-form h3 { margin: 0 0 8px; font-size: 1.25rem; }
.admin-control-form label { display: block; margin-top: 17px; color: var(--if-muted); font-size: .76rem; font-weight: 700; }
.admin-control-form label small { float: right; color: var(--if-faint); font-weight: 400; }
.admin-control-form .button { margin-top: 22px; }
.admin-control-form .admin-confirm { display: flex; align-items: flex-start; gap: 10px; }
.admin-control-form .admin-confirm input { width: auto; min-height: 0; margin-top: 4px; accent-color: var(--if-green); }
.admin-communications { margin-top: 24px; margin-bottom: 24px; }
.communication-list { max-height: 470px; }
.admin-search input { border-radius: 999px 0 0 999px; }
.admin-search .button { border-radius: 0 999px 999px 0; }
.admin-table th { color: var(--if-faint); }
.admin-table a, .text-action { color: var(--if-green); }
.record-note, .event-status, .record-card dt, .record-card small, .customer-meta small { color: var(--if-muted); }

.legal-shell pre { color: var(--if-muted); }
.site-footer { border-top: 1px solid rgba(245, 244, 230, .08); }
.footer-note { display: flex; justify-content: space-between; gap: 24px; color: var(--if-faint); }
.footer-note span { flex: 0 0 auto; color: var(--if-muted); }
.skip-link { border-radius: 999px; background: var(--if-cream); color: var(--if-bg); }

@media (max-width: 860px) {
  .admin-control-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding-inline: 14px; }
  .shell, .site-footer { width: min(100% - 24px, 1180px); }
  .plan-card, .auth-card, .dashboard-card, .admin-section, .legal-shell article { border-radius: 22px; }
  .footer-note { display: block; }
  .footer-note span { display: block; margin-top: 12px; }
}

.admin-tabs { display: flex; gap: 8px; margin-block: 24px 30px; overflow-x: auto; }
.admin-tabs a { flex: 0 0 auto; padding: 11px 16px; border: 1px solid var(--if-border); border-radius: 999px; color: var(--if-muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.admin-tabs a:hover, .admin-tabs a[aria-current="page"] { border-color: var(--if-border-strong); background: rgba(123, 192, 67, .12); color: var(--if-text); }
.admin-page-section { margin-bottom: 110px !important; }
.admin-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.metric-grid .metric-status { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.security-event-list { max-height: 720px; }
.danger-zone { border-color: rgba(255, 125, 125, .34); }
.danger-zone .admin-section-heading p { color: var(--if-danger); }
.deletion-form { max-width: 680px; margin-top: 24px; }
.deletion-form .button-danger { width: fit-content; margin-top: 18px; }

.journey-card { margin-top: 24px; padding: 32px; border: 1px solid var(--if-border-strong); border-radius: 28px; background: linear-gradient(180deg, rgba(25, 40, 22, .98), rgba(9, 18, 8, .98)); box-shadow: 0 22px 64px rgba(123, 192, 67, .12); }
.journey-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.journey-heading p, .journey-heading h2, .journey-heading span { margin: 0; }
.journey-heading p { color: var(--if-green); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.journey-heading h2 { margin-top: 5px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.journey-heading span { display: block; max-width: 760px; margin-top: 8px; color: var(--if-muted); }
.journey-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 28px 0; padding: 0; }
.journey-steps li { display: flex; gap: 11px; min-width: 0; padding: 16px; border: 1px solid rgba(245, 244, 230, .10); border-radius: 18px; background: rgba(245, 244, 230, .035); }
.journey-steps li > b { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(245, 244, 230, .18); border-radius: 50%; color: var(--if-faint); font-size: .7rem; }
.journey-steps strong, .journey-steps small { display: block; }
.journey-steps strong { font-size: .78rem; }
.journey-steps small { margin-top: 3px; color: var(--if-faint); font-size: .66rem; line-height: 1.35; }
.journey-steps .complete { border-color: rgba(123, 192, 67, .22); }
.journey-steps .complete > b { border-color: var(--if-green); background: var(--if-green); color: var(--if-bg); }
.journey-steps .current { border-color: var(--if-border-strong); background: rgba(123, 192, 67, .09); }
.journey-steps .current > b { border-color: var(--if-green); color: var(--if-green); box-shadow: 0 0 14px rgba(123, 192, 67, .2); }
.journey-actions, .journey-checkout { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.journey-actions form { margin: 0; }
.journey-checkout .consent { width: 100%; margin: 0; }
.journey-checkout > small { color: var(--if-faint); }

@media (max-width: 960px) {
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .journey-card { padding: 24px 20px; border-radius: 22px; }
  .journey-heading { display: block; }
  .journey-heading .text-action { display: inline-block; margin-top: 16px; }
  .journey-steps { grid-template-columns: 1fr; }
  .journey-actions, .journey-actions .button, .journey-actions form, .journey-actions form .button, .journey-checkout .button { width: 100%; }
}
