/* MineBase home page. Same look as the app: navy + teal, Inter (served
   from this site, never from Google), light and dark.
   Layout: sticky bar, hero with a phone showing My work, feature grid, a
   navy Speak up band, pricing, log in, footer. */

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

:root {
  --navy: #12355B;
  --navy-deep: #0C2742;
  --teal: #1A9E8F;
  --teal-ink: #13786C;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --fg: #14202E;
  --muted: #536273;
  --line: #DCE3EC;
  --tint: #E3F3F1;
  --price: #12355B;
  --alert: #B3261E;
  --alert-bg: #FCE4E2;
  --font: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1621; --card: #152131; --fg: #E6EDF5; --muted: #9AABBE;
    --line: #24354A; --tint: #173A3A; --teal-ink: #6FD6C8; --price: #9CC3F0;
    --alert: #FFB4AB; --alert-bg: #5C1A16;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--teal-ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-ink); }
.section { padding-block: 72px; }
.section-head { display: grid; gap: 8px; max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 700; }
.section-head p { color: var(--muted); }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.bar .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.bar nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.bar nav a { color: #D5E2F0; text-decoration: none; font-weight: 500; font-size: 15px; }
.bar nav a:hover { color: #fff; }
.bar nav a.btn { color: #fff; }
@media (max-width: 720px) { .bar nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn.teal { background: var(--teal); color: #fff; }
.btn.teal:hover { background: #158A7C; }
.btn.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.5); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn.navy { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.navy { background: #9CC3F0; color: #07213D; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 56px; } }
.hero h1 { font-size: clamp(34px, 5.2vw, 56px); font-weight: 700; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: #6FD6C8; }
.hero .lead { margin-top: 18px; font-size: 18px; color: #C8D7E8; max-width: 52ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 18px; font-size: 14px; color: #9AB3CF; }

/* Phone mock-up of My work */
.phone { justify-self: center; width: min(300px, 100%); aspect-ratio: 300 / 600; background: #0B1726; border-radius: 40px; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 0 0 2px #2B3D52; }
.screen { height: 100%; border-radius: 30px; background: #F5F7FA; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; color: #14202E; }
.screen .appbar { background: #12355B; color: #fff; padding: 30px 16px 12px; font-weight: 700; font-size: 17px; }
.screen .body { padding: 12px; display: grid; gap: 10px; align-content: start; }
.screen .who { background: #fff; border-radius: 10px; padding: 9px 11px; font-size: 11px; line-height: 1.4; color: #536273; box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.screen .who b { display: block; color: #14202E; font-size: 12.5px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { background: #fff; border-radius: 10px; padding: 10px; display: grid; gap: 14px; box-shadow: 0 1px 2px rgba(0,0,0,0.08); min-height: 92px; }
.tile .dot { width: 26px; height: 26px; border-radius: 50%; background: #DDF1EE; display: grid; place-items: center; color: #1A9E8F; font-size: 13px; font-weight: 700; }
.tile b { font-size: 12px; display: block; }
.tile span { font-size: 10px; color: #536273; }
.tile.red { background: #FCE4E2; }
.tile.red .dot { background: #B3261E; color: #fff; }
.screen .tabs { display: flex; justify-content: space-around; padding: 10px 0 16px; font-size: 10px; color: #536273; background: #fff; }
.screen .tabs b { color: #14202E; background: #DDF1EE; padding: 3px 12px; border-radius: 999px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.feature .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--teal-ink); display: grid; place-items: center; }
.feature h3 { font-size: 18px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 15px; }
.feature.alert .icon { background: var(--alert-bg); color: var(--alert); }

/* Speak up band */
.speak { background: var(--navy); color: #fff; }
.speak .section-head p { color: #C8D7E8; }
.speak .eyebrow { color: #6FD6C8; }
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
@media (max-width: 720px) { .promises { grid-template-columns: 1fr; } }
.promise { display: grid; grid-template-columns: 36px 1fr; gap: 14px; min-width: 0; }
.promise .check { width: 36px; height: 36px; border-radius: 50%; background: rgba(111,214,200,0.16); display: grid; place-items: center; color: #6FD6C8; }
.promise h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.promise p { color: #C8D7E8; font-size: 15px; }
.speak .emergency { margin-top: 36px; padding: 14px 18px; border-radius: 12px; background: rgba(255,180,171,0.12); color: #FFDAD5; font-size: 15px; max-width: 640px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; min-width: 0; }
.plan.main { border: 2px solid var(--teal); }
.plan h3 { font-size: 19px; font-weight: 700; }
.tag { justify-self: start; font-size: 12px; font-weight: 600; color: var(--teal-ink); background: var(--tint); border-radius: 999px; padding: 3px 10px; }
.amount { font-size: 34px; font-weight: 700; color: var(--price); line-height: 1.1; font-variant-numeric: tabular-nums; }
.unit { display: block; color: var(--muted); font-size: 14px; }
.plan p { color: var(--muted); font-size: 15px; }
ul.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
ul.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
ul.ticks li::before { content: ""; width: 10px; height: 6px; margin-top: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.fine { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 32px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .fine { grid-template-columns: 1fr; } }
.fine strong { color: var(--fg); display: block; font-weight: 600; }

/* Log in */
.logins { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .logins { grid-template-columns: 1fr; } }
.login { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.login h3 { font-size: 19px; font-weight: 700; }
.login p { color: var(--muted); font-size: 15px; }
.login .who { font-size: 13px; font-weight: 600; color: var(--teal-ink); }
.login .btn { justify-self: start; margin-top: 6px; }
.login.phone-only { background: transparent; border-style: dashed; }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
