:root {
  --bg: #07111f;
  --bg-2: #0d1b2d;
  --panel: rgba(16, 31, 52, 0.82);
  --panel-solid: #102038;
  --text: #eef6ff;
  --muted: #95a8c3;
  --line: rgba(151, 180, 220, 0.18);
  --blue: #4aa3ff;
  --cyan: #20e0d0;
  --violet: #8f7cff;
  --green: #49e68f;
  --amber: #ffc857;
  --red: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --radius: 18px;
  --button-radius: 999px;
  --border-width: 1px;
  --text-transform: none;
  --hero-bg:
    radial-gradient(circle at 18% 12%, rgba(74, 163, 255, 0.2), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(32, 224, 208, 0.14), transparent 30%),
    linear-gradient(135deg, var(--bg), #091528 44%, #050b15);
}

body[data-theme="ledger"] {
  --bg: #f7f1e4;
  --bg-2: #efe3cc;
  --panel: rgba(255, 250, 240, 0.92);
  --panel-solid: #fffaf0;
  --text: #172033;
  --muted: #646b76;
  --line: rgba(64, 57, 43, 0.2);
  --blue: #1d3557;
  --cyan: #9a6a21;
  --violet: #815c2c;
  --green: #2b7a55;
  --amber: #d69b2d;
  --red: #b6533f;
  --shadow: 0 18px 42px rgba(63, 51, 31, 0.14);
  --radius: 6px;
  --button-radius: 6px;
  --hero-bg:
    linear-gradient(rgba(23, 32, 51, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 51, 0.05) 1px, transparent 1px),
    #f7f1e4;
}

body[data-theme="retail"] {
  --bg: #eff5ff;
  --bg-2: #dfeaff;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-solid: #ffffff;
  --text: #10234d;
  --muted: #5c6f95;
  --line: #dbe6fb;
  --blue: #2563eb;
  --cyan: #0ea5e9;
  --violet: #6366f1;
  --green: #16a34a;
  --amber: #f59e0b;
  --red: #dc2626;
  --shadow: 0 20px 48px rgba(37, 99, 235, 0.13);
  --radius: 16px;
  --button-radius: 10px;
  --hero-bg: linear-gradient(180deg, #ffffff, #eaf2ff);
}

body[data-theme="brutal"] {
  --bg: #f4f0e8;
  --bg-2: #ded7ca;
  --panel: #fffdf8;
  --panel-solid: #fffdf8;
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.68);
  --line: #101010;
  --blue: #101010;
  --cyan: #00b8d9;
  --violet: #ff5a3d;
  --green: #0b6d44;
  --amber: #c8ff36;
  --red: #ff5a3d;
  --shadow: 10px 10px 0 #101010;
  --radius: 0;
  --button-radius: 0;
  --border-width: 4px;
  --text-transform: uppercase;
  --hero-bg:
    linear-gradient(112deg, transparent 0 62%, #c8ff36 62% 68%, transparent 68%),
    linear-gradient(rgba(16, 16, 16, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 16, 0.055) 1px, transparent 1px),
    #f4f0e8;
}

body[data-theme="terminal"] {
  --bg: #030806;
  --bg-2: #06120d;
  --panel: rgba(5, 19, 13, 0.9);
  --panel-solid: #06120d;
  --text: #d8ffe7;
  --muted: #79a98a;
  --line: rgba(73, 230, 143, 0.26);
  --blue: #49e68f;
  --cyan: #49e68f;
  --violet: #b2ff59;
  --green: #78ff9a;
  --amber: #d7ff73;
  --red: #ff7272;
  --shadow: 0 0 42px rgba(73, 230, 143, 0.12);
  --radius: 4px;
  --button-radius: 3px;
  --text-transform: uppercase;
  --hero-bg:
    linear-gradient(rgba(73, 230, 143, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 230, 143, 0.05) 1px, transparent 1px),
    #030806;
}

body[data-theme="sunset"] {
  --bg: #241328;
  --bg-2: #3a1c34;
  --panel: rgba(55, 28, 56, 0.86);
  --panel-solid: #3a1c34;
  --text: #fff6ec;
  --muted: #d7b8c6;
  --line: rgba(255, 214, 170, 0.22);
  --blue: #ff8a4c;
  --cyan: #ffcf70;
  --violet: #d66bff;
  --green: #7ee0a1;
  --amber: #ffcf70;
  --red: #ff6b6b;
  --shadow: 0 24px 68px rgba(42, 13, 39, 0.34);
  --radius: 22px;
  --button-radius: 999px;
  --hero-bg:
    radial-gradient(circle at 20% 18%, rgba(255, 138, 76, 0.28), transparent 36%),
    radial-gradient(circle at 78% 12%, rgba(214, 107, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #241328, #3a1c34 54%, #130b1d);
}

body[data-theme="mono"] {
  --bg: #f7f7f4;
  --bg-2: #ecece8;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-solid: #ffffff;
  --text: #171717;
  --muted: #686868;
  --line: #d7d7d2;
  --blue: #171717;
  --cyan: #171717;
  --violet: #474747;
  --green: #171717;
  --amber: #efefea;
  --red: #171717;
  --shadow: none;
  --radius: 0;
  --button-radius: 0;
  --hero-bg: #f7f7f4;
}

body[data-theme="fresh"] {
  --bg: #effaf2;
  --bg-2: #dff4e6;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --text: #173528;
  --muted: #587568;
  --line: rgba(42, 108, 77, 0.18);
  --blue: #1f9d69;
  --cyan: #3bc89e;
  --violet: #58a6ff;
  --green: #1f9d69;
  --amber: #d4f56b;
  --red: #e06b4d;
  --shadow: 0 22px 58px rgba(31, 157, 105, 0.14);
  --radius: 20px;
  --button-radius: 14px;
  --hero-bg:
    radial-gradient(circle at 20% 12%, rgba(59, 200, 158, 0.22), transparent 34%),
    linear-gradient(180deg, #f8fff9, #e7f7ee);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--hero-bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.license-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(22px, 5vw, 72px);
}

.license-card,
.metric-panel,
.calculator-shell,
.console-sidebar,
.console-main,
.steps article,
.feature-card,
.theme-option {
  background: var(--panel);
  border: var(--border-width) solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.license-card {
  width: min(100%, 620px);
  padding: clamp(26px, 5vw, 44px);
}

.license-card h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 7vw, 72px);
}

.license-card > p:not(.eyebrow):not(.license-error) {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.license-form,
.email-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 26px;
}

.license-form input {
  text-transform: uppercase;
}

.verify-form {
  margin-top: 12px;
}

.license-error {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--red);
  font-weight: 800;
}

.license-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.license-hints span,
.license-hints code {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.license-hints span {
  color: #07111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.license-hints code {
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  user-select: none;
}

.email-status {
  display: inline-flex;
  max-width: 100%;
  margin-top: 14px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: var(--border-width) solid var(--line);
  border-radius: var(--button-radius);
  font-weight: 800;
}

.email-status code {
  color: var(--cyan);
  font-size: 16px;
}

.text-button {
  margin-top: 16px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.text-button:hover {
  color: var(--cyan);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px clamp(20px, 5vw, 72px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: var(--border-width) solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.metric-head,
.deal-summary,
.result-title,
.footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: calc(var(--radius) * 0.7);
  font-weight: 950;
  box-shadow: 0 0 24px rgba(32, 224, 208, 0.3);
}

.nav {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a:hover {
  color: var(--cyan);
}

.license-exit {
  min-height: 38px;
  padding: 7px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: var(--border-width) solid var(--line);
  border-radius: var(--button-radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-actions span {
  max-width: 220px;
  overflow: hidden;
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: var(--border-width) solid var(--line);
  border-radius: var(--button-radius);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero {
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.5vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 600;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border: 0;
  border-radius: var(--button-radius);
  cursor: pointer;
  font-weight: 850;
  text-transform: var(--text-transform);
  box-shadow: 0 14px 34px rgba(32, 224, 208, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 42px rgba(32, 224, 208, 0.26);
}

.button.ghost,
.button.compact {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: var(--border-width) solid var(--line);
  box-shadow: none;
}

.button.compact {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
}

.metric-panel {
  padding: 24px;
}

.metric-head {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.metric-head span {
  color: var(--muted);
  font-weight: 800;
}

.metric-head strong {
  padding: 5px 10px;
  color: #06111f;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
}

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

.metric-grid div,
.deal-summary div,
.console-cards article,
.table-card,
.threshold-button {
  background: rgba(255, 255, 255, 0.065);
  border: var(--border-width) solid var(--line);
  border-radius: calc(var(--radius) * 0.8);
}

.metric-grid div {
  min-height: 138px;
  padding: 18px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.tool-section,
.manage,
.band,
.dashboard,
.theme-lab {
  margin: 0 clamp(20px, 5vw, 72px);
  padding: clamp(48px, 7vw, 82px) 0;
  border-top: var(--border-width) solid var(--line);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.05;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.calculator-shell {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

select,
input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: var(--border-width) solid var(--line);
  border-radius: calc(var(--radius) * 0.7);
}

select option {
  color: #111827;
}

select:focus,
input:focus {
  outline: 3px solid rgba(32, 224, 208, 0.18);
  border-color: var(--cyan);
}

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

.deal-summary div {
  padding: 18px;
}

.deal-summary span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.deal-summary strong {
  font-size: 28px;
}

.loss-negative {
  color: var(--red);
}

.subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.subhead h3 {
  margin-bottom: 0;
}

.subhead span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.thresholds {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.threshold-button {
  min-height: 66px;
  padding: 10px 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.threshold-button strong,
.threshold-button span {
  display: block;
}

.threshold-button strong {
  margin-bottom: 3px;
}

.threshold-button span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.threshold-button.active {
  background: linear-gradient(135deg, rgba(32, 224, 208, 0.24), rgba(74, 163, 255, 0.24));
  border-color: rgba(32, 224, 208, 0.62);
  box-shadow: 0 0 0 1px rgba(32, 224, 208, 0.12), 0 16px 34px rgba(32, 224, 208, 0.13);
}

.result-board {
  padding: 18px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.result-title {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.result-title h3 {
  margin-bottom: 4px;
}

.result-title p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(90px, 120px));
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.result-item h4 {
  margin: 0 0 4px;
  font-size: 16px;
}

.result-item p,
.result-item span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.result-value {
  text-align: right;
}

.result-value strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}

.profit-good strong {
  color: var(--green);
}

.empty-state {
  padding: 22px;
  color: var(--text);
  background: rgba(255, 200, 87, 0.1);
  border: 1px solid rgba(255, 200, 87, 0.35);
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
}

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

.theme-option {
  display: grid;
  min-height: 210px;
  gap: 12px;
  align-content: start;
  padding: 18px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.theme-option:hover,
.theme-option.active {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cyan), transparent 70%), var(--shadow);
}

.theme-option.active::after {
  content: "当前使用";
  justify-self: start;
  padding: 5px 9px;
  color: var(--bg);
  background: var(--cyan);
  border-radius: var(--button-radius);
  font-size: 12px;
  font-weight: 900;
}

.theme-swatch {
  display: block;
  width: 100%;
  height: 74px;
  border: var(--border-width) solid var(--line);
  border-radius: calc(var(--radius) * 0.7);
}

.theme-option strong,
.theme-option small {
  display: block;
}

.theme-option strong {
  font-size: 18px;
}

.theme-option small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.swatch-aurora {
  background:
    radial-gradient(circle at 18% 20%, #4aa3ff, transparent 34%),
    radial-gradient(circle at 75% 24%, #20e0d0, transparent 36%),
    #07111f;
}

.swatch-ledger {
  background:
    linear-gradient(#172033 0 12%, transparent 12%),
    repeating-linear-gradient(0deg, #fffaf0 0 17px, #e5dac5 18px 19px);
}

.swatch-retail {
  background: linear-gradient(135deg, #ffffff 0 48%, #2563eb 48% 66%, #eaf2ff 66%);
}

.swatch-brutal {
  background:
    linear-gradient(115deg, transparent 0 56%, #c8ff36 56% 68%, transparent 68%),
    linear-gradient(90deg, #101010 0 16%, #f4f0e8 16% 72%, #ff5a3d 72%);
}

.swatch-terminal {
  background:
    repeating-linear-gradient(0deg, rgba(73, 230, 143, 0.16) 0 1px, transparent 1px 10px),
    #030806;
}

.swatch-sunset {
  background:
    radial-gradient(circle at 24% 24%, #ff8a4c, transparent 34%),
    radial-gradient(circle at 76% 34%, #d66bff, transparent 34%),
    #241328;
}

.swatch-mono {
  background: linear-gradient(90deg, #171717 0 18%, #f7f7f4 18% 82%, #d7d7d2 82%);
}

.swatch-fresh {
  background:
    radial-gradient(circle at 28% 30%, #3bc89e, transparent 34%),
    linear-gradient(135deg, #f8fff9, #dff4e6);
}

.console-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.console-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.console-sidebar strong {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.console-sidebar a {
  padding: 11px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
}

.console-sidebar a.active {
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.console-main {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.console-toolbar span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.console-toolbar strong {
  font-size: 22px;
}

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

.console-cards article {
  padding: 18px;
}

.console-cards span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.console-cards strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.table-card {
  display: grid;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(80px, 0.6fr));
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-top: var(--border-width) solid var(--line);
  font-weight: 750;
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--cyan);
  background: rgba(32, 224, 208, 0.08);
  font-size: 13px;
  font-weight: 850;
}

.table-row strong {
  color: var(--green);
}

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

.steps article,
.feature-card {
  padding: 22px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
}

.steps h3,
.feature-card h3 {
  margin-bottom: 8px;
}

.steps p,
.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 600;
}

.feature-card:nth-child(2) {
  border-top: 3px solid var(--cyan);
}

.feature-card:nth-child(3) {
  border-top: 3px solid var(--amber);
}

.feature-card:nth-child(4) {
  border-top: 3px solid var(--green);
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px) 42px;
  color: var(--muted);
  font-weight: 750;
}

.footer p {
  margin: 0;
}

@media (max-width: 940px) {
  .hero,
  .calc-form,
  .console-layout,
  .theme-grid,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .result-item {
    grid-template-columns: 1fr 1fr;
  }

  .result-value {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .license-form,
  .email-form,
  .hero,
  .calc-form,
  .deal-summary,
  .metric-grid,
  .console-layout,
  .console-cards,
  .theme-grid,
  .steps,
  .feature-grid,
  .result-item {
    grid-template-columns: 1fr;
  }

  .result-title,
  .subhead,
  .console-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .table-row {
    grid-template-columns: 1fr;
  }
}
