:root{
  --bg:#0b0b0b;
  --card:#121214;
  --card-hover:#17181b;
  --text:#f5f5f5;
  --muted:#b7b7b7;
  --ring:#ffffff;
  --ring-weak:#2a2a2a;
  --radius:16px;
  --pad:18px;
  --shadow: 0 8px 28px rgba(0,0,0,.45);
}

/* CSS reset (tiny) */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.page{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--ring-weak);
  height: 400px;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,0) 20%),
    linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0) 45%);
  pointer-events: none;
}

/* Centered CTA */
.cta-wrap{
  position:absolute; inset:0;
  display:grid; place-items:end center;
  padding:24px;
}

.cta{
  width:100%;
  max-width:640px;
  font-size: clamp(24px, 6vw, 42px);
  line-height:1;
  letter-spacing:1px;
  padding:24px 20px;
  border-radius:16px;
  color:#000;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border:3px solid #fff;
  box-shadow: 
    0 0 0 2px rgba(255,255,255,.15),
    0 8px 32px rgba(255,255,255,.4),
    0 0 40px rgba(255,255,255,.2);
  text-align:center;
  cursor:pointer;
  transition: all .2s ease;
  will-change: transform;
  position:relative;
  overflow:hidden;
  font-weight: 700;
  text-transform: uppercase;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 
      0 0 0 2px rgba(255,255,255,.15),
      0 8px 32px rgba(255,255,255,.4),
      0 0 40px rgba(255,255,255,.2);
  }
  to {
    box-shadow: 
      0 0 0 2px rgba(255,255,255,.3),
      0 8px 32px rgba(255,255,255,.6),
      0 0 60px rgba(255,255,255,.4);
  }
}

.cta:active{ transform: scale(.985); }
.cta:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 2px #000,
    0 0 0 4px #fff;
}

/* Branding section */
.branding{
  text-align: center;
  padding: 20px 16px 16px;
  background: var(--bg);
}

.brand-name{
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 200;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-subtitle{
  font-size: clamp(14px, 3.5vw, 18px);
  color: #ffffff;
  margin: 0;
  opacity: 0.9;
  letter-spacing: 3px;
  text-transform: lowercase;
  font-weight: 300;
}

/* Content section */
.content{
  width:100%;
  max-width:760px;
  margin: 8px auto 32px;
  padding: 0 16px 24px;
}

.list{
  display:flex; 
  flex-direction:column; 
  gap:14px;
}

.item{
  display:flex; 
  align-items:center; 
  gap:14px;
  width:100%;
  padding: var(--pad);
  border-radius: var(--radius);
  background: var(--card);
  color:var(--text);
  border:1px solid var(--ring-weak);
  box-shadow: var(--shadow);
  text-decoration:none;
  cursor:pointer;
  transition: background-color .2s ease, transform .06s ease, border-color .2s ease;
  position:relative; 
  overflow:hidden;
}

.item:active{ 
  background: var(--card-hover);
  transform: scale(.995); 
}
.item:focus-visible{
  outline:none;
  border-color:#fff;
  box-shadow:
    0 0 0 2px #000,
    0 0 0 4px #fff;
}

.icon{
  width:38px; 
  height:38px;
  display:grid; 
  place-items:center;
  border-radius:12px;
  background:#0f0f10;
  border:1px solid var(--ring-weak);
  font-size:20px;
  flex: 0 0 38px;
  user-select:none;
}

.label{
  font-size:18px;
  letter-spacing:.2px;
}

/* Section header (top bar) - shared across all pages */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--ring-weak);
  position: sticky;
  top: 0;
  z-index: 100;
}

.back-btn {
  background: var(--card);
  border: 1px solid var(--ring-weak);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.back-btn:active {
  background: var(--card-hover);
  transform: scale(.95);
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  flex: 1;
  letter-spacing: 0.5px;
}

/* Content section - shared layout */
.content-section {
  padding: 24px 16px;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Footer spacing for iPhone safe areas */
.spacer{ 
  height: max(12px, env(safe-area-inset-bottom)); 
}

/* Simple ripple (ink) effect using CSS var driven by JS */
.ripple{
  position:absolute;
  border-radius:50%;
  transform:translate(-50%,-50%);
  pointer-events:none;
  background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,.12) 45%, rgba(255,255,255,0) 70%);
  width:12px; 
  height:12px;
  animation:ripple .55s ease-out forwards;
}

@keyframes ripple{
  from{ opacity:.9; width:12px; height:12px; }
  to{ opacity:0; width:420px; height:420px; }
}

/* Light haptics for large screens (optional hover) */
@media (hover:hover) and (pointer:fine){
  .cta:hover{ 
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    transform: scale(1.02);
    box-shadow: 
      0 0 0 2px rgba(255,255,255,.3),
      0 12px 40px rgba(255,255,255,.6),
      0 0 80px rgba(255,255,255,.5);
  }
}
