:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --primary: #00c2a8;
  --accent: #ff8a00;
  --surface: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0,0,0,.1);
  --font: "Outfit", system-ui, sans-serif;
  --container: min(1100px, 92vw);
}
* { box-sizing: border-box; margin: 0; padding: 0; overflow: none;}
body { font-family: var(--font); background: var(--bg); color: var(--ink); }
.container { width: var(--container); margin: auto; }
header { background: var(--primary); padding: 1rem; color: white; }
header nav { display: flex; justify-content: space-between; align-items: center; }
header ul { display: flex; gap: 1rem; list-style: none; }
header a { color: white; text-decoration: none; font-weight: 600; }

.hero-img { margin: 2rem auto; max-width: 300px; overflow: hidden; }
.hero-img img { width: 100%; display: block; }

.jumbo { background: #f8fafc; padding: 2rem; text-align: center; margin: 2rem 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.jumbo h1 { font-size: 2rem; margin-bottom: 1rem; }

.features { display: grid; gap: 1.5rem; margin: 2rem 0; }

/* Collapsible Feature Card */
.feature {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-areas:
    "img body"
    "img footer";
  gap: 1rem;
  align-items: start;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  border: 2px solid rgba(255,138,0,.25);
  transition: grid-template-columns .25s ease, border-color .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.feature:hover { box-shadow: 0 10px 24px rgba(0,0,0,.12); border-color: rgba(255,138,0,.45); }

.feature__img { grid-area: img; border-radius: var(--radius); overflow: hidden; transition: width .25s ease, transform .25s ease; }
.feature__img img { width: 100%; height: auto; display: block; }

.feature__body { grid-area: body; color: var(--muted); }
.feature__title { display: flex; justify-content: space-between; align-items: baseline; }
.feature__title h2 { color: var(--ink); font-size: 1.25rem; margin-bottom: .5rem; }
.feature__price { margin-bottom: .5rem; text-align: center;}
.price-tag { font-size: 2em; color: var(--accent); font-weight: 700; margin-left: 1rem; display: block; }
.price-tag_sm { font-size: 1.5em ; color: var(--accent); font-weight: 700; }
/* Collapsed content clamp */

.feature[data-state="collapsed"] .feature__details {
  max-height: 0;
  overflow: hidden;
}
.feature .feature__details {
  max-height: 900px;
  transition: .35s ease;
}

.feature .feature__details ul li {
  list-style: none;
  margin: 1.5rem;
}

.feature__footer {
  grid-area: footer;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.btn {
  background: transparent;
  border: 2px solid #00c2a8;
  color: #0f172a;
  font-weight: 700;
  padding: .6rem .9rem;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { background: rgba(0,194,168,.12); box-shadow: 0 6px 16px rgba(0,0,0,.08); }

/* Expanded state: larger image column */
.feature[data-state="expanded"] { grid-template-columns: 260px 1fr; }

footer { background: #f1f5f9; padding: 1.5rem 0; margin-top: 2rem; border-top: 2px solid var(--accent); }
.mentions { display: flex; justify-content: space-around; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 120px 1fr; }
  .feature[data-state="expanded"] { grid-template-columns: 1fr; grid-template-areas: "img" "body" "footer"; }
  .feature__footer { justify-content: center; }
}
