/* Raxak for iPhone and iPad: styles shared by the pages under /ios/ (on top of ../android/help.css) */
/* iOS chip in the nav (mirrors .android-chip) */
.ios-chip {
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  color: var(--blue-dark); background: var(--blue-100);
  border: 1px solid rgba(2,112,200,.25);
  padding: 3px 10px; border-radius: 12px; white-space: nowrap;
}
@media (max-width: 400px) { .ios-chip { display: none; } }

/* App screens: plain screenshots, no device frame */
.screen {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--gray-200); border-radius: 28px;
  box-shadow: 0 24px 56px rgba(14,21,48,.16);
  background: #fff;
}

/* Hero */
.ios-hero { padding: 56px 0 44px; }
.ios-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.soon-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--blue-dark);
  background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: 6px 14px; border-radius: 18px; margin-bottom: 20px;
}
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(249,115,22,.18); }
.ios-hero h1 { font-size: 48px; font-weight: 900; letter-spacing: -1.8px; line-height: 1.08; margin-bottom: 18px; }
.ios-hero h1 em {
  font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.ios-hero .lead { font-size: 18px; color: var(--gray-600); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-main {
  background: var(--grad); color: #fff; padding: 14px 24px; border-radius: 12px;
  font-size: 15.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 12px 28px rgba(99,102,241,.32); transition: filter .15s, transform .15s;
}
.btn-main:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost {
  background: #fff; color: var(--gray-900); padding: 14px 22px; border-radius: 12px;
  font-size: 15.5px; font-weight: 700; border: 1px solid var(--gray-200); white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.hero-note { font-size: 13px; color: var(--gray-500); margin-top: 16px; max-width: 520px; }
.hero-shot { max-width: 300px; justify-self: center; }

/* Trust strip */
.trust-strip { border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: rgba(255,255,255,.6); }
.trust-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 0; }
.trust-item { font-size: 14px; font-weight: 600; color: var(--gray-700); text-align: center; }
.trust-item span { margin-right: 6px; }

/* Why Raxak: three cards, each with a screen */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.why-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 22px; padding: 24px 22px 0;
  display: flex; flex-direction: column; overflow: hidden;
}
.why-card h3 { margin: 0 0 6px; font-size: 18px; }
.why-card p { font-size: 14px; margin-bottom: 18px; }
.why-card .screen { margin-top: auto; border-radius: 24px 24px 0 0; border-bottom: none; box-shadow: 0 -6px 30px rgba(14,21,48,.08); max-height: 420px; object-fit: cover; object-position: top; }

/* Two-column blocks */
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.split.rev { grid-template-columns: .75fr 1.25fr; }
.split .shot-col { max-width: 290px; justify-self: center; width: 100%; }
.help-section .shot-cap { font-size: 12.5px; color: var(--gray-500); margin: 12px 0 0; text-align: center; }
/* A screen whose lower part is empty: show the top */
.screen.top-part { aspect-ratio: 720 / 900; object-fit: cover; object-position: top; }

/* Rules list */
.rule-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin-top: 22px; }
.rule h4 { font-size: 15.5px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.rule p { font-size: 14px; margin: 0; }

/* Card grids */
.card-grid { display: grid; gap: 18px; margin-top: 24px; }
.card-grid.two { grid-template-columns: 1fr 1fr; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 22px 24px; }
.info-card h3 { margin: 0 0 6px; font-size: 17px; }
.info-card p { font-size: 14px; margin: 0; }
.info-card ul { margin: 8px 0 0 18px; }
.info-card li { font-size: 14px; margin-bottom: 4px; }
.info-card.pro { border-color: rgba(124,58,237,.35); box-shadow: 0 16px 40px rgba(99,102,241,.10); }
.fine { font-size: 13px !important; color: var(--gray-500) !important; margin-top: 16px; }

/* Checklist */
.need-list { list-style: none; margin: 18px 0 8px !important; max-width: 760px; }
.need-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.need-list li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--green); }

.text-link { color: var(--blue); font-weight: 600; }

@media (max-width: 900px) {
  .ios-hero-grid, .split, .split.rev { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .shot-col { order: 2; }
  .ios-hero h1 { font-size: 34px; letter-spacing: -1.2px; }
  .hero-shot { max-width: 260px; }
  .trust-inner { grid-template-columns: 1fr; gap: 8px; }
  .why-grid, .card-grid.two, .card-grid.three, .rule-list { grid-template-columns: 1fr; }
  .why-card .screen { max-height: 360px; }
}

/* Pages under /ios/ other than the overview */
.soon-note { margin-top: 22px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.split .shot-col.pair { max-width: 440px; }
.more-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; max-width: 760px; }
.more-shots figure { margin: 0; }
.more-shots .screen { border-radius: 20px; box-shadow: 0 12px 30px rgba(14,21,48,.12); }
.more-shots figcaption { font-size: 13px; color: var(--gray-600); margin-top: 10px; line-height: 1.5; }
.more-shots figcaption strong { color: var(--gray-900); display: block; }
.step-shots { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 6px; }
.step-shots figure { margin: 0; width: 250px; }
.step-shots .screen { border-radius: 20px; box-shadow: 0 10px 26px rgba(14,21,48,.10); }
.step-shots figcaption { font-size: 12.5px; color: var(--gray-500); margin-top: 8px; line-height: 1.45; }
.part-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.where { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; padding: 3px 10px; border-radius: 12px; background: var(--blue-100); color: var(--blue-dark); }
.where.child { background: var(--green-100); color: #15803d; }
@media (max-width: 900px) {
  .more-shots { grid-template-columns: 1fr 1fr; }
  .split .shot-col.pair { max-width: 100%; }
  .step-shots figure { width: 100%; max-width: 250px; }
}

/* Trends and the family's week, under the three cards */
.trends-block { margin-top: 44px; }
.split.trends-block { grid-template-columns: 1fr 1fr; gap: 44px; }
.split.trends-block .shot-col.pair { max-width: 540px; }
.trends-block h3 { font-size: 22px; margin-bottom: 8px; }
@media (max-width: 900px) { .split.trends-block { grid-template-columns: 1fr; gap: 32px; } }

/* Guides under /ios/help/ */
.guide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.plan-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; background: var(--blue-100); color: var(--blue-dark); white-space: nowrap; }
.plan-tag.free { background: var(--green-100); color: #15803d; }
.path { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-size: 13.5px; color: var(--gray-600); background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 7px 14px; }
.path .path-label { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-500); margin-right: 4px; }
.path i { font-style: normal; color: var(--gray-500); }
.path strong { color: var(--gray-900); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.guide-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; padding: 18px 20px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-card:hover, a.info-card:hover { border-color: var(--violet); box-shadow: 0 10px 26px rgba(124,58,237,.12); transform: translateY(-1px); }
a.info-card { display: block; transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: var(--blue-50); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; }
.guide-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guide-body { display: flex; flex-direction: column; gap: 2px; }
.guide-body strong { font-size: 16px; color: var(--gray-900); }
.guide-body span { font-size: 13.5px; color: var(--gray-600); line-height: 1.5; }
.step-text { max-width: 760px; margin-bottom: 6px; }
.switch-list { display: grid; gap: 8px; margin-top: 8px; }
.switch-list > span { display: block; font-size: 14px; color: var(--gray-600); background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 10px 14px; }
.switch-list strong { display: block; color: var(--gray-900); }
.guide-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guide-next a { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 14px 18px; font-size: 16px; font-weight: 700; color: var(--gray-900); transition: border-color .15s, color .15s; }
.guide-next a:hover { border-color: var(--violet); color: var(--violet); }
.guide-next a span { display: block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--gray-500); margin-bottom: 2px; }
.guide-next .next { text-align: right; }
@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
}
