/* Homeport product site. Brand colours follow the app: a navy stage, one amber accent, warm ivory paper. */
:root {
  color-scheme: light;
  --navy: #14213D;
  --navy-deep: #0A1230;
  --amber: #FDB022;
  --amber-ink: #8A5A00;
  --amber-soft: #FFF1CC;
  --ivory: #FCF7EE;
  --paper: #FFFFFF;
  --ink: #0F1A30;
  --body: #3D4760;
  --muted: #5A6680;
  --line: #EAE2D2;
  --on-navy: #FFF7E6;
  --on-navy-muted: rgba(255, 247, 230, .74);
  --shadow: 0 30px 80px rgba(20, 33, 61, .20), 0 6px 18px rgba(20, 33, 61, .10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.nb { display: inline-block; white-space: nowrap; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.site-shell { width: min(1180px, 100%); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 10; padding: 8px 14px; border-radius: 8px; background: var(--amber); color: var(--navy); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* header sits on the navy band on every page */
.top { background: var(--navy); color: var(--on-navy); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.site-nav { display: flex; gap: 22px; }
.site-nav a, .language-link { color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.site-nav a:hover, .site-nav a[aria-current="page"], .language-link:hover { color: var(--on-navy); }
.language-link { padding: 5px 12px; border: 1px solid rgba(255, 247, 230, .28); border-radius: 999px; }
.site-nav a, .language-link { white-space: nowrap; }

/* hero */
.hero { background: radial-gradient(60% 75% at 100% 100%, rgba(253, 176, 34, .26) 0%, rgba(253, 176, 34, 0) 62%), linear-gradient(200deg, #172552 0%, var(--navy-deep) 100%); color: var(--on-navy); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 56px; padding: 56px 24px 88px; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--amber-ink); }
.hero .eyebrow { color: var(--amber); }
.hero h1 { margin-top: 14px; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; }
.hero-lead { margin-top: 20px; font-size: 19px; color: var(--on-navy-muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.store-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 16px; text-decoration: none; }
a.store-badge:hover { background: #FFC24D; }
.store-badge.soon { cursor: default; }
.text-link { color: var(--on-navy); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.platform-note { margin-top: 18px; font-size: 14px; color: var(--on-navy-muted); }
.hero-shot img { border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12); }

/* three facts under the hero */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: -40px; position: relative; }
.fact { background: var(--paper); border-radius: 18px; padding: 22px 24px; box-shadow: 0 14px 40px rgba(20, 33, 61, .10); }
.fact h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.fact h2::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4 6.6 11 12 5.4' fill='none' stroke='%2314213D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fact p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* feature rows */
.section { padding: 88px 0; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 64px; }
.feature + .feature { margin-top: 112px; }
.feature.reverse .feature-copy { order: 2; }
.feature h2 { margin-top: 10px; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.feature-copy p { margin-top: 16px; color: var(--body); font-size: 17px; }
.feature-copy .note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shot img { border-radius: 14px; box-shadow: var(--shadow); background: var(--paper); }
.shot.card { display: flex; justify-content: center; }
.shot.card img { width: min(520px, 100%); padding: 12px; border-radius: 28px; }

/* smaller features */
.also h2.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 18px; }
.card p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* privacy and requirements */
.privacy-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 40px; border-radius: 24px; background: var(--navy); color: var(--on-navy); }
.privacy-panel h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.privacy-panel p { margin-top: 10px; color: var(--on-navy-muted); }
.privacy-panel a { color: var(--amber); font-weight: 700; text-decoration: none; white-space: nowrap; }
.privacy-panel a:hover { text-decoration: underline; }
.good-to-know { margin-top: 28px; padding: 32px 36px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.good-to-know h2 { font-size: 22px; font-weight: 800; }
.checks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--body); }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--amber-soft); box-shadow: inset 0 0 0 5px var(--amber); }
.good-to-know .more { display: inline-block; margin-top: 18px; color: var(--navy); font-weight: 700; }

/* closing band */
.cta { background: linear-gradient(140deg, #FFC857 0%, #FDB022 52%, #F59E0B 100%); color: var(--navy); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 24px; }
.cta-brand { display: flex; align-items: center; gap: 18px; }
.cta-brand img { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 10px 30px rgba(92, 50, 0, .25); }
.cta h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.cta p { margin-top: 4px; color: rgba(20, 33, 61, .78); }
.cta .store-badge { background: var(--navy); color: var(--on-navy); }
.cta a.store-badge:hover { background: #22325A; }

/* support and privacy pages */
.page-intro { padding: 56px 0 8px; }
.page-intro h1 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.page-intro > p:not(.eyebrow) { margin-top: 14px; color: var(--body); font-size: 18px; max-width: 40em; }
.page-intro .updated { font-size: 14px; color: var(--muted); }
.qa-group { margin-top: 44px; }
.qa-group > h2 { font-size: 22px; font-weight: 800; }
.qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.qa { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.qa h3 { font-size: 17px; }
.qa p, .qa ol { margin-top: 10px; color: var(--body); font-size: 15px; }
.qa ol { padding-left: 1.3em; display: grid; gap: 6px; }
.qa code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--ivory); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.contact-panel { margin: 56px 0 88px; padding: 36px; border-radius: 24px; background: var(--navy); color: var(--on-navy); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.contact-panel h2 { font-size: 24px; font-weight: 800; }
.contact-panel p { margin-top: 8px; color: var(--on-navy-muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 800; text-decoration: none; white-space: nowrap; }
.button:hover { background: #FFC24D; }
.policy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; margin: 32px 0 88px; }
.policy { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 12px 36px 32px; }
.policy section { padding-top: 24px; }
.policy h2 { font-size: 19px; font-weight: 800; }
.policy p { margin-top: 8px; color: var(--body); }
.policy a { color: var(--navy); font-weight: 600; }
.info-card { position: sticky; top: 24px; background: var(--navy); color: var(--on-navy); border-radius: 22px; padding: 28px; }
.info-card img { width: 64px; height: 64px; border-radius: 14px; }
.info-card h2 { margin-top: 14px; font-size: 20px; }
.info-card p { margin-top: 8px; color: var(--on-navy-muted); font-size: 15px; }
.info-card a { display: block; margin-top: 12px; color: var(--amber); font-weight: 700; text-decoration: none; }

/* footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 28px 24px 40px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .feature, .privacy-panel, .contact-panel, .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 36px; padding-top: 32px; }
  .feature { gap: 28px; }
  .feature.reverse .feature-copy { order: 0; }
  .feature + .feature { margin-top: 72px; }
  .facts, .card-grid, .qa-grid { grid-template-columns: minmax(0, 1fr); }
  .info-card { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .site-shell, .hero-grid, .cta-inner, .site-footer { padding-left: 16px; padding-right: 16px; }
  .header-actions, .site-nav { gap: 14px; }
  .site-nav a.optional { display: none; }
  .section { padding: 56px 0; }
  .hero-lead { font-size: 17px; }
  .privacy-panel, .good-to-know, .contact-panel { padding: 26px 22px; }
  .policy { padding: 4px 20px 24px; }
}
@media (max-width: 400px) {
  .site-nav a.optional-sm { display: none; }
}
