:root {
  --nt-bg: #f7f8f4;
  --nt-bg-strong: #10140f;
  --nt-surface: #ffffff;
  --nt-ink: #111511;
  --nt-muted: #667064;
  --nt-line: #dfe5d8;
  --nt-lime: #9bd11f;
  --nt-lime-dark: #6a9f09;
  --nt-blue: #2563eb;
  --nt-coral: #f9735b;
  --nt-yellow: #f5b841;
  --nt-shadow: 0 24px 80px rgba(22, 32, 18, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nt-page {
  margin: 0;
  background: var(--nt-bg);
  color: var(--nt-ink);
  font-family: Inter, "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nt-dark {
  background: #0c110c;
  color: #f6f8f2;
}

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

button,
input,
select {
  font: inherit;
}

.nt-container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 21, 17, 0.08);
  background: rgba(247, 248, 244, 0.88);
  backdrop-filter: blur(18px);
}

.nt-dark .nt-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(12, 17, 12, 0.84);
}

.nt-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nt-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--nt-ink);
  color: var(--nt-lime);
  font-weight: 900;
}

.nt-dark .nt-mark {
  background: #f6f8f2;
  color: #5c8f06;
}

.nt-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nt-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nt-links a {
  border-radius: 8px;
  padding: 9px 11px;
}

.nt-links a:hover {
  background: rgba(17, 21, 17, 0.06);
  color: var(--nt-ink);
}

.nt-dark .nt-links a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.nt-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nt-button:hover {
  transform: translateY(-1px);
}

.nt-button-primary {
  background: var(--nt-ink);
  color: #fff;
}

.nt-button-primary:hover {
  background: #26301f;
}

.nt-button-lime {
  background: var(--nt-lime);
  color: #151b11;
  box-shadow: 0 14px 30px rgba(112, 160, 8, 0.22);
}

.nt-button-lime:hover {
  background: #a9df31;
}

.nt-button-secondary {
  border-color: var(--nt-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--nt-ink);
}

.nt-dark .nt-button-secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f8f2;
}

.nt-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.85fr);
  gap: 52px;
  align-items: center;
  padding: 82px 0 56px;
}

.nt-eyebrow {
  margin: 0 0 18px;
  color: var(--nt-lime-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nt-dark .nt-eyebrow {
  color: var(--nt-lime);
}

.nt-title {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.nt-title span {
  color: var(--nt-lime-dark);
}

.nt-dark .nt-title span {
  color: var(--nt-lime);
}

.nt-subtitle {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--nt-muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.nt-dark .nt-subtitle {
  color: #bac4b3;
}

.nt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.nt-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  color: var(--nt-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nt-proof strong {
  color: var(--nt-ink);
}

.nt-dark .nt-proof strong {
  color: #fff;
}

.nt-phone-wrap {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nt-phone {
  width: min(355px, 88vw);
  border: 10px solid #151817;
  border-radius: 34px;
  background: #f9faf5;
  box-shadow: var(--nt-shadow);
  overflow: hidden;
  transform: rotate(2deg);
}

.nt-phone-screen {
  min-height: 650px;
  padding: 18px;
  background: #fbfcf8;
}

.nt-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111511;
  font-weight: 800;
}

.nt-food-photo {
  position: relative;
  height: 238px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 24% 25%, #f4c45e 0 10%, transparent 11%),
    radial-gradient(circle at 72% 28%, #73ad2e 0 14%, transparent 15%),
    radial-gradient(circle at 38% 68%, #df6f57 0 16%, transparent 17%),
    radial-gradient(circle at 68% 70%, #f7f4d8 0 18%, transparent 19%),
    linear-gradient(135deg, #22451f, #d7ecd3 42%, #f7e4c1);
}

.nt-scan-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 11px;
  color: #4f8402;
  font-size: 0.78rem;
  font-weight: 900;
}

.nt-meal-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.nt-meal-title h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.nt-meal-title p {
  margin: 4px 0 0;
  color: #6b7468;
  font-size: 0.86rem;
}

.nt-score {
  display: grid;
  min-width: 66px;
  height: 66px;
  place-items: center;
  border-radius: 8px;
  background: var(--nt-lime);
  color: #fff;
  font-size: 1.72rem;
  font-weight: 900;
}

.nt-macro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.nt-macro {
  min-height: 86px;
  border: 1px solid #e8eddf;
  border-radius: 8px;
  background: #fff;
  padding: 10px 6px;
  text-align: center;
}

.nt-macro strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
}

.nt-macro span {
  color: #6b7468;
  font-size: 0.74rem;
}

.nt-insight {
  margin-top: 18px;
  border: 1px solid #d8e6b4;
  border-radius: 8px;
  background: #f1f8dc;
  padding: 13px;
  color: #435238;
  font-size: 0.84rem;
}

.nt-section {
  padding: 68px 0;
}

.nt-section-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.nt-section-head.center {
  margin-inline: auto;
  text-align: center;
}

.nt-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.nt-section p {
  color: var(--nt-muted);
}

.nt-grid {
  display: grid;
  gap: 14px;
}

.nt-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nt-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-card {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 22px;
}

.nt-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.nt-card p {
  margin: 0;
}

.nt-dark .nt-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.nt-feature-strip {
  background: #10140f;
  color: #f6f8f2;
}

.nt-feature-strip p {
  color: #bec8b6;
}

.nt-example {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: center;
}

.nt-result-panel {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(22, 32, 18, 0.08);
}

.nt-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf1e9;
  padding: 12px 0;
}

.nt-result-row:last-child {
  border-bottom: 0;
}

.nt-result-row span {
  color: var(--nt-muted);
  font-weight: 700;
}

.nt-result-row strong {
  text-align: right;
}

.nt-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.nt-form label {
  display: grid;
  gap: 6px;
  color: var(--nt-muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.nt-form input,
.nt-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nt-ink);
  padding: 10px 12px;
  outline: none;
}

.nt-form input:focus,
.nt-form select:focus {
  border-color: var(--nt-lime-dark);
  box-shadow: 0 0 0 3px rgba(155, 209, 31, 0.22);
}

.nt-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--nt-muted);
  font-size: 0.86rem;
}

.nt-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.nt-message {
  min-height: 22px;
  color: var(--nt-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nt-message.ok {
  color: #3d7c09;
}

.nt-message.error {
  color: #be3b2d;
}

.nt-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 60;
  display: none;
}

.nt-footer {
  border-top: 1px solid var(--nt-line);
  padding: 32px 0;
  color: var(--nt-muted);
  font-size: 0.92rem;
}

.nt-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nt-app-shell {
  min-height: 100dvh;
  background: #f7f8f4;
  color: var(--nt-ink);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.nt-app-shell .nt-header {
  padding-top: env(safe-area-inset-top);
  background: rgba(247, 248, 244, 0.94);
}

.nt-app-shell .nt-container {
  width: min(760px, calc(100% - 28px));
}

.nt-app-shell .nt-nav {
  min-height: 68px;
  gap: 10px;
}

.nt-app-shell .nt-brand {
  min-width: 0;
  gap: 10px;
  font-size: 1.18rem;
}

.nt-app-shell .nt-brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nt-app-shell .nt-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
}

.nt-app-shell .nt-links {
  flex: 0 0 auto;
  gap: 6px;
  font-size: 0.98rem;
}

.nt-app-shell .nt-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nt-app-shell .nt-links a:not(.nt-button) {
  color: #667064;
  padding-inline: 8px;
}

.nt-app-shell .nt-links .nt-button {
  padding-inline: 14px;
}

.nt-app-main {
  width: min(720px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 calc(112px + env(safe-area-inset-bottom));
}

.nt-app-panel {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 18px 60px rgba(22, 32, 18, 0.07);
}

.nt-day-panel {
  display: grid;
  gap: 14px;
  background: #111511;
  color: #f7f8f4;
}

.nt-day-panel .nt-app-eyebrow,
.nt-day-panel .nt-message {
  color: #bfe85b;
}

.nt-day-panel .nt-message.error {
  color: #ffd0c8;
}

.nt-day-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.nt-day-top h1,
.nt-day-top h2 {
  margin: 0;
  font-size: 1.76rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.nt-small-button {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.88rem;
}

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

.nt-day-grid article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 11px;
}

.nt-day-grid span,
.nt-day-grid small {
  display: block;
  color: #b8c2b3;
  font-size: 0.72rem;
  font-weight: 800;
}

.nt-day-grid strong {
  display: block;
  margin: 5px 0;
  font-size: 1.08rem;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.nt-day-recommendation {
  margin: 0;
  border: 1px solid rgba(191, 232, 91, 0.3);
  border-radius: 8px;
  background: rgba(191, 232, 91, 0.11);
  padding: 12px;
  color: #eef7df;
  font-weight: 750;
}

.nt-day-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nt-day-actions button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f8f4;
  cursor: pointer;
  font-weight: 850;
}

.nt-day-actions button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nt-fit-box {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.nt-fit-box strong {
  display: block;
  margin-bottom: 4px;
}

.nt-fit-box p {
  margin: 0;
  color: #cbd5c5;
}

.nt-fit-gut {
  border-color: rgba(155, 209, 31, 0.44);
}

.nt-fit-angespannt {
  border-color: rgba(249, 115, 91, 0.55);
}

.nt-goal-panel {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.nt-goal-collapsed {
  display: none;
}

.nt-goal-form {
  border: 0;
  padding: 0;
}

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

.nt-goal-safety {
  margin: 0;
  border: 1px solid #d8e6b4;
  border-radius: 8px;
  background: #f5f9e8;
  padding: 11px;
  color: #596656;
  font-size: 0.86rem;
  font-weight: 700;
}

.nt-app-hero-panel {
  margin-top: 14px;
}

.nt-app-eyebrow {
  margin-bottom: 14px;
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nt-app-title {
  margin: 0;
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.nt-app-copy {
  margin: 13px 0 0;
  color: var(--nt-muted);
  font-size: 1.04rem;
  line-height: 1.54;
}

.nt-app-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.nt-app-stats article {
  min-width: 0;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fbfcf8;
  padding: 10px;
}

.nt-app-stats span,
.nt-app-stats small {
  display: block;
  color: var(--nt-muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.nt-app-stats strong {
  display: block;
  margin: 3px 0;
  font-size: 1.08rem;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.nt-upload-zone {
  display: grid;
  min-height: 260px;
  place-items: center;
  border: 1px dashed #b8c4ad;
  border-radius: 8px;
  background: #fbfcf8;
  padding: 22px;
  text-align: center;
}

.nt-upload-zone input {
  max-width: 100%;
}

.nt-app-upload {
  min-height: 0;
  place-items: stretch;
  margin-top: 18px;
  padding: 14px;
  text-align: left;
}

.nt-file-picker {
  position: relative;
  display: grid;
  min-height: 176px;
  width: 100%;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 1px dashed #b8c4ad;
  border-radius: 8px;
  background: #fbfcf8;
  padding: 22px 14px;
  cursor: pointer;
  text-align: center;
}

.nt-file-picker:focus-within {
  border-color: var(--nt-lime-dark);
  box-shadow: 0 0 0 3px rgba(155, 209, 31, 0.22);
}

.nt-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.nt-file-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--nt-lime);
  box-shadow: 0 16px 34px rgba(112, 160, 8, 0.2);
}

.nt-file-icon::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 22px;
  width: 28px;
  height: 19px;
  border: 3px solid #111511;
  border-radius: 6px;
}

.nt-file-icon::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 28px;
  width: 8px;
  height: 8px;
  border: 3px solid #111511;
  border-radius: 999px;
}

.nt-file-picker strong {
  max-width: 100%;
  color: var(--nt-ink);
  font-size: 1.05rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.nt-file-picker small {
  color: var(--nt-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.nt-upload-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: 12px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.nt-app-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.nt-app-actions .nt-button {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.nt-app-upload .nt-message {
  min-height: 0;
  margin: 12px 0 0;
  text-align: center;
  overflow-wrap: anywhere;
}

.nt-result-output {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.nt-result-output .nt-card {
  background: #fff;
}

.nt-app-shell .nt-result-output .nt-card {
  padding: 16px;
}

.nt-app-shell .nt-result-output h3 {
  line-height: 1.2;
}

.nt-app-shell .nt-result-output p {
  margin: 0;
  overflow-wrap: anywhere;
}

.nt-result-status {
  margin: 0 0 6px !important;
  color: var(--nt-lime-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nt-app-shell .nt-result-output .nt-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nt-refine-card {
  border-color: #d7e7b8;
  background: #fbfdf6 !important;
}

.nt-refine-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.nt-refine-question {
  display: grid;
  gap: 7px;
  color: var(--nt-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.nt-refine-question textarea {
  width: 100%;
  min-height: 82px;
  resize: vertical;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nt-ink);
  padding: 11px 12px;
  outline: none;
  line-height: 1.35;
}

.nt-refine-question textarea:focus {
  border-color: var(--nt-lime-dark);
  box-shadow: 0 0 0 3px rgba(155, 209, 31, 0.22);
}

.nt-refine-form .nt-button {
  width: 100%;
}

.nt-button:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
}

.nt-app-beta {
  padding: 34px 0 0;
}

.nt-app-section-head {
  margin-bottom: 16px;
}

.nt-app-section-head h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.03;
  letter-spacing: 0;
}

.nt-app-beta .nt-form {
  margin-bottom: 22px;
}

.nt-app-tabbar {
  position: fixed;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(17, 21, 17, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px;
  box-shadow: 0 20px 60px rgba(22, 32, 18, 0.2);
  backdrop-filter: blur(18px);
}

.nt-app-tabbar a,
.nt-app-tabbar button {
  display: inline-flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--nt-muted);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.nt-app-tabbar a.active,
.nt-app-tabbar button.active,
.nt-app-tabbar button:hover,
.nt-app-tabbar a:hover {
  background: var(--nt-ink);
  color: #fff;
}

.nt-hidden {
  display: none !important;
}

.nt-mvp-hero {
  padding: 76px 0 42px;
}

.nt-mvp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 20px 70px rgba(22, 32, 18, 0.08);
}

.nt-mini-preview {
  min-height: 230px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(155, 209, 31, 0.22), rgba(37, 99, 235, 0.14)),
    #f7f8f4;
  padding: 16px;
}

@media (max-width: 860px) {
  .nt-links .nt-hide-mobile {
    display: none;
  }

  .nt-hero,
  .nt-example,
  .nt-mvp-card {
    grid-template-columns: 1fr;
  }

  .nt-hero {
    gap: 34px;
    padding-top: 56px;
  }

  .nt-phone {
    transform: none;
  }

  .nt-grid-2,
  .nt-grid-3 {
    grid-template-columns: 1fr;
  }

  .nt-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .nt-sticky-cta {
    display: block;
  }

  .nt-sticky-cta .nt-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .nt-container {
    width: min(100% - 24px, 1160px);
  }

  .nt-nav {
    min-height: 64px;
  }

  .nt-links {
    gap: 2px;
  }

  .nt-links a {
    padding: 8px;
  }

  .nt-title {
    font-size: clamp(2.9rem, 17vw, 4.6rem);
  }

  .nt-phone-screen {
    min-height: 590px;
    padding: 14px;
  }

  .nt-macro-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nt-app-shell .nt-container {
    width: calc(100% - 24px);
  }

  .nt-app-shell .nt-nav {
    min-height: 62px;
  }

  .nt-app-shell .nt-brand {
    font-size: 1.04rem;
  }

  .nt-app-shell .nt-mark {
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
  }

  .nt-app-shell .nt-links {
    gap: 4px;
    font-size: 0.92rem;
  }

  .nt-app-shell .nt-links a:not(.nt-button) {
    padding-inline: 6px;
  }

  .nt-app-shell .nt-links .nt-button {
    padding-inline: 12px;
  }

  .nt-app-main {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .nt-app-panel {
    padding: 16px;
  }

  .nt-app-title {
    font-size: 2.58rem;
  }

  .nt-day-top h1,
  .nt-day-top h2 {
    font-size: 1.5rem;
  }

  .nt-day-grid,
  .nt-day-actions,
  .nt-form-grid {
    grid-template-columns: 1fr;
  }

  .nt-app-copy {
    font-size: 1rem;
  }

  .nt-app-stats {
    gap: 7px;
  }

  .nt-app-stats article {
    padding: 9px 8px;
  }

  .nt-app-stats strong {
    font-size: 0.98rem;
  }

  .nt-file-picker {
    min-height: 164px;
  }

  .nt-app-section-head h2 {
    font-size: 2rem;
  }

  .nt-app-shell .nt-result-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nt-app-shell .nt-result-row strong {
    text-align: left;
  }
}

@media (max-width: 380px) {
  .nt-app-shell .nt-brand span:last-child {
    max-width: 124px;
  }

  .nt-app-shell .nt-links a:not(.nt-button) {
    display: none;
  }

  .nt-app-title {
    font-size: 2.34rem;
  }

  .nt-app-stats span,
  .nt-app-stats small {
    font-size: 0.62rem;
  }
}
