/* =========================================================
   TAPHELP — 540px FINAL VIEW
   Active range: 540px–599px

   Rules:
   - preserve standardized component typography/icons/styling
   - change only layout, measure, spacing and approved wrapping
   - 480px and 600px remain untouched
   ========================================================= */

html,
body {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.container,
.hero__inner,
.intro__inner,
.faq__inner,
.footer__inner {
  width: auto;
  max-width: none;
  margin-left: 20px;
  margin-right: 20px;
}

/* =========================================================
   INTRO
   ========================================================= */

.intro__title {
  font-size: 0;
  line-height: 0;
}

.intro__title::before {
  content:
    "We ask a lot of our\A"
    "iPhones and iPads.";
  display: block;
  white-space: pre;
  font-size: 28px;
  line-height: 1.1;
  color: var(--blue);
  font-weight: 600;
}

.intro__copy {
  width: 450px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transform: none;
}

.intro__copy p:first-child {
  font-size: 0;
  line-height: 0;
}

.intro__copy p:first-child::before {
  content:
    "They keep us connected, hold our photos, play our music\A"
    "and help us get through the day. But when something\A"
    "changes or stops working, a device that makes life\A"
    "easier can suddenly become frustrating.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

.intro__copy p:nth-child(2),
.intro__copy p:nth-child(3),
.intro__copy p:nth-child(4) {
  max-width: 450px;
  text-wrap: pretty;
}

/* =========================================================
   SERVICES — STANDARDIZED COMPONENT, LAYOUT ONLY
   ========================================================= */

.service-grid {
  grid-template-columns: 1fr;
  gap: 16px;
  width: auto;
  margin-left: 20px;
  margin-right: 20px;
}

/* Do not alter .service-card internals at 540px. */

/* =========================================================
   AS EASY AS — APPROVED MOBILE MEASURE
   ========================================================= */

.steps-grid {
  grid-template-columns: 330px;
  gap: 18px;
  width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.step-card {
  width: 330px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about-card {
  width: calc(100% - 40px);
  margin-left: 20px;
  margin-right: 20px;
  padding-left: 24px;
  padding-right: 24px;
}

.about-card__body {
  width: 440px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transform: translateX(6px);
  text-align: left;
}

.about-card__body p:first-child,
.about-card__body p:nth-child(2) {
  font-size: 0;
  line-height: 0;
}

.about-card__body p:first-child::before {
  content:
    "I provide patient, one-on-one help with everyday\A"
    "iPhone and iPad problems.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

.about-card__body p:first-child::after {
  content:
    "We work by phone or screen share, at your pace,\A"
    "without jargon or judgment.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
  margin-top: 14px;
}

.about-card__body p:nth-child(2) {
  margin-top: 14px;
}

.about-card__body p:nth-child(2)::before {
  content:
    "I have 15 years of professional IT help desk and\A"
    "technical support experience.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

.about-card__body p:nth-child(2)::after {
  content:
    "For more than 25 years, I’ve also been the person\A"
    "family and friends turn to when they need help with\A"
    "everyday technology.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
  margin-top: 14px;
}

.about-card__direct {
  margin-top: 16px;
  transform: none;
}

/* =========================================================
   PRICING
   ========================================================= */

.price-card {
  width: 330px;
  margin-left: auto;
  margin-right: auto;
}

.price-card__price,
.price-card p:nth-child(2),
.price-card p:nth-child(3) {
  transform: none;
}

.price-card p:nth-child(2),
.price-card p:nth-child(3) {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========================================================
   FAQ — MANUAL TEXT COMPOSITION
   Edit quoted lines below.
   \A = forced line break.
   ========================================================= */

.faq__inner {
  width: auto;
  margin-left: 20px;
  margin-right: 20px;
}

.faq details summary {
  padding-left: 12px;
  padding-right: 38px;
}

.faq details:nth-of-type(1) summary,
.faq details:nth-of-type(2) summary,
.faq details:nth-of-type(3) summary,
.faq details:nth-of-type(4) summary {
  font-size: 0;
  line-height: 0;
}

/* FAQ 1 QUESTION */
.faq details:nth-of-type(1) summary::before {
  content:
    "How does screen sharing work?";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

/* FAQ 2 QUESTION */
.faq details:nth-of-type(2) summary::before {
  content:
    "Will you need my passwords or verification codes?";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

/* FAQ 3 QUESTION */
.faq details:nth-of-type(3) summary::before {
  content:
    "What kinds of problems can you help me with?";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

/* FAQ 4 QUESTION */
.faq details:nth-of-type(4) summary::before {
  content:
    "What if my problem can't be fixed\A"
    "during the appointment?";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.faq details:nth-of-type(1) .faq__answer,
.faq details:nth-of-type(2) .faq__answer,
.faq details:nth-of-type(3) .faq__answer,
.faq details:nth-of-type(4) .faq__answer {
  font-size: 0;
  line-height: 0;
  padding-left: 12px;
  padding-right: 12px;
}

/* FAQ 1 ANSWER */
.faq details:nth-of-type(1) .faq__answer::before {
  content:
    "You share your screen so I can see what you’re seeing\A"
    "and guide you step by step. You remain in control of\A"
    "your iPhone or iPad the entire time.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

/* FAQ 2 ANSWER */
.faq details:nth-of-type(2) .faq__answer::before {
  content:
    "You enter your own passwords and verification codes.\A"
    "You should never give anyone your passwords\A"
    "or security codes.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

/* FAQ 3 ANSWER */
.faq details:nth-of-type(3) .faq__answer::before {
  content:
    "I can help with everyday iPhone and iPad issues such as\A"
    "Wi-Fi, texts, photos, email, settings, suspicious messages\A"
    "or scams, and other common questions.\A";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

/* FAQ 4 ANSWER */
.faq details:nth-of-type(4) .faq__answer::before {
  content:
    "If the problem requires something beyond what I can\A"
    "safely handle remotely, I’ll explain what the next step\A"
    "should be and help point you in the right direction.";
  display: block;
  white-space: pre;
  font-size: 18px;
  line-height: 1.55;
}

/* =========================================================
   CTA
   ========================================================= */

.cta h2,
.cta__phone,
.cta__button {
  transform: none;
}

.cta p {
  width: 280px;
  max-width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  transform: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  padding-left: 20px;
  padding-right: 20px;
}

.footer__inner {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer__legal {
  width: 470px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transform: none;
}
