
/* Reformed Software — styled to match the FieldScore app */
:root {
  color-scheme: light dark;
  --bg: #f4f7fc;
  --surface: rgba(255,255,255,.78);
  --surface-strong: rgba(255,255,255,.94);
  --text: #0b1020;
  --muted: #5f6b7f;
  --line: rgba(15,23,42,.10);
  --blue: #2f7bff;
  --blue-2: #1758e8;
  --blue-soft: rgba(47,123,255,.14);
  --green: #26b552;
  --purple: #b34fe0;
  --orange: #f29406;
  --glow-1: rgba(47,123,255,.16);
  --glow-2: rgba(88,86,255,.10);
  --shadow: 0 24px 70px rgba(15,23,42,.12);
  --tile-shadow: 0 6px 18px rgba(10,60,180,.25);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #04070f;
    --surface: rgba(15,21,33,.72);
    --surface-strong: rgba(16,23,36,.94);
    --text: #f5f8ff;
    --muted: #8b94a7;
    --line: rgba(255,255,255,.09);
    --blue: #3f8bff;
    --blue-2: #1f6bff;
    --blue-soft: rgba(63,139,255,.16);
    --green: #30d158;
    --purple: #bf5af2;
    --orange: #ff9f0a;
    --glow-1: rgba(37,99,235,.30);
    --glow-2: rgba(76,68,255,.14);
    --shadow: 0 30px 90px rgba(0,0,0,.5);
    --tile-shadow: 0 6px 18px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(ellipse 90% 46% at 50% -6%, var(--glow-1), transparent 62%),
    radial-gradient(circle at 88% 38%, var(--glow-2), transparent 32%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(26px) saturate(150%);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 760; text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(160deg, #55a9ff 0%, #2f7bff 48%, #1758e8 100%);
  display: grid; place-items: center; color: white; font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), var(--tile-shadow);
}
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

/* Buttons — app-style blue gradient */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 20px; border-radius: 14px; text-decoration: none; font-weight: 700;
  background: linear-gradient(180deg, var(--blue), var(--blue-2)); color: white;
  box-shadow: 0 10px 28px rgba(47,123,255,.32), inset 0 1px 0 rgba(255,255,255,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(47,123,255,.4), inset 0 1px 0 rgba(255,255,255,.28); }
.button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.button.secondary:hover { box-shadow: none; border-color: color-mix(in srgb, var(--line) 40%, var(--blue)); }

/* Hero — "Simple. Track what matters." treatment */
.hero { padding: 96px 0 72px; text-align: center; }
.eyebrow { color: var(--blue); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 14px auto 18px; font-size: clamp(46px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -.045em; max-width: 930px; font-weight: 800; }
.accent { color: var(--blue); }
.lead { max-width: 700px; margin: 0 auto; color: var(--muted); font-size: clamp(18px, 2.1vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-icon { width: 112px; height: 112px; border-radius: 27px; box-shadow: var(--shadow); margin-bottom: 8px; }

/* Sections */
.section { padding: 74px 0; }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 14px; font-weight: 800; }
.section-intro { color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 700px; }

/* Cards — like the app's dark metric panels */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(24px) saturate(140%);
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15.5px; }

/* Metric tiles — the colored rounded squares from the app */
.icon-dot, .tile {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  color: #fff; font-size: 20px; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  box-shadow: var(--tile-shadow), inset 0 1px 0 rgba(255,255,255,.3);
}
.tile.blue   { background: linear-gradient(180deg, #4d9aff, #1f6bff); }
.tile.green  { background: linear-gradient(180deg, #3fd96a, #1fa348); }
.tile.purple { background: linear-gradient(180deg, #cf6ff5, #9b34d0); }
.tile.orange { background: linear-gradient(180deg, #ffb340, #f28a06); }
.tile.teal   { background: linear-gradient(180deg, #45d3e0, #12a5b5); }
.tile.gray   { background: linear-gradient(180deg, #8a94a8, #5a6478); }

/* Metric dot — small status dot like the app rows */
.metric-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.metric-dot.blue { background: var(--blue); }
.metric-dot.green { background: var(--green); }
.metric-dot.purple { background: var(--purple); }
.metric-dot.orange { background: var(--orange); }

/* Product hero */
.product-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; padding: 82px 0 70px; }
.product-hero h1 { margin: 14px 0 18px; text-align: left; }
.product-hero .lead { margin: 0; max-width: 640px; }
.app-badge { display: flex; align-items: center; gap: 16px; }
.app-badge img { width: 76px; height: 76px; border-radius: 18px; box-shadow: var(--shadow); }
.device-stack { position: relative; min-height: 680px; }
.device-shot {
  position: absolute; width: 58%; max-width: 320px; border-radius: 42px;
  border: 1px solid var(--line); box-shadow: 0 32px 100px rgba(0,0,0,.35); object-fit: cover;
}
.device-shot.one { right: 7%; top: 0; transform: rotate(4deg); }
.device-shot.two { left: 2%; top: 118px; transform: rotate(-5deg); }
.device-shot.three { right: 14%; top: 330px; transform: rotate(2deg); }

/* Strip */
.simple-strip { text-align: center; padding: 60px 0; }
.simple-strip strong { display: block; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.04em; font-weight: 800; }
.simple-strip span { color: var(--muted); font-size: 19px; }

/* Legal */
.legal { max-width: 820px; padding: 70px 0 90px; }
.legal h1 { text-align: left; font-size: clamp(40px, 5.6vw, 64px); margin-left: 0; }
.legal h2 { margin-top: 34px; font-size: 25px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.support-box { margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0 42px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

@media (max-width: 820px) {
  .nav-links a:not(.button) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; padding-top: 58px; }
  .product-hero h1 { text-align: left; font-size: 52px; }
  .device-stack { min-height: 590px; }
  .device-shot { width: 58%; }
}
