:root {
  --holder-bg: #f4f1ea;
  --holder-ink: #1f2528;
  --holder-muted: #687077;
  --holder-panel: #ffffff;
  --holder-line: #d9d2c7;
  --holder-copper: #aa6635;
  --holder-rust: #7d3f2a;
  --holder-sage: #66745f;
  --holder-blue: #315f7e;
  --holder-charcoal: #162027;
  --holder-shadow: 0 18px 48px rgba(31, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

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

.phone-holder-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem;
  background: rgba(244, 241, 234, 0.88);
  border-bottom: 1px solid var(--holder-line);
  backdrop-filter: blur(14px);
}

.phone-holder-nav a,
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.62rem 0.9rem;
  border: 1px solid var(--holder-line);
  border-radius: 8px;
  color: var(--holder-ink);
  text-decoration: none;
  font-weight: 800;
}

.phone-holder-nav a:hover,
.action:hover {
  border-color: var(--holder-copper);
}

.hero-shell,
main,
.phone-holder-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero-shell {
  min-height: calc(100vh - 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--holder-rust);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 9vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-copy p,
.section-intro p,
.prototype-panel p,
.concept-card p,
.steps p {
  color: var(--holder-muted);
}

.hero-copy p {
  max-width: 56ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.action {
  background: var(--holder-panel);
  box-shadow: 0 10px 24px rgba(31, 37, 40, 0.08);
}

.action.primary {
  background: var(--holder-charcoal);
  color: #fffaf1;
  border-color: var(--holder-charcoal);
}

.product-stage {
  min-height: 620px;
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--holder-line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 95, 126, 0.13), transparent 35%),
    linear-gradient(315deg, rgba(170, 102, 53, 0.16), transparent 38%),
    #ebe5d9;
  box-shadow: var(--holder-shadow);
  overflow: hidden;
}

.strap-rail {
  position: absolute;
  left: 10%;
  top: 14%;
  width: min(28vw, 260px);
  height: 74%;
  border: 20px solid rgba(102, 116, 95, 0.28);
  border-radius: 999px;
  transform: rotate(14deg);
}

.device-render {
  position: relative;
  width: min(100%, 520px);
  min-height: 490px;
}

.phone-frame {
  position: absolute;
  left: 45%;
  top: 7%;
  width: 190px;
  height: 380px;
  border: 10px solid #26343d;
  border-radius: 34px;
  background: #071015;
  box-shadow: 0 28px 60px rgba(22, 32, 39, 0.36);
  transform: translateX(-50%) rotate(-7deg);
}

.phone-speaker {
  position: absolute;
  left: 50%;
  top: 13px;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: #52606b;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-screen {
  position: absolute;
  inset: 19px 13px 13px;
  display: grid;
  align-content: end;
  padding: 1rem;
  border-radius: 23px;
  color: #eef7fb;
  background:
    linear-gradient(180deg, rgba(49, 95, 126, 0.85), rgba(13, 28, 38, 0.98)),
    #10202a;
}

.phone-screen span {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transform: translateX(-50%);
}

.phone-screen strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.phone-screen small {
  display: block;
  margin-top: 0.3rem;
  color: rgba(238, 247, 251, 0.72);
}

.mag-ring {
  position: absolute;
  left: 49%;
  top: 43%;
  width: 152px;
  height: 152px;
  border: 15px solid rgba(170, 102, 53, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hand-grip {
  position: absolute;
  right: 9%;
  bottom: 13%;
  width: 190px;
  height: 160px;
  border-radius: 42% 58% 45% 55%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, var(--holder-copper), var(--holder-rust));
  box-shadow: inset 12px 12px 24px rgba(255, 255, 255, 0.08), 0 26px 44px rgba(31, 37, 40, 0.24);
  transform: rotate(15deg);
}

.hinge-arm {
  position: absolute;
  right: 33%;
  bottom: 26%;
  width: 175px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(90deg, #39454d, #162027);
  transform: rotate(-19deg);
  box-shadow: 0 18px 30px rgba(31, 37, 40, 0.22);
}

.stage-notes {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stage-notes span {
  padding: 0.6rem;
  border: 1px solid rgba(31, 37, 40, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--holder-charcoal);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

main {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  padding-bottom: 4rem;
}

.section-grid,
.prototype-panel,
.build-path {
  display: grid;
  gap: 1.25rem;
}

.section-intro {
  max-width: 790px;
}

.section-intro p {
  max-width: 68ch;
}

.cards {
  display: grid;
  gap: 0.85rem;
}

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

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

.concept-card,
.prototype-panel,
.steps li {
  border: 1px solid var(--holder-line);
  border-radius: 8px;
  background: var(--holder-panel);
  box-shadow: 0 10px 28px rgba(31, 37, 40, 0.07);
}

.concept-card {
  min-height: 190px;
  padding: 1rem;
}

.card-kicker,
.mode-mark {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--holder-rust);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.prototype-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  padding: clamp(1rem, 3vw, 2rem);
}

.feature-list {
  display: grid;
  gap: 0.55rem;
}

.feature-list div {
  display: grid;
  grid-template-columns: minmax(125px, 0.35fr) 1fr;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--holder-line);
  border-radius: 8px;
  background: #fbfaf7;
}

.feature-list strong {
  color: var(--holder-blue);
}

.feature-list span {
  color: var(--holder-muted);
}

.steps {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
}

.steps li > span {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--holder-sage);
  color: #fff;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps p {
  margin: 0;
}

.phone-holder-footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--holder-line);
  color: var(--holder-muted);
}

@media (max-width: 900px) {
  .phone-holder-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .hero-shell,
  .prototype-panel {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    max-width: 11ch;
  }

  .product-stage {
    min-height: 520px;
  }

  .three-up,
  .mode-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero-shell,
  main,
  .phone-holder-footer {
    width: min(100% - 1rem, 1180px);
  }

  .product-stage {
    min-height: 470px;
    padding: 0.75rem;
  }

  .device-render {
    min-height: 410px;
    transform: scale(0.82);
  }

  .stage-notes {
    grid-template-columns: 1fr;
  }

  .feature-list div {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }
}
