/* ShuttleNest website. Copyright (c) 2026 Jyotheeswara Malapati. All rights reserved. */

:root {
  --deep: #0b3b36;      /* deep court: hero, footer */
  --green: #0f766e;     /* court green: primary */
  --green-soft: #e3f2ef;
  --yellow: #facc15;    /* shuttle yellow: accent, buttons */
  --bg: #f7faf8;
  --surface: #ffffff;
  --text: #13201e;
  --muted: #4b5b58;
  --line: #dbe6e2;
  --radius: 14px;
  --max: 1080px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--yellow);
  color: var(--deep);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* Header and logo */
.site-header {
  background: var(--deep);
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

/* site/logo-on-dark.svg: icon + outlined wordmark, built by brand/scripts */
.logo img {
  width: auto;
  height: 36px;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 18px;
}

.site-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .site-nav .optional {
    display: none;
  }
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(250, 204, 21, 0.16), transparent 40%),
    linear-gradient(180deg, var(--deep), #0d4a43);
  color: #fff;
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.eyebrow {
  display: inline-block;
  background: rgba(250, 204, 21, 0.15);
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--yellow);
}

.hero .lead {
  font-size: 1.15rem;
  color: #d5e6e2;
  max-width: 36em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
}

.button.primary {
  background: var(--yellow);
  color: var(--deep);
}

.button.primary:hover {
  background: #fde047;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.button.ghost:hover {
  border-color: #fff;
}

/* Phone mock-up made of plain HTML: a register, no screenshots */
.phone {
  justify-self: center;
  width: min(300px, 100%);
  background: var(--surface);
  color: var(--text);
  border-radius: 28px;
  padding: 18px 16px 22px;
  border: 8px solid #08302c;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.phone .bar {
  background: var(--deep);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border-bottom: 3px solid var(--yellow);
  margin-bottom: 12px;
}

.phone .bar strong {
  display: block;
  font-size: 0.95rem;
}

.phone .bar span {
  font-size: 0.8rem;
  color: #c3d8d3;
}

.phone ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phone li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.mark {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

.mark.present {
  background: #dcf3e3;
  color: #1d6b38;
}

.mark.late {
  background: #fdf0d2;
  color: #8a5a00;
}

.mark.absent {
  background: #f6e0e0;
  color: #9b2c2c;
}

.phone .done {
  margin-top: 14px;
  text-align: center;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Sections */
section {
  padding: 72px 0;
}

.section-intro {
  max-width: 40em;
  color: var(--muted);
  font-size: 1.08rem;
}

.features {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

@media (min-width: 680px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

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

.soon {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fdf3c4;
  color: #6b5200;
  padding: 2px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Built by coaches */
.coaches {
  background: var(--green-soft);
}

.coaches .wrap {
  display: grid;
  gap: 32px;
}

@media (min-width: 860px) {
  .coaches .wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

/* Contact */
.contact {
  text-align: center;
}

.contact .card {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 28px;
}

.contact .button.primary {
  margin-top: 8px;
}

.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: #c3d8d3;
  padding: 28px 0;
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

.site-footer a {
  color: #fff;
}

/* Text pages (privacy, 404) */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}

.page h2 {
  font-size: 1.3rem;
  margin-top: 1.8em;
}

.page li {
  margin-bottom: 0.4em;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.spaced {
  margin-top: 16px;
}

.centred {
  text-align: center;
}
