:root{
  /* Brand-ish accents (Orange / Gold / Blue) */
  --orange: #ff7a18;
  --gold:   #f6c343;
  --blue:   #2a6bff;

  /* Premium light base */
  --bg: #f6f7fb;
  --text: #0f172a;
  --muted: rgba(15,23,42,.66);

  --card: rgba(255,255,255,.86);
  --border: rgba(15,23,42,.10);

  --shadow: 0 16px 50px rgba(2, 8, 23, .08);
  --shadow2: 0 10px 24px rgba(2, 8, 23, .08);

  --radius: 18px;
  --radius2: 14px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 10% 10%, rgba(42,107,255,.10), transparent 55%),
    radial-gradient(900px 650px at 90% 15%, rgba(255,122,24,.10), transparent 55%),
    radial-gradient(950px 700px at 50% 100%, rgba(246,195,67,.10), transparent 55%),
    var(--bg);
}

.page{
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 16px 22px;
  display:flex;
  flex-direction: column;
  min-height: 100%;
}

.header{
  padding: 18px 18px 14px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(255,255,255,.62));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
}

.logo{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
  padding: 8px;
}

.brand-text .kicker{
  margin:0;
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  color: rgba(15,23,42,.55);
}

.brand-text .title{
  margin: 6px 0 6px;
  font-size: clamp(22px, 3.0vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-text .subtitle{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.divider{
  margin-top: 14px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(42,107,255,.35),
    rgba(255,122,24,.35),
    rgba(246,195,67,.35),
    transparent
  );
}

.hint{
  margin: 12px 0 0;
  color: rgba(15,23,42,.62);
  font-size: 13px;
}

.content{
  margin-top: 16px;
  flex: 1 1 auto;
}

.grid{
  display:grid;
  gap: 12px;
  /* Responsive by default */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration:none;
  color: inherit;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
  overflow: hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset: -60px -80px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(42,107,255,.12), transparent 70%);
  transform: rotate(12deg);
  pointer-events:none;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(15,23,42,.18);
  box-shadow: 0 20px 60px rgba(2,8,23,.12);
}

.card:focus-visible{
  outline: 3px solid rgba(42,107,255,.25);
  outline-offset: 2px;
}

.card-icon{
  width: 46px;
  height: 46px;
  border-radius: var(--radius2);
  display:grid;
  place-items:center;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.85);
  flex: 0 0 auto;
}

.card-icon i{ font-size: 18px; }

.card-body{
  min-width: 0;
  flex: 1 1 auto;
}

.card-title{
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-desc{
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15,23,42,.64);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-arrow{
  flex: 0 0 auto;
  opacity: .65;
}

/* Icon accent rings (subtle, premium) */
.card-icon.web   { box-shadow: inset 0 0 0 999px rgba(42,107,255,.10); }
.card-icon.google{ box-shadow: inset 0 0 0 999px rgba(0,0,0,.05); }
.card-icon.yelp  { box-shadow: inset 0 0 0 999px rgba(255,0,0,.10); }
.card-icon.ig    { box-shadow: inset 0 0 0 999px rgba(225,48,108,.10); }
.card-icon.fb    { box-shadow: inset 0 0 0 999px rgba(24,119,242,.12); }
.card-icon.li    { box-shadow: inset 0 0 0 999px rgba(10,102,194,.12); }
.card-icon.x     { box-shadow: inset 0 0 0 999px rgba(0,0,0,.06); }

.footer{
  margin-top: 16px;
  padding: 12px 6px 2px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(15,23,42,.60);
  font-size: 12px;
  flex-wrap: wrap;
}

/* Mobile tightening */
@media (max-width: 520px){
  .header{ padding: 16px 14px 12px; }
  .card{ padding: 13px 12px; }
  .card-icon{ width: 44px; height: 44px; }
  .card-desc{ white-space: normal; }
}
