:root {
  color-scheme: light;
  --bg: #f3f3ee;
  --bg-soft: #ecece4;
  --ink: #0e0f0a;
  --ink-2: #3a3d33;
  --ink-3: #74766c;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-strong: #ffffff;
  --divider: rgba(14, 15, 10, 0.1);
  --accent: #9de82a;
  --accent-strong: #c8ff3d;
  --warn: #c8946f;
  --error: #b45d5d;
  --shadow: 0 24px 80px rgba(14, 15, 10, 0.11);
  --radius: 16px;
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(157, 232, 42, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f8f2 0%, var(--bg) 48%, #e9e9e1 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body.dark-page {
  color-scheme: dark;
  --bg: #0a0b07;
  --bg-soft: #11120c;
  --ink: #f4f5ee;
  --ink-2: #b8bab0;
  --ink-3: #74766c;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: #18190f;
  --divider: rgba(255, 255, 255, 0.1);
  --accent: #c8ff3d;
  --accent-strong: #9de82a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  background:
    radial-gradient(circle at 18% 0%, rgba(200, 255, 61, 0.12), transparent 28%),
    linear-gradient(180deg, #18190f 0%, #0a0b07 45%, #0f100b 100%);
}

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

a:hover {
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 700;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(243, 243, 238, 0.75);
  border-bottom: 1px solid var(--divider);
}

.dark-page .site-header {
  background: rgba(10, 11, 7, 0.72);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.brand-word {
  font-size: 22px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav-links a {
  padding: 10px 0;
}

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

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--surface);
}

.language-toggle button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font: 700 12px/1 var(--font-sans);
  min-width: 38px;
  padding: 9px 10px;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--accent);
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 56px;
  align-items: center;
  padding: 48px 0 42px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--ink-3);
  font: 700 12px/1.3 var(--font-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 84px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

h1 em,
h2 em,
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 26px;
  color: var(--ink-2);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.42;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.waitlist-card + .cta-row {
  margin-top: 14px;
}

.button,
button.button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--accent);
  cursor: pointer;
  font: 700 14px/1 var(--font-sans);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--divider);
}

.button:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.button.secondary:hover {
  color: var(--ink);
}

.waitlist-card {
  width: min(100%, 550px);
  margin-top: 18px;
  padding: 8px;
  border: 1px solid var(--divider);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 10px 40px rgba(14, 15, 10, 0.08);
}

.waitlist-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.waitlist-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.waitlist-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1 var(--font-sans);
  padding: 0 18px;
}

.waitlist-form input::placeholder {
  color: var(--ink-3);
}

.form-note,
.form-status {
  margin: 10px 14px 2px;
  color: var(--ink-3);
  font-size: 12px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: var(--ink-2);
}

.waitlist-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.form-status[data-state="error"] {
  color: var(--error);
}

.hero-visual {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-panel {
  position: absolute;
  inset: 8% 2% 0;
  border: 1px solid var(--divider);
  border-radius: 34px;
  background:
    linear-gradient(150deg, rgba(157, 232, 42, 0.32), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow);
}

.phone {
  position: relative;
  z-index: 1;
  width: min(340px, 86vw);
  aspect-ratio: 390 / 780;
  border: 10px solid #0e0f0a;
  border-radius: 48px;
  background: #f3f3ee;
  box-shadow: 0 34px 80px rgba(14, 15, 10, 0.26);
  overflow: hidden;
}

.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 27px;
  border-radius: 999px;
  background: #0e0f0a;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 100%;
  padding: 54px 20px 22px;
  color: #0e0f0a;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
}

.phone-title {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 700;
}

.phone-meta {
  margin: 8px 0 18px;
  color: #74766c;
  font-size: 13px;
}

.meal-card,
.metric-card {
  padding: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(14, 15, 10, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.meal-card small,
.metric-card small {
  display: block;
  color: #74766c;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meal-card strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 15px;
}

.meal-card span,
.metric-card span {
  color: #3a3d33;
  font: 500 12px/1.3 var(--font-mono);
}

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

.metric-card b {
  display: block;
  margin-top: 5px;
  font-size: 26px;
  line-height: 1;
}

.tabbar {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 9px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(14, 15, 10, 0.08);
}

.tabbar span {
  height: 26px;
  border-radius: 999px;
  background: rgba(14, 15, 10, 0.08);
}

.tabbar span:first-child {
  background: #9de82a;
}

.section {
  padding: 92px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header h2,
.legal-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.section-header p {
  max-width: 440px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--divider);
  border-radius: 22px;
  overflow: hidden;
  background: var(--divider);
  gap: 1px;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  background: var(--surface);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 54px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.feature-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.split-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
  padding: 44px;
  border-radius: 28px;
  background: #0e0f0a;
  color: #f4f5ee;
  overflow: hidden;
}

.split-band .eyebrow,
.split-band p {
  color: #b8bab0;
}

.split-band h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
}

.insight-card {
  padding: 26px;
  border-radius: 24px;
  background: #18190f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.chart {
  width: 100%;
  margin: 22px 0;
}

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

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #b8bab0;
  font-size: 13px;
}

.chip.accent {
  background: var(--accent);
  color: #0e0f0a;
  font-weight: 800;
}

.contact-band {
  padding: 40px;
  border: 1px solid var(--divider);
  border-radius: 28px;
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 30px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--divider);
}

.contact-item span {
  color: var(--ink-3);
  font-size: 13px;
}

.contact-item a,
.contact-item strong {
  font-weight: 700;
  text-align: right;
}

.site-footer {
  padding: 38px 0 46px;
  border-top: 1px solid var(--divider);
  color: var(--ink-3);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.lang-en [data-lang="it"],
.lang-it [data-lang="en"] {
  display: none !important;
}

.legal-hero {
  padding: 74px 0 34px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding: 40px 0 92px;
}

.legal-layout.single-column {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}

.legal-aside {
  position: sticky;
  top: 106px;
  padding: 20px;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
}

.legal-aside strong {
  display: block;
  color: var(--ink);
  margin-bottom: 8px;
}

.legal-doc {
  padding: 44px;
  border-radius: 24px;
  border: 1px solid var(--divider);
  background: var(--surface);
}

.legal-doc h2 {
  margin: 0 0 20px;
  font-size: 32px;
  line-height: 1.1;
}

.legal-doc h3 {
  margin: 34px 0 8px;
  font-size: 20px;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-2);
}

.legal-doc ul {
  padding-left: 20px;
}

.notice {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid rgba(200, 148, 111, 0.38);
  border-radius: 14px;
  background: rgba(200, 148, 111, 0.11);
  color: var(--ink-2);
}

.placeholder {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(157, 232, 42, 0.22);
  color: var(--ink);
  font-weight: 700;
}

.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.page-card {
  padding: 22px;
  border: 1px solid var(--divider);
  border-radius: 18px;
  background: var(--surface);
}

.page-card h3 {
  margin-top: 0;
}

.page-card p {
  color: var(--ink-2);
}

@media (max-width: 980px) {
  .hero,
  .split-band,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 52px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .feature-grid,
  .page-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .legal-aside {
    position: static;
  }
}

@media (max-width: 740px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: 68px;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
  }

  .nav-links a[href="#features"],
  .nav-links a[href="#contacts"] {
    display: none;
  }

  .app-home .nav-links a[href="contacts.html"],
  .app-home .nav-links a[href="privacy.html"],
  .app-home .nav-links a[href="terms.html"] {
    display: none;
  }

  .hero {
    padding: 44px 0 34px;
    gap: 26px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 64px);
  }

  .waitlist-card {
    border-radius: 22px;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-form .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    width: min(340px, 94vw);
  }

  .section {
    padding: 62px 0;
  }

  .section-header {
    display: block;
  }

  .section-header p {
    margin-top: 14px;
  }

  .feature-grid,
  .page-card-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-icon {
    margin-bottom: 36px;
  }

  .split-band,
  .contact-band,
  .legal-doc {
    padding: 24px;
    border-radius: 22px;
  }

  .contact-item {
    display: block;
  }

  .contact-item a,
  .contact-item strong {
    display: block;
    margin-top: 4px;
    text-align: left;
  }
}

/* App-aligned homepage */
.app-home {
  background: #f6f6f1;
}

.app-header {
  background: rgba(246, 246, 241, 0.82);
}

.app-home .shell {
  width: min(1120px, calc(100% - 48px));
}

.app-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 64px;
  align-items: center;
  padding: 54px 0 76px;
}

.hero-copy-block {
  max-width: 670px;
}

.app-hero h1 {
  max-width: 690px;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: 0;
}

.app-hero .hero-copy {
  max-width: 590px;
  margin: 28px 0 24px;
  color: #3f4238;
}

.app-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 620px);
  margin: 16px 0 0;
  border: 1px solid rgba(14, 15, 10, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.app-metric-strip div {
  padding: 18px 18px 16px;
  text-align: center;
}

.app-metric-strip div + div {
  border-left: 1px solid rgba(14, 15, 10, 0.08);
}

.app-metric-strip strong {
  display: block;
  color: #0e0f0a;
  font-size: 22px;
  line-height: 1.05;
}

.app-metric-strip span {
  display: block;
  margin-top: 4px;
  color: #7c8074;
  font-size: 14px;
}

.app-waitlist {
  width: min(100%, 590px);
  margin-top: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.app-screen-stage {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screen-stage::before {
  content: "";
  position: absolute;
  inset: 8% -9% 7% 18%;
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(157, 232, 42, 0.18), rgba(255, 255, 255, 0.34));
  border: 1px solid rgba(14, 15, 10, 0.06);
}

.app-screen {
  display: block;
  border-radius: 46px;
  background: #f6f6f1;
  box-shadow: 0 32px 90px rgba(14, 15, 10, 0.16);
}

.hero-screen {
  position: relative;
  z-index: 1;
  width: min(390px, 88vw);
}

.app-section {
  padding: 72px 0;
}

.app-section-title {
  max-width: 760px;
  margin-bottom: 26px;
}

.app-section-title h2,
.daily-card h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1;
}

.screen-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 0;
}

.app-principle-card {
  min-width: 0;
  min-height: 176px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(14, 15, 10, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.app-principle-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #92ec1f;
  color: #0e0f0a;
  font-weight: 800;
  font-size: 16px;
}

.app-principle-card h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
}

.app-principle-card p {
  margin: 0;
  color: #55584f;
  font-size: 15px;
  line-height: 1.42;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.compact-section {
  padding-top: 36px;
}

.daily-card {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 42px;
  align-items: end;
  padding: 36px 40px;
  border: 1px solid rgba(14, 15, 10, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.daily-card p:last-child {
  margin: 0;
  color: #3f4238;
  font-size: 20px;
  line-height: 1.42;
}

.dark-showcase {
  margin: 48px 0 24px;
  padding: 84px 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(200, 255, 61, 0.12), transparent 30%),
    linear-gradient(180deg, #15160f 0%, #080905 100%);
  color: #f4f5ee;
  overflow: hidden;
}

.dark-showcase-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: center;
}

.dark-copy {
  max-width: 520px;
}

.dark-copy .eyebrow {
  color: #74766c;
}

.dark-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.98;
}

.dark-copy p:last-child {
  margin: 26px 0 0;
  color: #b8bab0;
  font-size: 19px;
  line-height: 1.45;
}

.evidence-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.evidence-points div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.04);
}

.evidence-points strong {
  color: #f4f5ee;
  font-size: 15px;
}

.evidence-points span {
  color: #74766c;
  font-size: 14px;
}

.dark-screens {
  position: relative;
  min-height: 680px;
}

.dark-screen {
  position: absolute;
  width: min(360px, 44vw);
  border-radius: 44px;
  background: #080905;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42);
}

.dark-screen-back {
  right: 0;
  top: 76px;
  opacity: 0.52;
  transform: scale(0.88);
}

.dark-screen-front {
  left: 0;
  top: 0;
  z-index: 1;
}

.app-contact-band {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(14, 15, 10, 0.08);
  box-shadow: none;
}

.app-home .button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .app-hero,
  .daily-card,
  .dark-showcase-inner {
    grid-template-columns: 1fr;
  }

  .app-screen-stage {
    min-height: auto;
  }

  .hero-screen {
    width: min(410px, 86vw);
  }

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

  .dark-screens {
    min-height: 620px;
  }

  .dark-screen {
    width: min(340px, 58vw);
  }

  .dark-screen-front {
    left: 8%;
  }

  .dark-screen-back {
    right: 7%;
  }
}

@media (max-width: 740px) {
  .app-home .shell {
    width: min(100% - 28px, 1120px);
  }

  .app-hero {
    padding: 42px 0 54px;
    gap: 38px;
  }

  .app-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .app-metric-strip {
    grid-template-columns: 1fr;
  }

  .app-metric-strip div + div {
    border-left: 0;
    border-top: 1px solid rgba(14, 15, 10, 0.08);
  }

  .app-section {
    padding: 54px 0;
  }

  .app-principle-card {
    min-height: 0;
  }

  .daily-card {
    padding: 26px;
    gap: 22px;
  }

  .daily-card p:last-child {
    font-size: 17px;
  }

  .dark-showcase {
    padding: 56px 0;
  }

  .dark-screens {
    min-height: 560px;
  }

  .dark-screen {
    width: min(300px, 74vw);
  }

  .dark-screen-front {
    left: 0;
  }

  .dark-screen-back {
    right: -18px;
    top: 82px;
  }
}
