/* style.css - Shore Forge */
:root {
  --bronze: #C9A66B;
  --dark-ocean: #0F1C2E;
  --rock: #1A252F;
  --ember: #E36A2C;
  --mist: #A8B5C7;
  --glow: #A1C4D1;
  --light: #E8E8E8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

img { max-width: 100%; height: auto; }

body {
  background-color: var(--dark-ocean);
  color: var(--light);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) 0;
}

.content {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.2;
}

.tagline {
  font-size: clamp(1.1rem, 3vw, 1.75rem);
  color: var(--bronze);
  margin-top: 1.25rem;
  font-weight: 500;
  padding: 0 0.5rem;
}

.apps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 520px;
  margin: 2.5rem auto 0;
  padding: 0 0.5rem;
}

.card {
  background-color: var(--rock);
  border: 1px solid rgba(201, 166, 107, 0.25);
  border-radius: 12px;
  padding: clamp(18px, 4vw, 28px) clamp(18px, 5vw, 32px);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  text-align: left;
  width: 100%;
}

.card:hover {
  border-color: var(--bronze);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

/* Avoid hover-lift on touch devices — feels broken on tap */
@media (hover: none) {
  .card:hover {
    transform: none;
  }
}

.app-name {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--light);
}

.app-desc {
  color: var(--mist);
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  line-height: 1.5;
}

/* Hero banner */
.hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* Branded header (privacy, support) */
.site-header {
  padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
  background-color: var(--rock);
  border-bottom: 1px solid rgba(201, 166, 107, 0.15);
}

.site-logo {
  color: var(--bronze);
  font-size: clamp(1.1rem, 3vw, 1.25rem);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-logo:hover {
  color: var(--light);
}

/* Body content pages (privacy, support) */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem);
}

main h2 {
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  color: var(--bronze);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

main h2:first-child {
  margin-top: 0;
}

main p, main li {
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  color: var(--light);
  margin-bottom: 0.75rem;
}

main ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

main a {
  color: var(--glow);
}

main a:hover {
  color: var(--bronze);
}

main h1 {
  margin-bottom: 0.5rem;
}

.meta {
  font-size: 0.9rem;
  color: var(--mist);
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.divider {
  border: none;
  border-top: 1px solid rgba(201, 166, 107, 0.15);
  margin: clamp(1.5rem, 5vw, 2.5rem) 0;
}

.contact-box {
  background-color: var(--rock);
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 12px;
  padding: clamp(1.1rem, 4vw, 1.5rem);
  margin-top: 2rem;
}

.contact-box h2 {
  margin-top: 0;
}

.contact-box p {
  margin-bottom: 0.25rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--mist);
}

/* FAQ (support) */
.faq {
  margin-bottom: clamp(1.25rem, 4vw, 1.5rem);
}

.faq h3 {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 0.375rem;
}

.faq p {
  margin-bottom: 0;
}

footer {
  margin-top: clamp(2rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2rem) 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  border-top: 1px solid rgba(201, 166, 107, 0.1);
}

footer a {
  color: var(--mist);
  text-decoration: none;
}

footer a:hover {
  color: var(--bronze);
}

footer p + p {
  margin-top: 0.75rem;
}

/* Tablet */
@media (max-width: 768px) {
  .apps {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .content {
    padding: 1.5rem 1rem;
  }
  .card {
    border-radius: 10px;
  }
  footer {
    font-size: 0.8rem;
  }
}

/* Very small screens / older devices */
@media (max-width: 360px) {
  .tagline {
    font-size: 1rem;
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
