/* Entry stylesheet: defines the responsive product page, real screenshot presentation, and problem-to-solution hierarchy. */
:root {
  color-scheme: light;
  --ink: #14201c;
  --muted: #5e6b65;
  --line: #dbe4df;
  --paper: #ffffff;
  --wash: #f5f8f6;
  --green: #1d7a55;
  --green-dark: #10533b;
  --orange: #e46a1a;
  --shadow: 0 24px 70px rgba(19, 34, 29, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
/* Preserve every image's intrinsic aspect ratio when responsive layouts change its width. */
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand, .nav-links, .hero-actions, .site-footer nav { display: flex; align-items: center; }
.brand { gap: 10px; font-weight: 800; }
.brand img { border-radius: 10px; box-shadow: 0 8px 20px rgba(20, 32, 28, 0.16); }
.nav-links { gap: clamp(12px, 2vw, 28px); color: var(--muted); font-size: 15px; font-weight: 700; }
.nav-links a:hover, .site-footer a:hover { color: var(--ink); }
.nav-cta { color: var(--green-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(38px, 8vw, 120px);
  align-items: center;
  min-height: calc(100vh - 69px);
  padding: clamp(52px, 8vw, 110px) clamp(20px, 7vw, 104px);
  overflow: hidden;
}
.hero-copy { max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(48px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.04em; }
.hero-lede { max-width: 640px; margin-bottom: 30px; color: #33423d; font-size: clamp(18px, 2vw, 23px); }
.hero-actions { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 8px; font-weight: 800; white-space: nowrap; }
.button.primary { color: #fff; background: var(--green-dark); box-shadow: 0 14px 28px rgba(16, 83, 59, 0.24); }
.button.primary:hover { background: #0d4632; }
.button.secondary { color: var(--green-dark); background: #fff; border-color: var(--line); }
.button.secondary:hover { border-color: #a9bbb2; }
.hero-note { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.hero-shot { width: min(430px, 100%); justify-self: center; padding: 10px; background: #10201a; border-radius: 34px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-shot img { width: 100%; height: auto; object-fit: contain; border-radius: 26px; }

.section { padding: clamp(68px, 9vw, 120px) clamp(20px, 7vw, 104px); }
.section-heading { max-width: 820px; margin-bottom: 36px; }
.section-heading h2, .final-cta h2 { margin-bottom: 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1.03; letter-spacing: -0.035em; }
.section-intro { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 18px; }

.solutions { background: #fff; border-block: 1px solid var(--line); }
.solution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.solution-card { min-height: 100%; padding: 26px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.solution-number { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 28px; color: #fff; background: var(--green-dark); border-radius: 9px; font-size: 13px; font-weight: 850; }
.problem-label, .answer-label { margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.solution-card h3 { min-height: 58px; margin-bottom: 20px; font-size: 24px; line-height: 1.14; letter-spacing: -0.02em; }
.solution-divider { width: 100%; height: 1px; margin-bottom: 20px; background: var(--line); }
.answer-label { color: var(--green); }
.solution-card p:last-child { margin-bottom: 0; color: #33423d; }

.promise-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 clamp(20px, 7vw, 104px); background: var(--green-dark); border-radius: 12px; color: #e6f4ed; overflow: hidden; }
.promise-strip p { margin: 0; padding: 23px; }
.promise-strip p + p { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.promise-strip strong { display: block; margin-bottom: 3px; color: #fff; font-size: 19px; }

.screenshots { background: var(--wash); }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.screenshot-card { margin: 0; }
.screenshot-card img { width: 100%; height: auto; object-fit: contain; border-radius: 16px; box-shadow: 0 18px 46px rgba(20, 32, 28, 0.14); transition: transform 180ms ease, box-shadow 180ms ease; }
.screenshot-card:hover img { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(20, 32, 28, 0.2); }
.screenshot-card figcaption { padding: 17px 3px 0; }
.screenshot-card figcaption strong, .screenshot-card figcaption span { display: block; }
.screenshot-card figcaption strong { margin-bottom: 3px; font-size: 18px; }
.screenshot-card figcaption span { color: var(--muted); font-size: 14px; }

.workflow { background: #eaf3ee; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 0; list-style: none; }
.steps li { display: flex; gap: 16px; padding: 23px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.steps span { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 35px; height: 35px; color: var(--green-dark); background: #dff3ea; border-radius: 50%; font-weight: 850; }
.steps h3 { margin-bottom: 5px; font-size: 19px; }
.steps p { margin-bottom: 0; color: var(--muted); }

.guides { background: var(--wash); }
.related-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-link-card { display: flex; min-height: 170px; flex-direction: column; justify-content: space-between; gap: 28px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color 160ms ease, transform 160ms ease; }
.guide-link-card:hover { border-color: #a9bbb2; transform: translateY(-3px); }
.guide-link-card span { color: var(--green); font-size: 12px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-link-card strong { font-size: 21px; line-height: 1.2; }

/* Guide entry: gives each problem-focused article a readable answer-first layout and an untransformed product screen. */
.guide-main { background: #fff; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr); gap: clamp(42px, 8vw, 112px); align-items: center; padding: clamp(58px, 8vw, 106px) clamp(20px, 7vw, 104px); background: var(--wash); border-bottom: 1px solid var(--line); }
.guide-hero-copy { max-width: 760px; }
.guide-hero h1 { max-width: 830px; font-size: clamp(43px, 6vw, 76px); }
.guide-answer { max-width: 710px; margin-bottom: 28px; color: #33423d; font-size: clamp(18px, 2vw, 22px); }
.product-identity { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.guide-shot { width: min(390px, 100%); justify-self: center; padding: 9px; background: #10201a; border-radius: 32px; box-shadow: var(--shadow); }
/* Core image rule: intrinsic dimensions and containment keep the real App Store screens from stretching at any viewport. */
.guide-shot img, .guide-figure img { width: 100%; height: auto; object-fit: contain; transform: none; }
.guide-shot img { border-radius: 24px; }
.guide-section { display: grid; grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.72fr); gap: clamp(34px, 8vw, 118px); padding: clamp(70px, 9vw, 118px) clamp(20px, 7vw, 104px); border-bottom: 1px solid var(--line); }
.guide-section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.guide-body { max-width: 760px; }
.guide-body > p { color: #33423d; font-size: 18px; }
.guide-body > p:last-child { margin-bottom: 0; }
.problem-points { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; }
.problem-points li { padding: 18px 20px; background: var(--wash); border-left: 4px solid var(--orange); }
.guide-steps { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: guide-step; }
.guide-steps li { position: relative; padding: 22px 22px 22px 72px; background: var(--wash); border: 1px solid var(--line); border-radius: 10px; counter-increment: guide-step; }
.guide-steps li::before { position: absolute; top: 21px; left: 22px; display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; color: #fff; background: var(--green-dark); border-radius: 50%; content: counter(guide-step); font-weight: 850; }
.guide-steps strong { display: block; margin-bottom: 5px; font-size: 19px; }
.guide-steps p { margin-bottom: 0; color: var(--muted); }
.guide-product { background: #eaf3ee; }
.guide-figure { display: grid; grid-template-columns: minmax(250px, 360px) minmax(0, 1fr); gap: clamp(30px, 6vw, 76px); align-items: center; margin: 0; }
.guide-figure img { border-radius: 16px; box-shadow: 0 18px 46px rgba(20, 32, 28, 0.14); }
.guide-figure figcaption { color: #33423d; font-size: 18px; }
.guide-figure figcaption strong { display: block; margin-bottom: 10px; color: var(--ink); font-size: clamp(26px, 3vw, 39px); line-height: 1.08; }
.fit-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.fit-list li { padding: 8px 13px; color: var(--green-dark); background: #e4f2eb; border-radius: 999px; font-size: 14px; font-weight: 750; }
.guide-related { background: var(--wash); }

/* Support entry: keeps urgent contact visible while organizing answers around user problems and next actions. */
.support-main { background: #fff; }
.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.6fr);
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  padding: clamp(62px, 9vw, 120px) clamp(20px, 7vw, 104px);
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}
.support-hero-copy { max-width: 790px; }
.support-hero h1 { max-width: 900px; font-size: clamp(45px, 6.4vw, 80px); }
.support-lede { max-width: 720px; margin-bottom: 28px; color: #33423d; font-size: clamp(18px, 2vw, 23px); }
.support-summary { padding: clamp(26px, 4vw, 38px); color: #e6f4ed; background: var(--green-dark); border-radius: 14px; box-shadow: var(--shadow); }
.support-summary .problem-label { color: #f5c9ac; }
.support-summary .answer-label { color: #98ddbd; }
.support-summary ul { display: grid; gap: 14px; padding: 0; margin: 0 0 30px; list-style: none; }
.support-summary li { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.support-summary p:last-child { margin-bottom: 0; }
.support-section { padding: clamp(72px, 9vw, 120px) clamp(20px, 7vw, 104px); }
.support-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-answer { padding: clamp(24px, 3vw, 34px); background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.support-answer h3 { min-height: 58px; margin-bottom: 24px; font-size: clamp(22px, 2.4vw, 29px); line-height: 1.13; letter-spacing: -0.02em; }
.support-answer .answer-label { padding-top: 20px; border-top: 1px solid var(--line); }
.support-answer p:last-child { margin-bottom: 0; color: #33423d; }
.support-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin: 0 clamp(20px, 7vw, 104px);
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: var(--green-dark);
  border-radius: 14px;
}
.support-contact h2 { margin-bottom: 12px; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.support-contact p:last-child { max-width: 760px; margin-bottom: 0; color: #dceee6; }
.support-contact .eyebrow { color: #98ddbd; }
.support-contact .button.primary { color: var(--green-dark); background: #fff; box-shadow: none; }
.support-guides { background: var(--wash); }
.support-links { display: grid; grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1fr); gap: clamp(36px, 8vw, 112px); padding: clamp(72px, 9vw, 112px) clamp(20px, 7vw, 104px); }
.support-links h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
.support-links nav { display: grid; border-top: 1px solid var(--line); }
.support-links a { display: flex; justify-content: space-between; gap: 20px; padding: 19px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.support-links a:hover { color: var(--green); }

.faq { background: #fff; }
.faq-list { display: grid; gap: 12px; max-width: 900px; }
details { padding: 18px 20px; background: var(--wash); border: 1px solid var(--line); border-radius: 9px; }
summary { cursor: pointer; font-weight: 800; }
details p { margin: 12px 0 0; color: var(--muted); }

.final-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin: 0 clamp(20px, 7vw, 104px) clamp(56px, 7vw, 86px); padding: 30px; color: #fff; background: var(--green-dark); border-radius: 12px; }
.final-cta img { border-radius: 18px; }
.final-cta h2 { margin-bottom: 0; font-size: clamp(28px, 4vw, 48px); }
.final-cta p { margin: 8px 0 0; color: #dceee6; }
.final-cta .button.primary { color: var(--green-dark); background: #fff; box-shadow: none; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px clamp(20px, 7vw, 104px); color: var(--muted); background: #fff; border-top: 1px solid var(--line); }
.site-footer p { margin: 0; }
.site-footer nav { gap: 18px; }

@media (max-width: 980px) {
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-shot { width: min(390px, 80vw); }
  .solution-grid, .screenshot-grid, .steps, .related-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-shot { grid-column: span 2; max-width: 390px; }
  .final-cta { grid-template-columns: 1fr; justify-items: start; }
  .guide-hero { grid-template-columns: 1fr; }
  .guide-shot { width: min(360px, 76vw); }
  .guide-section { grid-template-columns: 1fr; }
  .support-hero, .support-links { grid-template-columns: 1fr; }
  .support-answer-grid { grid-template-columns: 1fr; }
  .support-contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header { position: static; align-items: flex-start; }
  .nav-links { display: none; }
  h1 { font-size: clamp(43px, 13vw, 60px); }
  .hero { padding-top: 54px; }
  .hero-shot { width: min(350px, 88vw); }
  .solution-grid, .screenshot-grid, .steps, .promise-strip, .related-guides { grid-template-columns: 1fr; }
  .featured-shot { grid-column: auto; max-width: none; }
  .promise-strip { margin-inline: 20px; }
  .promise-strip p + p { border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .button { width: 100%; white-space: normal; text-align: center; }
  .site-footer { flex-direction: column; }
  .guide-hero { padding-top: 52px; }
  .guide-shot { width: min(340px, 88vw); }
  .guide-figure { grid-template-columns: 1fr; }
  .guide-figure img { width: min(330px, 100%); margin-inline: auto; }
  .support-hero { padding-top: 52px; }
  .support-answer h3 { min-height: 0; }
  .support-contact { margin-inline: 20px; }
}
