/* Sixth - sixthapp.com.au
   Brand: crystal-ball / ocean-blue, matching the app icon and Inter type. */

@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
}

:root {
  /* ocean palette (from the app's Theme.swift + icon) */
  --ink-900: #0a2540;
  --ink-700: #1e3a5f;
  --ink-500: #2a4a6a;
  --ink-400: #5a7a9a;
  --ink-300: #7c9bbd;
  --blue-600: #4a7aaa;
  --blue-500: #6a9cd0;
  --blue-300: #88b0d8;
  --blue-100: #dceaf6;
  --deep-1: #06182b;
  --deep-2: #0a1f3a;
  --deep-3: #1c4880;
  --paper: #f4f8fd;
  --paper-2: #eaf2fb;
  --card: #ffffff;
  --line: #d8e4f2;
  --gold-1: #ffd56b;
  --gold-2: #f5a93b;
  --accent: #28508c;
  --max: 1080px;
  --radius: 18px;
  --shadow-sm: 0 6px 18px rgba(10,37,64,.08);
  --shadow-md: 0 16px 40px rgba(10,37,64,.14);
  --shadow-lg: 0 30px 70px rgba(6,24,43,.45);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink-700);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink-900); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink-900);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; box-shadow: var(--shadow-sm);
}
.skip-link:focus { left: 0; }

/* ---------- top bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,248,253,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-900); }
.brand-lockup img { width: 30px; height: 30px; border-radius: 8px; }
.brand-lockup span { font-size: 18px; letter-spacing: -.01em; }
.nav-cta {
  font-weight: 600; font-size: 14px; color: var(--ink-700);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; background: #fff;
}
.nav-cta:hover { text-decoration: none; border-color: var(--blue-300); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -10%, #235089 0%, var(--deep-2) 55%, var(--deep-1) 100%);
  color: #fff; text-align: center;
  padding: 64px 0 76px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(2px 2px at 18% 30%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(2px 2px at 82% 22%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 60%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 30% 68%, rgba(255,255,255,.35), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-orb { width: 132px; height: 132px; margin: 0 auto 22px; filter: drop-shadow(0 18px 30px rgba(4,12,26,.6)); }
.hero h1 { color: #fff; font-size: clamp(40px, 9vw, 76px); margin: 0 0 .12em; }
.hero .tagline { font-size: clamp(18px, 3.6vw, 24px); color: var(--blue-100); font-weight: 600; margin: 0 0 .6em; }
.hero .lede { max-width: 560px; margin: 0 auto 28px; color: #cfe0f2; font-size: clamp(15px,2.4vw,17px); }

.badge-soon {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28);
  color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge-soon .apple { font-size: 22px; line-height: 1; }
.badge-soon small { display: block; font-weight: 400; font-size: 11px; color: var(--blue-100); letter-spacing: .04em; }
.badge-soon b { font-size: 15px; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin: 0 0 10px;
}
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4.6vw, 38px); }
.section-head p { color: var(--ink-500); font-size: 17px; margin: 0; }

/* what it is */
.about { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; gap: 18px; }
.about-grid .score-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--paper-2), #fff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.about-grid .score-card .big { font-size: clamp(38px,9vw,54px); font-weight: 700; color: var(--accent); line-height: 1; }
.about-grid .score-card .big small { font-size: 16px; color: var(--ink-400); font-weight: 600; }
.note-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px;
}
.note-card h3 { font-size: 18px; margin-bottom: .35em; }
.note-card p { margin: 0; color: var(--ink-500); font-size: 15px; }
@media (min-width: 720px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* features */
.features-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px;
  background: linear-gradient(135deg, var(--blue-100), #fff); border: 1px solid var(--line); margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: .35em; }
.feature p { margin: 0; color: var(--ink-500); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .feature:hover { transform: none; } }

/* gallery */
.gallery-section { background: linear-gradient(180deg, var(--deep-2), var(--deep-1)); color: #fff; }
.gallery-section .section-head h2 { color: #fff; }
.gallery-section .section-head p { color: var(--blue-100); }
.gallery-section .section-tag { color: var(--blue-300); }
.gallery {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px 22px 26px; margin: 0 -22px; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 8px; }
.phone {
  scroll-snap-align: center; flex: 0 0 auto; width: 232px;
  background: #0c1a2e; border-radius: 40px; padding: 10px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); position: relative;
}
.phone .screen { border-radius: 31px; overflow: hidden; position: relative; background: #000; aspect-ratio: 1320 / 2868; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; background: #05101d; border-radius: 12px; z-index: 2;
}
.phone figcaption { text-align: center; color: var(--blue-100); font-size: 13px; font-weight: 600; margin-top: 14px; }
.gallery-hint { text-align: center; color: var(--blue-300); font-size: 13px; margin-top: 6px; }

/* cta band */
.cta { background: var(--card); text-align: center; border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(26px,4.6vw,36px); }
.cta p { color: var(--ink-500); max-width: 520px; margin: 0 auto 26px; }
/* dark App Store pill on the light CTA section (the hero variant is white-on-dark) */
.cta .badge-soon { background: var(--ink-900); border-color: var(--ink-700); }

/* footer */
.site-footer { background: var(--deep-1); color: #b9cce4; padding: 44px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; }
.site-footer a { color: #dceaf6; }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.site-footer .f-brand img { width: 26px; height: 26px; border-radius: 7px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.site-footer .f-legal { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; color: #8fa8c6; font-size: 13px; }

/* ---------- privacy / document page ---------- */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(30px,6vw,42px); margin-bottom: .15em; }
.doc .eff { color: var(--ink-400); font-weight: 600; margin: 0 0 28px; }
.doc h2 { font-size: 22px; margin: 36px 0 10px; padding-top: 6px; }
.doc h3 { font-size: 18px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--ink-700); font-size: 16px; }
.doc ul { padding-left: 22px; margin: 0 0 1em; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink-900); }
.doc .back { display: inline-block; margin-top: 8px; font-weight: 600; }
.doc-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
