/* Cosmos marketing site. Brand colours from the 2020 Cosmos style guide. */
:root {
  --navy: #00202c;
  --navy-2: #0a2e3b;
  --slate: #444a54;
  --teal: #08d9d6;
  --teal-ink: #067a78;
  --teal-soft: #e6fbfa;
  --red: #ff5e63;
  --mist: #f0fafa;
  --line: #dce6e6;
  --text: #1d2a30;
  --text-dim: #55636a;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 400 17px/1.6 "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--teal-ink); margin: 0 0 .8em; }
.accent { color: var(--teal); }
.lead { font-size: 1.15rem; color: #c9d8dc; max-width: 36em; }
.section-lead { font-size: 1.1rem; color: var(--text-dim); max-width: 46em; }
.fine { font-size: .9rem; color: var(--text-dim); }

/* Buttons */
.btn { display: inline-block; padding: .75em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--navy); box-shadow: 0 6px 18px rgba(8,217,214,.28); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(8,217,214,.4); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { font-size: 1.1rem; padding: .9em 2em; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0,32,44,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { width: 132px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #dfe9ec; text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--teal); }
.nav .btn { padding: .45em 1.1em; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% 20%, #0d4552 0%, var(--navy) 60%); color: #fff; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero .eyebrow { color: var(--teal); }
.cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-phone { position: relative; height: 520px; }
.hero-phone .phone { position: absolute; width: 250px; right: 40px; top: 10px; z-index: 2; }
.hero-phone .phone-back { right: 200px; top: 70px; z-index: 1; transform: rotate(-6deg); opacity: .55; }

/* Phone frame */
.phone { margin: 0; background: #11161a; padding: 9px; border-radius: 34px; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 26px; width: 100%; }

/* Sections */
.section { padding: 96px 0; scroll-margin-top: 68px; }
.section-dark { background: var(--mist); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px rgba(0,32,44,.08); transform: translateY(-2px); }
.card p { color: var(--text-dim); margin: 0; font-size: .98rem; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--teal-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* App */
.app-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--text-dim); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300202c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4L19 6'/%3E%3C/svg%3E") center/12px no-repeat; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; border-radius: 12px; padding: 9px 16px 9px 12px; font-weight: 700; line-height: 1.15; }
.store-badge svg { width: 24px; height: 24px; fill: var(--teal); }
.store-badge small { display: block; font-weight: 400; font-size: .72rem; opacity: .8; }
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shots .phone:nth-child(even) { transform: translateY(40px); }
.shots figcaption { color: #9fb0b5; font-size: .8rem; text-align: center; padding: 8px 0 2px; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.contact-card { background: var(--navy); color: #c9d8dc; border-radius: 22px; padding: 38px; text-align: center; }
.contact-card a:not(.btn) { color: var(--teal); }
.contact-card .fine { color: #9fb0b5; margin-bottom: 0; }

/* Footer */
.foot { background: var(--navy); color: #9fb0b5; font-size: .9rem; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.foot nav { display: flex; gap: 22px; }
.foot a { color: #dfe9ec; text-decoration: none; }
.foot a:hover { color: var(--teal); }
.foot p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .app-inner, .contact { grid-template-columns: 1fr; }
  .hero-phone { display: none; }
  .hero-inner { padding-top: 56px; padding-bottom: 64px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .shots { gap: 14px; }
  .shots .phone { border-radius: 24px; padding: 6px; }
  .shots .phone img { border-radius: 19px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
