main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  width: 100%;
  max-width: 64rem;
}

.eyebrow {
  margin: 1.75rem 0 0;
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  backdrop-filter: blur(10px);
}

h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.4rem, 8vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

h1 span {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.summary {
  margin: 1.25rem 0 1.25rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.6vw, 1.3rem);
  color: var(--muted);
}

.card {
  width: 100%;
  margin: 0 0 1rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.aws-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.5rem;
  padding: 0.12rem 0.7rem;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

.cta-label {
  margin: 0;
  font-size: 1.05rem;
}

.details {
  font-style: normal;
  color: var(--muted);
  line-height: 1.8;
}

.details a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.details a:hover {
  color: var(--accent-3);
}


/* Small phones */
@media (max-width: 400px) {
  main {
    padding: 3.5rem 1rem 2rem;
  }

  .card {
    padding: 1rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
}

/* Layout sections */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
  margin: 4rem 0 1rem;
}

.tile {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.25s, border-color 0.25s;
}

.tile:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.6rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.tile h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 1.6rem 1.8rem;
  text-align: left;
}

.contact h2 {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.muted-line {
  margin: 0;
  color: var(--muted);
}

.muted-line a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.muted-line a:hover {
  text-decoration: underline;
}

.contact .details {
  text-align: right;
}

@media (max-width: 760px) {
  .tiles {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact .details {
    text-align: left;
  }
}

.br-mobile {
  display: none;
}

/* Laptops: comfortable spacing; the page scrolls a little on short windows */
@media (min-width: 761px) {
  main {
    justify-content: center;
    padding: 1.75rem 1.5rem 0.5rem;
  }

  .hero {
    margin-top: 0;
  }

  .eyebrow {
    margin-top: 0;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
  }

  h1 {
    margin-top: 0;
    font-size: min(3.5rem, calc((100vw - 7rem) / 17));
    white-space: nowrap;
  }

  .summary {
    margin: 1rem 0 1.1rem;
    font-size: 1.05rem;
  }

  .actions {
    flex-direction: row;
    gap: 1.25rem;
  }

  .aws-status {
    font-size: 0.88rem;
  }

  .tiles {
    margin: 1.5rem 0 1rem;
    gap: 1rem;
  }

  .tile {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.9rem;
    align-items: center;
    padding: 0.9rem 1.1rem;
  }

  .tile-icon {
    grid-row: span 2;
    margin: 0;
  }

  .tile h2 {
    margin: 0;
    font-size: 1.05rem;
  }

  .tile p {
    font-size: 0.9rem;
  }

  .contact {
    padding: 0.9rem 1.4rem;
  }

  .contact h2 {
    font-size: 1.1rem;
  }

  .contact .details {
    line-height: 1.5;
    font-size: 0.92rem;
  }

  footer {
    margin-top: 1rem;
    padding: 0.9rem 0 1.1rem;
  }
}

@media (max-width: 760px) {
  .br-mobile {
    display: inline;
  }
}

/* Hero text sits on frosted glass: streaks pass behind it, blurred, never across the text */
.hero {
  width: 100%;
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

@media (min-width: 761px) {
  .hero {
    padding: 1.4rem 1.5rem 1.2rem;
  }

  .hero .summary {
    max-width: 48rem;
  }
}

/* Laptops and up: headline + tiles centered in the free space, contact pinned near the footer */
@media (min-width: 761px) {
  main {
    justify-content: flex-start;
  }

  .hero {
    margin-top: auto;
  }

  .contact {
    margin-top: auto;
    margin-bottom: 0.5rem;
  }
}

/* Phone number in the contact card: phones only (laptops show it in the header) */
.phone-line {
  display: none;
}

@media (max-width: 760px) {
  a.phone-line {
    display: inline;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
  }

  br.phone-line {
    display: inline;
  }
}
