/* Homepage brief, sections 05–09. Shared foundations live in home-brief.css. */

.purchase-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: purchase;
}
.purchase-timeline li {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 184px;
  padding: 25px 0 29px;
  border-top: 1px solid var(--line);
}
.step-no {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #c4c9ce;
  border-radius: 50%;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.purchase-timeline h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 6px 0 11px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.025em;
}
.purchase-timeline h3 strong {
  padding: 4px 7px;
  border-radius: 4px;
  background: #f8e7dc;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -.015em;
}
.purchase-timeline p,
.payment-note p,
.inspection-card p,
.protection-card p,
.protection-note p,
.story-body p,
.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
.payment-note {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ebece8;
}
.payment-note-icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}
.payment-note h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.payment-note p { max-width: 930px; }
.section-fineprint {
  max-width: 1010px;
  margin: 17px 0 0;
  color: #7a8189;
  font-size: 10px;
  line-height: 1.85;
}

#inspection {
  background: var(--navy);
  color: #f7f5ee;
}
#inspection .section-kicker { color: #9da9b8; }
#inspection .section-kicker > span { color: #c8a27a; }
#inspection .section-heading h2 { color: #f7f5ee; }
#inspection .section-heading h2 em { color: #d4ac7e; font-style: normal; }
#inspection .section-heading p { color: #aeb8c5; }
#inspection .section-heading { margin-bottom: 26px; }
.inspection-tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 36px;
  padding: 9px 13px;
  border: 1px solid #394553;
  border-radius: 4px;
  color: #d4b38e;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .025em;
}
.inspection-tag > span { color: #d4b38e; font-size: 14px; }
.inspection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #334052;
  border-left: 1px solid #334052;
}
.inspection-card {
  position: relative;
  min-height: 248px;
  padding: 29px 31px 31px;
  border-right: 1px solid #334052;
  border-bottom: 1px solid #334052;
  background: linear-gradient(145deg, #ffffff02, #ffffff00);
}
.inspection-card > svg {
  display: block;
  width: 55px;
  height: 55px;
  margin-bottom: 27px;
  color: #c5a27e;
}
.inspection-card-number {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #69778a;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
}
.inspection-card h3 {
  margin: 0 0 11px;
  color: #f0f1ee;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.02em;
}
.inspection-card p { max-width: 310px; color: #aab6c6; }
#inspection .section-action { margin-top: 34px; }
#inspection .section-action > p {
  margin: 0;
  color: #aab6c6;
  font-size: 12px;
  line-height: 1.8;
}

#protection { background: var(--paper); }
.protection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.protection-card {
  min-height: 225px;
  padding: 25px 24px 28px;
  border: 1px solid #e1e3df;
  border-radius: 8px;
  background: #f6f6f2;
}
.service-no {
  display: block;
  margin-bottom: 29px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
}
.protection-card h3 {
  margin: 0 0 11px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -.025em;
}
.protection-card p { font-size: 11px; line-height: 1.85; }
.warranty-card { border-color: var(--navy); background: var(--navy); }
.warranty-period {
  display: block;
  margin: 0 0 23px;
  color: #d6af82;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.05em;
}
.warranty-card h3 { color: #faf8f2; }
.warranty-card p { color: #abb7c5; }
.protection-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 22px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.protection-note h3 {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.protection-note p { max-width: 920px; }
.protection-note > svg { flex: 0 0 47px; width: 47px; height: 47px; color: #a4977e; }
#protection .section-action { gap: 30px; margin-top: 30px; }
.contract-emphasis {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: -.03em;
}
.contract-emphasis strong { color: var(--orange); font-weight: 500; }

.stories-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.story-card {
  overflow: hidden;
  align-self: start;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #e7eae2;
  color: var(--ink);
}
.story-card:nth-child(2) { background: var(--navy); border-color: var(--navy); color: #f7f5ef; }
.story-card:nth-child(3) { background: #e9dfd2; border-color: #e0d6c7; }
.story-card:nth-child(4) { background: #e0e6e8; border-color: #d4dcdf; }
.story-card > summary {
  display: flex;
  flex-direction: column;
  min-height: 302px;
  padding: 25px 24px 22px;
  cursor: pointer;
  list-style: none;
}
.story-card > summary::-webkit-details-marker,
.faq-item > summary::-webkit-details-marker { display: none; }
.story-model {
  display: block;
  margin-bottom: 37px;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.story-card:nth-child(2) .story-model { color: #d7b089; }
.story-title {
  display: block;
  margin-bottom: 27px;
  font-size: 21px;
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -.04em;
}
.story-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #14243b26;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
}
.story-open > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #14243b35;
  border-radius: 50%;
  font-size: 15px;
  transition: transform .2s ease;
}
.story-card:nth-child(2) .story-open { border-color: #ffffff30; }
.story-card:nth-child(2) .story-open > span { border-color: #ffffff40; }
.story-card[open] .story-open > span { transform: rotate(90deg); }
.story-body { padding: 0 24px 24px; }
.story-body p { color: #505f68; }
.story-card:nth-child(2) .story-body p { color: #b5c0cc; }
.story-card > summary:hover .story-open { color: var(--orange-dark); }
.story-card:nth-child(2) > summary:hover .story-open { color: #e5bb8b; }
.stories-section .section-action { margin-top: 31px; }
.stories-section .section-action p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

#questions { background: #fbfbf8; }
.faq-layout { display: grid; grid-template-columns: .76fr 1.4fr; gap: 90px; align-items: start; }
.faq-intro { position: sticky; top: 118px; }
.faq-intro .section-heading { display: block; margin-bottom: 27px; }
.faq-intro .section-heading h2 { margin: 0 0 22px; }
.faq-intro .section-heading p { max-width: 290px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 79px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.015em;
}
.faq-toggle {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #d3d8d6;
  border-radius: 50%;
  color: #526274;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); border-color: var(--ink); background: var(--ink); color: white; }
.faq-item > summary:hover { color: var(--orange-dark); }
.faq-answer { max-width: 620px; padding: 0 37px 26px 0; }
.faq-answer p + p { margin-top: 12px; }
.story-card > summary:focus-visible,
.faq-item > summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 3px; }

@media (max-width: 1000px) {
  .purchase-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .purchase-timeline li { min-height: 164px; }
  .inspection-card { padding: 25px 22px 28px; }
  .inspection-card-number { top: 27px; right: 23px; }
  .inspection-card h3 { font-size: 16px; }
  .protection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protection-card { min-height: 205px; }
  .protection-card p { font-size: 12px; }
  .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-card > summary { min-height: 287px; padding: 26px; }
  .story-title { max-width: 260px; font-size: 25px; }
  .story-body { padding: 0 26px 26px; }
  .faq-layout { grid-template-columns: .75fr 1.4fr; gap: 43px; }
  .faq-item > summary { font-size: 15px; gap: 18px; }
  .faq-answer { padding-right: 12px; }
  .contract-emphasis { font-size: 21px; }
}

@media (max-width: 650px) {
  .purchase-timeline { grid-template-columns: minmax(0, 1fr); }
  .purchase-timeline li { min-height: 0; padding: 22px 0 24px; gap: 16px; }
  .purchase-timeline h3 { margin-top: 6px; margin-bottom: 9px; font-size: 16px; }
  .purchase-timeline p { font-size: 12px; line-height: 1.8; }
  .purchase-timeline li:last-child { border-bottom: 1px solid var(--line); }
  .payment-note { align-items: flex-start; gap: 14px; padding: 21px 17px; margin-top: 23px; }
  .payment-note-icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 19px; }
  .payment-note h3 { margin-bottom: 8px; font-size: 14px; line-height: 1.4; }
  .payment-note p { font-size: 11px; }
  .section-fineprint { margin-top: 15px; font-size: 9px; line-height: 1.85; }
  #inspection .section-heading { margin-bottom: 22px; }
  .inspection-tag { gap: 8px; margin-bottom: 28px; padding: 9px 10px; font-size: 10px; }
  .inspection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspection-card { min-height: 0; padding: 23px 16px 25px; }
  .inspection-card > svg { width: 45px; height: 45px; margin-bottom: 27px; }
  .inspection-card-number { top: 24px; right: 15px; font-size: 9px; }
  .inspection-card h3 { margin-bottom: 10px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
  .inspection-card p { font-size: 11px; line-height: 1.8; }
  #inspection .section-action { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
  #inspection .section-action > p { max-width: 270px; font-size: 11px; }
  .protection-grid { gap: 10px; }
  .protection-card { min-height: 0; padding: 20px 16px 23px; }
  .service-no { margin-bottom: 24px; font-size: 10px; }
  .protection-card h3 { margin-bottom: 9px; font-size: 14px; line-height: 1.4; }
  .protection-card p { font-size: 10px; line-height: 1.8; }
  .warranty-period { margin-bottom: 22px; font-size: 26px; }
  .protection-note { gap: 18px; align-items: flex-start; margin-top: 17px; padding: 23px 0; }
  .protection-note > svg { flex-basis: 34px; width: 34px; height: 34px; }
  .protection-note h3 { font-size: 14px; line-height: 1.5; }
  .protection-note p { font-size: 11px; }
  #protection .section-action { flex-direction: column; align-items: flex-start; margin-top: 25px; gap: 22px; }
  .contract-emphasis { font-size: 22px; line-height: 1.45; }
  .contract-emphasis br { display: none; }
  .stories-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .story-card > summary { min-height: 270px; padding: 25px 26px 22px; }
  .story-model { margin-bottom: 31px; font-size: 10px; }
  .story-title { max-width: 320px; margin-bottom: 24px; font-size: 26px; }
  .story-open { padding-top: 15px; font-size: 11px; }
  .story-body { padding: 0 26px 24px; }
  .story-body p { font-size: 12px; }
  .stories-section .section-action { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 27px; }
  .stories-section .section-action p { max-width: 270px; font-size: 11px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .faq-intro { position: static; }
  .faq-intro .section-heading { margin-bottom: 24px; }
  .faq-intro .section-heading h2 { margin-bottom: 17px; }
  .faq-intro .section-heading h2 br { display: none; }
  .faq-intro .section-heading p { max-width: 300px; }
  .faq-item > summary { gap: 18px; min-height: 77px; padding: 21px 0; font-size: 15px; line-height: 1.5; }
  .faq-toggle { flex-basis: 25px; width: 25px; height: 25px; }
  .faq-answer { padding: 0 18px 24px 0; }
  .faq-answer p { font-size: 12px; line-height: 1.85; }
}

@media (max-width: 370px) {
  .purchase-timeline li { grid-template-columns: 31px minmax(0, 1fr); gap: 12px; }
  .step-no { width: 31px; height: 31px; font-size: 9px; }
  .purchase-timeline h3 { margin-top: 4px; font-size: 15px; }
  .payment-note { gap: 11px; padding: 18px 13px; }
  .inspection-tag { font-size: 9px; }
  .inspection-card { padding-right: 12px; padding-left: 12px; }
  .inspection-card h3 { font-size: 14px; }
  .inspection-card p { font-size: 10px; }
  .inspection-card > svg { width: 39px; height: 39px; }
  .protection-grid { grid-template-columns: minmax(0, 1fr); }
  .protection-card { padding: 23px; }
  .service-no { margin-bottom: 17px; }
  .protection-card h3 { font-size: 16px; }
  .protection-card p { font-size: 12px; }
  .warranty-period { margin-bottom: 17px; font-size: 30px; }
  .protection-note > svg { display: none; }
  .contract-emphasis { font-size: 20px; }
  .story-card > summary { padding-right: 22px; padding-left: 22px; }
  .story-title { font-size: 23px; }
  .story-body { padding-right: 22px; padding-left: 22px; }
  .faq-item > summary { font-size: 14px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-open > span, .faq-toggle { transition: none; }
}
