/* Shared Roman components */
.roman-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.roman-grid > div {
  display: flex;
  flex-direction: column;
}

.roman-grid p {
  max-width: 650px;
  font-weight: 500;
}

.roman-card {
  position: relative;
  border: 2px solid var(--card-border, #b98d59);
  border-radius: 16px;
  background: var(--card-bg, linear-gradient(135deg, #fff9ec, #f2e2c7));
  box-shadow: 0 8px 0 #a47b4d40, 0 17px 28px #6b412929;
  isolation: isolate;
}

.roman-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid var(--card-inner-border, #b99a6d);
  border-radius: 9px;
  pointer-events: none;
}

body .strike { text-decoration: line-through; }

.long-view-break { display: initial; }

@media (max-width: 700px) {
  .long-view-break { display: none; }
}

/* Hero — Roman courtyard */
section.hero.hero-redesign {
  height: min(calc(100vh - 70px), 768px);
  height: min(calc(100dvh - 70px), 768px);
  min-height: 580px;
  padding: 0;
  background: #b9ddfa url('../assets/hero-background.png') center bottom / cover no-repeat;
}

.hero-redesign .hero-scene {
  display: grid;
  grid-template-columns: 42% minmax(0, 58%);
  align-items: center;
  width: min(1120px, 90%);
  height: 100%;
  margin: auto;
  padding: 30px 0;
  box-sizing: border-box;
}

/* Left — copy */
.hero-redesign .hero-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  isolation: isolate;
}

.hero-redesign .hero-copy::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -65px -85px;
  background: radial-gradient(ellipse at 40% 50%, rgba(255,255,255,.88) 0%, rgba(255,255,255,.85) 38%, transparent 75%);
  filter: blur(22px);
  pointer-events: none;
}

.hero-redesign .hero-copy h1 {
  margin: 0 0 20px;
  color: #43281e;
  font-family: var(--font-display);
  font-size: clamp(46px, 4.2vw, 74px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.hero-redesign .hero-copy h1 em {
  display: inline-block;
  color: #c65321;
  font-size: 1.12em;
  font-style: normal;
}

.hero-redesign .hero-copy > p:not(.hero-motto) {
  max-width: 430px;
  margin: 0 0 20px;
  color: #3e2a23;
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 500;
  line-height: 1.65;
}

.hero-redesign .hero-copy .button {
  margin: 20px 0;
  padding: 13px 20px;
  border: 1px solid #874109;
  border-radius: 5px;
  background: linear-gradient(#ad5c19, #91440d);
  box-shadow: 0 4px 0 #703408;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.hero-redesign .hero-copy .hero-motto {
  margin: 25px 0 0;
  color: #43271d;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 27px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-shadow: 0 1px 4px #fff5e5a6;
}

.hero-redesign .hero-copy .hero-motto em {
  color: #c65321;
}

.hero-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px 24px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-details span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hero-details svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--olive);
  stroke-width: 1.6;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .hero-details {
    gap: 8px 14px;
    font-size: 9px;
  }

  .hero-details svg {
    width: 11px;
    height: 11px;
  }
}

@media (max-width: 700px) {
  .hero-details {
    justify-content: center;
    width: 100%;
    margin: 20px auto 0;
    gap: 10px 18px;
    font-size: 11px;
    text-align: center;
  }

  .hero-details svg {
    width: 13px;
    height: 13px;
  }
}

/* Right — coordinated artwork */
.hero-redesign .hero-artwork {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  width: 100%;
  height: min(65vh, 520px);
  min-width: 0;
  align-self: end;
  margin-bottom: 40px;
}

.hero-redesign .hero-rules-display {
  position: relative;
  z-index: 1;
  flex: 0 0 44%;
  width: 44%;
  min-width: 0;
}

/* Stone establishes the display dimensions */
.hero-redesign .hero-rules-stone {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 6px #62412c20);
}

.hero-redesign .hero-smash {
  position: absolute;
  z-index: 2;
  right: 62%;
  bottom: -12px;
  width: 36%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 5px #62412c18);
}

/* Phone centred above the stone */
.hero-redesign .hero-phone {
  position: absolute;
  z-index: 3;
  left: 52%;
  bottom: 75%;
  width: 180%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 14px #382c2930);
  transform-origin: 50% 90%;
  animation: phone-reveal 1.4s ease-out both, phone-float 4s ease-in-out 1.4s infinite alternate;
}

@keyframes phone-reveal {
  0%   { transform: translateX(-50%) scale(.78) rotate(-8deg); opacity: 0; }
  100% { transform: translateX(-50%) scale(1) rotate(-2deg); opacity: 1; }
}

@keyframes phone-float {
  0%   { transform: translateX(-50%) rotate(-2deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-redesign .hero-phone {
    animation: none;
    transform: translateX(-50%) rotate(-2deg);
    opacity: 1;
  }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
  section.hero.hero-redesign {
    height: auto;
    min-height: 620px;
  }

  .hero-redesign .hero-scene {
    grid-template-columns: 40% minmax(0, 60%);
    align-items: center;
    height: auto;
    min-height: 620px;
    padding: 55px 0;
  }

  .hero-redesign .hero-copy {
    align-self: center;
  }

  .hero-redesign .hero-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(36px, 4.5vw, 52px);
    line-height: 1.15;
  }

  .hero-redesign .hero-copy > p:not(.hero-motto) {
    font-size: clamp(14px, 1.6vw, 17px);
    line-height: 1.7;
  }

  .hero-redesign .hero-copy .button {
    margin: 12px 0;
    padding: 12px 15px;
    font-size: 11px;
  }

  .hero-redesign .hero-copy .hero-motto {
    font-size: clamp(17px, 2vw, 23px);
  }

  .hero-redesign .hero-artwork {
    align-self: center;
    height: 360px;
    margin-bottom: 0;
  }

  .hero-redesign .hero-rules-display {
    flex-basis: 48%;
    width: 48%;
  }

  .hero-redesign .hero-smash {
    right: 64%;
    bottom: -8px;
    width: 36%;
  }

  .hero-redesign .hero-phone {
    bottom: 75%;
    width: 180%;
  }
}

/* Mobile */
@media (max-width: 700px) {
  section.hero.hero-redesign {
    height: auto;
    min-height: 0;
    background-position: center bottom;
  }

  .hero-redesign .hero-scene {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 90%;
    height: auto;
    padding: 45px 0 30px;
  }

  .hero-redesign .hero-copy {
    text-align: center;
  }

  .hero-redesign .hero-copy::before {
    inset: -25px -15px;
  }

  .hero-redesign .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 9vw, 56px);
    line-height: 1.12;
  }

  .hero-redesign .hero-copy > p:not(.hero-motto) {
    max-width: 480px;
    margin: 0 auto 18px;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.7;
  }

  .hero-redesign .hero-copy .button {
    margin: 12px 0;
    padding: 12px 16px;
    font-size: 11px;
  }

  .hero-redesign .hero-copy .hero-motto {
    margin-top: 20px;
    font-size: clamp(19px, 5vw, 25px);
    text-align: center;
  }

  .hero-redesign .hero-artwork {
    width: 100%;
    height: clamp(260px, 76vw, 420px);
    margin-top: 40px;
    margin-bottom: 0;
    align-self: center;
  }

  .hero-redesign .hero-rules-display {
    flex-basis: 48%;
    width: 48%;
  }

  .hero-redesign .hero-smash {
    right: 65%;
    bottom: -6px;
    width: 36%;
    margin-right: 0;
  }

  .hero-redesign .hero-phone {
    left: 52%;
    bottom: 75%;
    width: 180%;
  }
}

/* Phone — landscape */
@media (max-height: 600px) and (orientation: landscape) {
  section.hero.hero-redesign {
    height: auto;
    min-height: 0;
  }

  .hero-redesign .hero-scene {
    display: grid;
    grid-template-columns: 44% minmax(0, 56%);
    align-items: center;
    height: auto;
    min-height: 0;
    padding: 30px 0;
  }

  .hero-redesign .hero-copy {
    align-self: center;
    text-align: left;
  }

  .hero-redesign .hero-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
  }

  .hero-redesign .hero-copy > p:not(.hero-motto) {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-redesign .hero-copy .button {
    margin: 8px 0;
    padding: 10px 14px;
    font-size: 10px;
  }

  .hero-redesign .hero-copy .hero-motto {
    margin-top: 12px;
    font-size: 16px;
    text-align: left;
  }

  .hero-redesign .hero-artwork {
    height: 260px;
    margin-top: 15px;
  }

  .hero-redesign .hero-rules-display {
    flex-basis: 42%;
    width: 42%;
  }

  .hero-redesign .hero-phone {
    width: 165%;
  }
}

/* Comparison and testimonial */
#about .wrap > h2,
#about .wrap > .eyebrow {
  text-align: center;
}

#about .wrap > .eyebrow {
  margin-bottom: 22px;
}

/* Testimonial */
#about .testimonial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 24px);
  max-width: 900px;
  margin: 50px auto 0;
  padding-block: 15px;
  text-align: center;
}

#about .testimonial blockquote {
  flex: 1;
  min-width: 0;
  margin: 0;
}

#about .testimonial-stars {
  color: #f5ad21;
  font-size: 29px;
  letter-spacing: 5px;
  line-height: 1.3;
}

#about .testimonial p {
  margin: 18px 0 15px;
  color: #513b2b;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 31px);
  font-style: italic;
  line-height: 1.4;
}

#about .testimonial cite {
  color: #70635c;
  font-size: 16px;
  font-style: normal;
}

#about .testimonial-laurel {
  flex: 0 0 auto;
  width: clamp(45px, 7vw, 85px);
  height: 150px;
  object-fit: contain;
}

#about .testimonial-laurel.mirrored {
  transform: scaleX(-1);
}

/* Comparison cards */
#about .compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(24px, 4vw, 60px);
  margin-top: 80px;
}

#about .compare > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 35px clamp(22px, 3vw, 42px) 40px;
}

#about .compare > div:not(.roman-card) {
  position: relative;
  gap: 0;
  border: 2px solid #b7a79c;
  border-radius: 13px;
  background: linear-gradient(145deg, #e9e0d9, #d9cdc4);
  box-shadow: 0 5px 0 #776b6224, 0 12px 22px #6b412912;
  isolation: isolate;
}

#about .compare > div:not(.roman-card)::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid #a99a8e66;
  border-radius: 7px;
  pointer-events: none;
}

#about .compare > .compare-card {
  overflow: visible;
}

/* Card headings */
#about .compare h3 {
  position: relative;
  align-self: center;
  width: fit-content;
  max-width: 100%;
  margin: -54px 0 28px;
  padding: 9px 23px;
  border: 2px solid #a99b90;
  border-radius: 5px;
  background: linear-gradient(#e8dfd7, #d2c3b7);
  box-shadow: 0 2px 0 #76675c33;
  color: #70635c;
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transform: rotate(-2deg);
}

#about .compare > div:not(.compare-card) h3 {
  font-size: clamp(17px, 1.7vw, 20px);
}

#about .compare > .compare-card h3 {
  border-color: #b18a55;
  border-radius: 8px;
  background: linear-gradient(#fff7e5, #ead3ac);
  box-shadow: 0 4px 0 #9b6d5133;
  color: #513b2b;
  transform: none;
}

#about .compare h3 em {
  color: #8a4c22;
}

/* Comparison lists */
#about .compare-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#about .compare-list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.55;
}

#about .compare-list.old li {
  color: #827970;
  text-decoration: line-through;
  text-decoration-color: #9e8f84;
  text-decoration-thickness: 1.5px;
}

#about .compare-list.old li::before {
  content: '✕';
  position: absolute;
  left: 0;
  top: 0;
  color: #b75e50;
  font-size: 16px;
  font-weight: 700;
}

#about .compare-list.new li {
  padding-left: 38px;
  color: #4f493b;
}

#about .compare-list.new li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #58744a;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

/* Mobile — overlapping cards */
@media (max-width: 700px) {
  #about {
    padding-block: 62px;
  }

  #about .testimonial {
    gap: 5px;
    margin-top: 30px;
  }

  #about .testimonial-stars {
    font-size: 23px;
    letter-spacing: 3px;
  }

  #about .testimonial p {
    font-size: clamp(19px, 5vw, 24px);
  }

  #about .testimonial cite {
    font-size: 14px;
  }

  #about .testimonial-laurel {
    width: clamp(24px, 8vw, 35px);
    height: 125px;
  }

  #about .compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 65px;
  }

  #about .compare > div {
    padding: 35px 25px 32px;
  }

  #about .compare h3 {
    margin-top: -53px;
    font-size: 22px;
  }

  #about .compare > div:not(.compare-card) {
    z-index: 1;
    padding-bottom: 90px;
    transform: rotate(-1deg);
    opacity: .85;
  }

  #about .compare > .compare-card {
    z-index: 2;
    margin-top: -65px;
    transform: rotate(1deg);
  }
}

/* Roman learning section */
.roman-section {
  position: relative;
  isolation: isolate;
}

.roman-section > .wrap {
  position: relative;
  z-index: 1;
}

.roman-section > .wrap:first-child::after {
  content: '';
  position: absolute;
  top: 0;
  right: -40px;
  width: 400px;
  height: 400px;
  background: url('../assets/corner-right.png') top right / contain no-repeat;
  pointer-events: none;
}

.roman-section .roman-grid {
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
}

.roman-section .equation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 55px 25px;
  color: var(--brown);
  font-family: var(--font-display);
  text-align: center;
}

.roman-section .equation-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 52px 28px 44px;
}

.roman-section .equation-content > span {
  display: block;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: .05em;
}

.roman-section .equation-content small {
  display: block;
  margin-top: 16px;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 12pt;
  font-style: italic;
}

.roman-section .equation-laurel {
  position: absolute;
  width: clamp(110px, 12vw, 165px);
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.roman-section .laurel-bottom {
  right: -25px;
  bottom: -25px;
  transform: rotate(-5deg);
}

.roman-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.roman-feature {
  padding: 22px 20px;
  border: 1px solid;
  border-radius: 10px;
  text-align: center;
  box-shadow: none;
}

.roman-feature.see { background: #fce6d9; border-color: #efc5ae; }
.roman-feature.play { background: #fff0c8; border-color: #f3d486; }
.roman-feature.learn { background: #eeefd5; border-color: #c6cb96; }

.roman-feature h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
}

.roman-feature p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .roman-section .roman-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .roman-section .roman-copy {
    display: contents;
  }

  .roman-section .roman-intro {
    order: 1;
    margin-bottom: 24px;
  }

  .roman-section .equation {
    order: 2;
    width: 100%;
    margin: 0 0 32px;
    padding: 40px 20px;
  }

  .roman-section .equation-content {
    padding: 35px 18px;
  }

  .roman-section .equation-laurel {
    width: 100px;
  }

  .roman-section .laurel-bottom {
    right: -5px;
    bottom: 0;
  }

  .roman-section .roman-benefit {
    order: 3;
    margin: 0 0 28px;
  }

  .roman-section .roman-copy > .button {
    order: 4;
    justify-self: center;
    margin: 0;
  }

  .roman-features {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 25px;
  }

  .roman-feature {
    padding: 18px 20px;
  }
}

/* Roadmap */
.features,
.roadmap,
.products {
  display: grid;
  gap: 38px;
  margin-top: 45px;
  text-align: center;
}

#whats-next {
  position: relative;
}

.roadmap-intro {
  margin: 12px 0 0;
  text-align: left;
  color: var(--olive);
  font-size: 16px;
}

.roadmap {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 55px;
  padding-bottom: 20px;
}

.roadmap-path {
  position: absolute;
  left: 10%;
  top: 26px;
  width: 80%;
  height: 120px;
  pointer-events: none;
}

.roadmap article {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.roadmap-link {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.roadmap img {
  display: block;
  width: 170px;
  height: 170px;
  margin: 0 auto;
  border: 4px solid #fff;
  box-sizing: border-box;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(200, 116, 58, .28);
  transition: transform .3s ease, box-shadow .3s ease;
}

.roadmap-link:hover img,
.roadmap-link:focus-visible img {
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 214, 120, .8);
}

.roadmap-stem {
  width: 2px;
  height: 28px;
  background: #c8743a;
}

.roadmap-tag {
  position: relative;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid #dfb88d;
  border-radius: 8px;
  background: #fff5e4;
  color: #a75d34;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(155, 96, 45, .08);
}

.roadmap-panel {
  position: relative;
  max-width: 320px;
  min-height: 135px;
  margin: -12px auto 0;
  padding: 36px 20px 26px;
  box-sizing: border-box;
  background: rgba(255, 249, 235, .7);
  border: 1px solid #dfb88d;
  border-radius: 14px 14px 20px 20px;
  box-shadow: 0 12px 28px rgba(155, 96, 45, .09);
}

.roadmap h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--olive);
}

.roadmap p {
  margin: 8px auto 0;
  max-width: 250px;
  font-size: 14px;
  line-height: 1.5;
}

.roadmap.is-visible article {
  animation: roadmapReveal .65s ease-out forwards;
}

.roadmap.is-visible article:nth-of-type(1) {
  animation-delay: .3s;
}

.roadmap.is-visible article:nth-of-type(2) {
  animation-delay: 1.4s;
}

.roadmap.is-visible article:nth-of-type(3) {
  animation-delay: 2.5s;
}

.roadmap.is-visible article:first-of-type img {
  animation: roadmapGlow 2.2s ease-in-out .5s forwards;
}

@keyframes roadmapReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes roadmapGlow {
  0% {
    box-shadow: 0 0 0 rgba(255, 214, 120, 0);
  }

  45% {
    box-shadow: 0 0 42px 12px rgba(255, 214, 120, .85);
  }

  100% {
    box-shadow: 0 0 25px 5px rgba(255, 214, 120, .55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .roadmap article {
    opacity: 1;
    transform: none;
  }

  .roadmap.is-visible article,
  .roadmap.is-visible article:first-of-type img {
    animation: none;
  }
}

/* Products */
.products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

@media (min-width: 667px) and (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 666px) {
  .products {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 8px 8px 22px;
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.products img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 9px 9px 4px 4px;
}

.products h3,
.products p,
.products span {
  margin-left: 12px;
  margin-right: 12px;
}

.products h3 {
  margin-top: 20px;
  margin-bottom: 4px;
  color: var(--olive);
  font-size: 11pt;
  font-weight: 500;
  line-height: 1.4;
}

.products p {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: clamp(11px, 3.2vw, 13px);
  line-height: 1.6;
}

.products span {
  display: block;
  margin-top: auto;
  padding-top: 15px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

.product:hover,
.product:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 12px 0 #a47b4d40, 0 24px 34px #6b412933;
}

.product:hover span,
.product:focus-visible span {
  color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .product {
    transition: none;
  }

  .product:hover,
  .product:focus-visible {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .product {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto 1fr;
    align-items: start;
    column-gap: 20px;
    padding: 12px;
    text-align: left;
  }

  .products img {
    grid-row: 1 / 6;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  .products h3 {
    grid-row: 2;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
  }

  .products p {
    grid-row: 3;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  .products span {
    grid-row: 4;
    align-self: auto;
    margin: 12px 0 0;
    padding: 0;
    font-size: 11px;
  }
}

/* FAQ */
.faq {
  text-align: center;
}

.faq-card {
  margin-top: 40px;
  padding: 20px 40px;
}

.faq details {
  padding: 24px 0;
  border-bottom: 1px solid #f0dfc8;
  text-align: left;
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #3d5230;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "▸";
  color: #c8743a;
  transition: transform 0.2s ease;
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq details p {
  margin: 14px 0 0 32px;
  font-size: 14px;
  line-height: 1.6;
}

.faq details a {
  color: var(--brown);
  font-weight: 600;
  text-decoration: none;
}

.faq details a:hover {
  color: var(--orange);
}

/* Early-access signup */
.join {
  background: var(--olive);
  color: #fff;
  padding: 90px 0;
  text-align: left;
}

.join-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

.join-copy {
  position: relative;
  max-width: 440px;
}

.join-copy::after {
  content: '';
  position: absolute;
  left: -60px;
  bottom: -60px;
  width: 130px;
  height: 130px;
  background: url('../assets/laurel-green.png') center / contain no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .join-copy::after {
    left: -25px;
    bottom: -25px;
    width: 85px;
    height: 85px;
  }
}

.join h2 {
  color: #f7eee2;
}

.join .light {
  color: #ead79a;
}

.join-card {
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 40px;
  color: var(--ink);
  text-align: left;
}

.join-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.join-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.join-field label {
  font-size: 14px;
  font-weight: 600;
}

.join-field label:first-of-type {
  margin-top: 0;
}

.join-field label b {
  color: #c0392b;
}

.join-field input {
  box-sizing: border-box;
  width: 100%;
  padding: 0 18px;
  min-height: 54px;
  border: 1.5px solid #e8cfae;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.join-field input:focus {
  outline: 2px solid var(--olive);
  outline-offset: 2px;
}

.join-submit {
  min-height: 42px;
  margin: 4px 0 0;
  padding: 8px 22px;
  font-size: 11px;
}

.join-success {
  padding: 24px 0;
  text-align: center;
}

.join-success h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--heading);
}

.join-success p {
  margin: 0;
  color: var(--ink);
}

#status {
  display: none;
  padding: 12px;
  border-radius: 5px;
  background: #fff;
  color: #244c34;
}

/* Shared mobile layout */
@media (max-width: 700px) {
  .roman-section > .wrap:first-child::after {
    top: -0;
    right: -3px;
    width: 300px;
    height: 300px;
    opacity: .7;
  }

  .roman-grid,
  .compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
  }

  .roman-grid > *,
  .compare > * {
    min-width: 0;
  }

  .decorated {
    min-height: 25vh;
    min-width: 0;
  }

  .decorated::before,
  .decorated::after {
    width: 250px;
    height: 250px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .features img {
    width: 120px;
    height: 120px;
  }

  .roadmap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .roadmap-path {
    display: none;
  }

  .roadmap img {
    width: 145px;
    height: 145px;
  }

  .products {
    gap: 30px;
  }

  .products img {
    width: 100%;
    margin: auto;
  }

  .equation small {
    margin-top: 16px;
  }

  .join-card {
    padding: 24px 20px;
  }

  .join form {
    padding: 0;
  }

  .join-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .join-copy::after { display: none; }

  .join-card::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -20px;
    bottom: -25px;
    width: 100px;
    height: 100px;
    background: url('../assets/laurel-green.png') center / contain no-repeat;
    transform: scaleX(-1);
    pointer-events: none;
  }

}

/* Small phones */
@media (max-width: 420px) {
  .hero-redesign .hero-scene { padding-top: 35px; }
  .hero-redesign .hero-copy h1 { font-size: clamp(36px, 10vw, 44px); }
  .hero-redesign .hero-artwork { height: 72vw; margin-top: 45px; }
  .faq-card { padding: 12px 18px; }
  .faq summary { font-size: 15px; }
  .faq details p { margin-left: 25px; }
  .join { padding: 65px 0; }
}
