* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #1f262b;
  font-family: 'Public Sans', sans-serif;
  color: #061426;
}

.phone-app {
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #f3f7fa;
  padding: 34px 24px 28px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.logo-placeholder {
  height: 52px;
  display: flex;
  align-items: center;
}

.logo-placeholder img {
  height: auto;
  width: 200px;
  display: block;
}

.attorney-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.attorney-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transform: scale(2.5);
  transform-origin: 40% 20%;
}

.hero-card {
  height: 190px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(rgba(1,18,36,.2), rgba(1,18,36,.85)),
    url("https://images.unsplash.com/photo-1474487548417-781cb71495f3?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
}

.hero-overlay {
  color: white;
  padding: 24px;
}

.hero-overlay h1 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1;
}

.hero-overlay p {
  margin: 0;
  font-size: 16px;
}

.menu-card,
.contact-card {
  width: 100%;
  border: 0;
  border-radius: 24px;
  background: white;
  padding: 22px;
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  gap: 18px;
  align-items: center;
  text-align: left;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  cursor: pointer;
  color: inherit;
}

.icon,
.contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #087996;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
}

.menu-card h2,
.contact-card h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.menu-card p,
.contact-card p {
  margin: 0;
  font-size: 14px;
  color: #5a6573;
  line-height: 1.45;
}

.arrow,
.contact-card span {
  color: #c56600;
  font-size: 24px;
}

.contact-card {
  background: #011224;
  color: white;
  margin-top: 22px;
}

.contact-card p {
  color: white;
}

.contact-icon {
  background: #d96800;
}

.disclaimer {
  margin-top: 34px;
  font-size: 12px;
  line-height: 1.5;
  color: #65717f;
}

.page-header {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 28px;
}

.back-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: white;
  font-size: 26px;
  cursor: pointer;
  color: #011224;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header p {
  margin: 2px 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7a8795;
}

.screen h1 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0;
}

.section-title {
  font-size: 22px;
  margin: 28px 0 14px;
}

.body-copy {
  font-size: 18px;
  line-height: 1.6;
  color: #4f5c6d;
}

.content-card,
.result-card,
.glossary-card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.content-card h2,
.result-card h2,
.glossary-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
}

.content-card p,
.result-card p,
.glossary-card p {
  margin: 0;
  color: #4f5c6d;
  line-height: 1.55;
  font-size: 15px;
}

.content-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #4f5c6d;
  line-height: 1.6;
}

.warning {
  border-left: 5px solid #d96800;
}

.info-list {
  background: white;
  border-radius: 22px;
  padding: 24px 24px 24px 42px;
  line-height: 1.7;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.info-list li {
  margin-bottom: 12px;
}

.timeline-card {
  background: white;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.timeline-card span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #087996;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.timeline-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.timeline-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #4f5c6d;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: #dce4ea;
}

.bar.active {
  background: #011224;
}

.step-label {
  text-align: center;
  font-weight: bold;
  margin-bottom: 34px;
}

.question-box h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.question-box p {
  font-size: 18px;
  color: #536174;
  line-height: 1.5;
}

.answer-btn {
  width: 100%;
  background: white;
  border: 2px solid #011224;
  border-radius: 22px;
  padding: 22px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.answer-btn:hover {
  background: #011224;
  color: white;
  transition: .2s ease;
}

.result-card {
  border-left: 5px solid #d96800;
}

.primary-action,
.secondary-action,
.secondary-link {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 18px;
  padding: 18px;
  margin-top: 14px;
  font-weight: bold;
  font-size: 17px;
}

.primary-action {
  background: #d96800;
  color: white;
}

.secondary-action,
.secondary-link {
  background: white;
  color: #011224;
  border: 1px solid #dce4ea;
}

.primary-action:hover {
  opacity: .9;
}

.secondary-action:hover,
.secondary-link:hover {
  background: #f4f7fa;
}

details {
  background: white;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

summary {
  font-weight: bold;
  cursor: pointer;
  line-height: 1.4;
}

details p {
  color: #4f5c6d;
  line-height: 1.55;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.video-thumb {
  height: 145px;
  border-radius: 16px;
  background:
    linear-gradient(rgba(1,18,36,.25), rgba(1,18,36,.75)),
    url("https://images.unsplash.com/photo-1474487548417-781cb71495f3?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.video-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.video-card p {
  margin: 0;
  color: #4f5c6d;
  line-height: 1.45;
  font-size: 14px;
}

.glossary-card {
  border-left: 4px solid #087996;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.comparison-card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.comparison-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.comparison-card p {
  margin: 0;
  color: #4f5c6d;
  line-height: 1.55;
  font-size: 15px;
}

.search-input {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.featured-card {
  background: #011224;
  color: white;
}

.featured-card p {
  color: rgba(255,255,255,.85);
}

.featured-card .arrow {
  color: #d96800;
}

.featured-card .icon {
  background: #d96800;
}

.icon,
.contact-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #087996;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
}

@media (max-width: 430px) {
  .phone-app {
    max-width: none;
    padding: 30px 18px 28px;
  }

  .hero-overlay h1 {
    font-size: 32px;
  }

  .menu-card,
  .contact-card {
    padding: 20px;
    grid-template-columns: 54px 1fr 22px;
    gap: 16px;
  }

  .icon,
  .contact-icon {
    width: 54px;
    height: 54px;
  }
}