/* Same tokens as the app (app/globals.css): iOS grouped background, white cards, burnt orange. */
:root {
  --bg: #F2F2F7;
  --card: #fff;
  --fg: #000;
  --muted: #73737a;
  --tertiary: #b8b8be;
  --border: #e3e3e8;
  --primary: #C2410C;
  --primary-tint: rgba(194, 65, 12, 0.1);
  --press: rgba(0, 0, 0, 0.04);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --card: #1C1C1E;
    --fg: #fff;
    --muted: #9898a1;
    --tertiary: #595960;
    --border: #3a3a3d;
    --primary: #FF9A66;
    --primary-tint: rgba(255, 154, 102, 0.14);
    --press: rgba(255, 255, 255, 0.06);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
main {
  width: 100%;
  max-width: 460px;
  padding: calc(40px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
}

.profile { padding: 0 4px 28px; }
.logo { display: block; width: 44px; height: 44px; border-radius: 10px; }
.profile h1 { margin-top: 22px; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.profile p { margin-top: 8px; font-size: 17px; line-height: 1.35; color: var(--muted); max-width: 22em; }

section { margin-bottom: 24px; }
h2 {
  padding: 0 16px 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.group { list-style: none; overflow: hidden; border-radius: 20px; background: var(--card); }
.group li + li .row::before {
  content: "";
  position: absolute;
  top: 0; left: 72px; right: 0;
  height: 1px;
  background: var(--border);
}

.row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  transition: background .12s ease;
}
.row:active { background: var(--press); }
.row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
@media (hover: hover) { .row:hover { background: var(--press); } }

.icon {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
}
.icon svg { width: 22px; height: 22px; }
.text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.text strong { font-size: 17px; font-weight: 600; }
.text small { font-size: 15px; color: var(--muted); }
.chev { flex: none; width: 18px; height: 18px; color: var(--tertiary); }
.chev svg { display: block; width: 100%; height: 100%; }

footer { margin-top: 8px; text-align: center; font-size: 13px; }
footer a { color: var(--muted); font-weight: 600; text-decoration: none; }
footer a:hover { color: var(--fg); }
