:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #637083;
  --paper: #f6f9fb;
  --surface: #ffffff;
  --surface-2: #edf7f5;
  --line: #d9e3ea;
  --navy: #123b63;
  --navy-2: #0b2b49;
  --teal: #00a7a5;
  --teal-soft: #dff6f3;
  --coral: #ff7d5a;
  --coral-soft: #fff0e9;
  --gold: #f5b84b;
  --gold-soft: #fff6db;
  --blue: #4b8bff;
  --green: #2bb673;
  --danger: #df5b55;
  --shadow: 0 20px 70px rgba(18, 59, 99, 0.16);
  --soft-shadow: 0 12px 30px rgba(18, 59, 99, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(0, 167, 165, 0.11), transparent 28%),
    linear-gradient(315deg, rgba(255, 125, 90, 0.12), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.design-board {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(390px, 1fr) minmax(240px, 320px);
  gap: 24px;
  width: min(1440px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px;
}

.design-sidebar,
.design-notes {
  align-self: start;
  position: sticky;
  top: 28px;
  display: grid;
  gap: 14px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.brand-lockup p,
.eyebrow {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-lockup h1,
.note-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: 0;
}

.screen-switcher {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
}

.screen-button {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font-weight: 800;
}

.screen-button:hover,
.screen-button.active {
  border-color: rgba(0, 167, 165, 0.26);
  background: var(--teal-soft);
  color: var(--navy);
}

.button-icon,
.tab-icon,
.nav-icon,
.mini-icon,
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-icon svg,
.tab-icon svg,
.nav-icon svg,
.mini-icon svg,
.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: #fff;
  color: currentColor;
}

.system-card,
.note-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.system-card h2 {
  margin: 0 0 12px;
  font-size: 16px;
}

.system-card p,
.note-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.palette-grid {
  display: grid;
  gap: 8px;
}

.palette-grid span {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 9px;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
}

.palette-grid span::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: var(--radius);
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(16, 32, 51, 0.08);
}

.palette-grid b,
.palette-grid small {
  display: block;
  grid-column: 2;
}

.palette-grid b {
  font-size: 13px;
}

.palette-grid small {
  color: var(--muted);
  font-size: 12px;
}

.phone-stage {
  display: grid;
  place-items: center;
  min-width: 0;
}

.device-shell {
  position: relative;
  width: 430px;
  max-width: 100%;
  padding: 18px;
  border-radius: 46px;
  background: #091827;
  box-shadow:
    0 26px 80px rgba(9, 24, 39, 0.38),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.device-speaker {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  width: 78px;
  height: 24px;
  border-radius: 999px;
  background: #091827;
  transform: translateX(-50%);
}

.phone-screen {
  overflow: hidden;
  position: relative;
  height: min(844px, calc(100vh - 92px));
  min-height: 720px;
  border-radius: 34px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.status-bar {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 25px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.status-icons {
  letter-spacing: 0;
}

.ios-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding-top: 44px;
  background: var(--paper);
}

.app-scroll {
  flex: 1;
  overflow: auto;
  min-width: 0;
  overflow-x: hidden;
  padding: 18px;
  scrollbar-width: none;
}

.app-scroll::-webkit-scrollbar {
  display: none;
}

.screen-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.screen-header h2 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: 0;
}

.screen-header p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.hero-card {
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-height: 174px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -46px 78px;
  height: 114px;
  background:
    linear-gradient(90deg, rgba(0, 167, 165, 0.78), rgba(245, 184, 75, 0.78)),
    var(--teal);
  clip-path: polygon(0 36%, 22% 10%, 48% 42%, 72% 15%, 100% 34%, 100% 100%, 0 100%);
  opacity: 0.74;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-copy span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ddfffa;
  font-size: 12px;
  font-weight: 800;
}

.hero-copy h3 {
  margin: 12px 0 8px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.44;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 38px;
  margin-top: auto;
  padding: 0 13px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.score-graphic {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}

.score-graphic svg {
  width: 116px;
  height: 116px;
}

.score-graphic text {
  font-family: inherit;
  font-weight: 900;
  fill: #fff;
}

.today-strip,
.metric-grid,
.feature-grid,
.daily-path,
.exam-card,
.lesson-card,
.tip-card,
.question-card,
.insight-card {
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
}

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

.metric-card {
  min-width: 0;
  min-height: 82px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1;
}

.metric-card small {
  display: block;
  margin-top: 5px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 10px;
}

.section-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  letter-spacing: 0;
}

.section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

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

.feature-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  min-height: 132px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--feature-bg, var(--teal-soft));
  color: var(--feature-color, var(--teal));
}

.feature-card strong {
  color: var(--navy);
  font-size: 16px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.36;
}

.today-strip {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid rgba(0, 167, 165, 0.22);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.mini-progress {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 55%, transparent 57%),
    conic-gradient(var(--teal) 0 64%, #e4edf1 64% 100%);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.today-strip strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.today-strip span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.36;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.daily-path {
  display: grid;
  gap: 9px;
}

.path-step {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.path-step .mini-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  background: var(--step-bg, var(--teal-soft));
  color: var(--step-color, var(--teal));
}

.path-step strong,
.exam-title strong,
.lesson-card strong,
.tip-card strong,
.question-card strong {
  display: block;
  color: var(--navy);
}

.path-step span,
.exam-title span,
.lesson-card p,
.tip-card p {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
}

.path-state {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  min-height: 38px;
  padding: 4px;
  border-radius: var(--radius);
  background: #e9f1f5;
}

.segmented span {
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.segmented .active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(18, 59, 99, 0.12);
}

.flashcard {
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(18, 59, 99, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(223, 246, 243, 0.92), rgba(255, 246, 219, 0.78)),
    #fff;
  box-shadow: var(--soft-shadow);
}

.flashcard-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.flashcard-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
}

.flashcard h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 34px;
  letter-spacing: 0;
}

.flashcard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.flashcard-example {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}

.lesson-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.pattern-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pattern-row code {
  padding: 7px 9px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}

.quiz-card {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 125, 90, 0.26);
  border-radius: var(--radius);
  background: var(--coral-soft);
}

.quiz-card strong {
  color: var(--navy);
  line-height: 1.28;
}

.choice {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px;
  border: 1px solid rgba(18, 59, 99, 0.1);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.choice b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--teal);
}

.choice.correct {
  border-color: rgba(43, 182, 115, 0.42);
  background: #f1fbf5;
}

.choice.correct b {
  background: var(--green);
  color: #fff;
}

.exam-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.exam-image {
  position: relative;
  height: 152px;
  background: var(--surface-2);
}

.exam-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exam-image span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(16, 32, 51, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.exam-body {
  padding: 14px;
}

.exam-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.download-badge {
  flex: 0 0 auto;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  line-height: 28px;
}

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

.exam-stats span {
  min-height: 56px;
  padding: 9px;
  border-radius: var(--radius);
  background: var(--paper);
}

.exam-stats b,
.exam-stats small {
  display: block;
}

.exam-stats b {
  color: var(--navy);
  font-size: 18px;
}

.exam-stats small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

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

.part-chip {
  min-height: 58px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.part-chip b,
.part-chip span {
  display: block;
}

.part-chip b {
  color: var(--navy);
  font-size: 13px;
}

.part-chip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.player-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 14px;
}

.player-progress span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.progress-track {
  overflow: hidden;
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #dfeaf0;
}

.progress-track b {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.audio-card,
.question-card,
.explain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.audio-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
}

.play-button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}

.play-button svg {
  width: 22px;
  height: 22px;
}

.waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  margin-top: 8px;
}

.waveform i {
  display: block;
  width: 4px;
  height: var(--h);
  border-radius: 999px;
  background: var(--teal);
}

.question-card {
  overflow: hidden;
}

.question-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.question-copy {
  padding: 14px;
}

.question-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.answer-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.answer-option {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.answer-option b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
}

.answer-option.selected {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.explain-card {
  margin-top: 12px;
  padding: 12px;
  border-left: 4px solid var(--teal);
}

.explain-card strong {
  color: var(--navy);
}

.explain-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.tip-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.tip-card.accent {
  border-color: rgba(245, 184, 75, 0.48);
  background: var(--gold-soft);
}

.tip-steps,
.trap-list,
.paraphrase-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.tip-steps span,
.trap-list span,
.paraphrase-row span {
  min-height: 42px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
}

.trap-list span {
  border-left: 3px solid var(--coral);
}

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

.paraphrase-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(0, 167, 165, 0.2);
  background: var(--teal-soft);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.bottom-nav {
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  flex: 0 0 auto;
  min-height: 72px;
  margin: 0 12px 12px;
  padding: 8px;
  border: 1px solid rgba(217, 227, 234, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(18, 59, 99, 0.18);
  backdrop-filter: blur(18px);
}

.nav-item {
  display: grid;
  place-items: center;
  gap: 4px;
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.nav-item.active {
  background: var(--teal-soft);
  color: var(--navy);
}

.nav-icon svg {
  width: 21px;
  height: 21px;
}

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

.metrics span {
  min-height: 70px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--paper);
}

.metrics b,
.metrics small {
  display: block;
}

.metrics b {
  color: var(--navy);
  font-size: 22px;
}

.metrics small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

@media (max-width: 1120px) {
  .design-board {
    grid-template-columns: 220px minmax(390px, 1fr);
  }

  .design-notes {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    background: var(--paper);
  }

  .design-board {
    display: block;
    min-height: 100vh;
    padding: 0;
  }

  .design-sidebar,
  .design-notes,
  .device-speaker {
    display: none;
  }

  .phone-stage {
    display: block;
  }

  .device-shell {
    width: 100%;
    min-height: 100vh;
    padding: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
  }

  .phone-screen {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    min-height: 0;
    border-radius: 0;
  }

  .bottom-nav {
    margin: 0 10px 10px;
  }
}

@media (max-width: 560px) {
  .hero-card {
    grid-template-columns: 1fr;
  }

  .score-graphic {
    display: none;
  }

  .hero-copy h3 {
    font-size: 23px;
  }
}

@media (max-width: 380px) {

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

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