/* RL.com.au — plain static styles */

:root {
  --background: #fafaf8;
  --foreground: #111111;
  --muted: #666666;
  --accent: #1e3a5f;
  --accent-hover: #254a75;
  --border: rgba(0, 0, 0, 0.08);
  --font-body: "Google Sans Flex", system-ui, sans-serif;
  --font-heading: "Cinzel", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--background);
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

address {
  font-style: normal;
}

::selection {
  background: rgba(30, 58, 95, 0.1);
  color: var(--foreground);
}

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

a {
  color: inherit;
}

/* Layout */
.section-padding {
  padding: 6rem 1.5rem;
}

.container-narrow {
  max-width: 64rem;
  margin: 0 auto;
}

.container-wide {
  max-width: 80rem;
  margin: 0 auto;
}

/* Typography */
.heading {
  font-family: var(--font-heading);
  font-weight: 400;
}

.text-muted {
  color: var(--muted);
}

.text-accent {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background: var(--accent);
}

.btn-primary::selection {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
}

.hero-note {
  margin-top: 1rem;
  font-size: 1rem;
}

.hero-cta {
  margin-top: 2.5rem;
}

/* Scroll prompt */
.scroll-prompt {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.scroll-prompt:hover {
  color: var(--foreground);
}

.scroll-prompt span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.scroll-prompt svg {
  opacity: 0.6;
}

/* Sections */
.section {
  border-top: 1px solid var(--border);
}

.section-center {
  text-align: center;
}

.section-center .section-copy {
  max-width: 36rem;
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.625;
}

.section-center .section-copy p {
  margin: 0;
  color: var(--muted);
}

.section-center .section-copy p + p {
  margin-top: 1rem;
}

.section-center .form {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.section-center .form,
.section-center .form form {
  text-align: left;
}

.section-heading {
  font-size: clamp(1.875rem, 4vw, 3.75rem);
  line-height: 1.15;
}

.section-heading-lg {
  font-size: clamp(1.875rem, 5vw, 3.75rem);
}

/* Cards */
.cards-grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}

.card {
  border: 1px solid var(--border);
  background: var(--background);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-size: 1.25rem;
}

.card-featured {
  border-color: rgba(30, 58, 95, 0.3);
  background: rgba(30, 58, 95, 0.03);
}

.card-featured .card-title {
  color: var(--accent);
}

/* Contact */
.contact-email {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-address {
  margin-top: 1rem;
}

.form {
  margin-top: 3rem;
}

.form-grid {
  display: grid;
  gap: 1.5rem;
}

.form-field {
  text-align: left;
}

.form-field-spaced {
  margin-top: 1.5rem;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-status {
  margin-top: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(102, 102, 102, 0.6);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-error {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.form-message {
  font-size: 0.875rem;
  color: var(--muted);
}

.form-alert {
  font-size: 0.875rem;
  color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.125rem;
}

.footer-brand a {
  color: inherit;
  text-decoration: none;
}

.footer-brand a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav-sep {
  color: var(--muted);
  margin: 0 0.5rem;
}

.footer-disclaimer {
  max-width: 36rem;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

/* Legal pages */
.legal-main {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.legal-header {
  margin-bottom: 3rem;
}

.legal-back {
  margin-bottom: 2rem;
}

.legal-back a {
  color: var(--accent);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-back a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-updated {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.legal-content {
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.625;
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.3;
}

.legal-content p,
.legal-content ul {
  color: var(--muted);
  margin: 0 0 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Reveal animation */
@keyframes reveal-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-100 {
  animation-delay: 100ms;
}

.reveal-delay-150 {
  animation-delay: 150ms;
}

.reveal-delay-200 {
  animation-delay: 200ms;
}

.reveal-delay-250 {
  animation-delay: 250ms;
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal {
      opacity: 0;
      transform: translateY(1.5rem);
      animation: reveal-fade-up 0.7s ease-out both;
      animation-timeline: view();
      animation-range: entry 0% entry 35%;
    }
  }
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.animate-scroll-dot {
  animation: scroll-dot 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .animate-scroll-dot {
    animation: none;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive */
@media (min-width: 640px) {
  .hero-cta .btn {
    width: auto;
    min-width: 180px;
  }

  .btn-full-sm {
    width: auto;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 4rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-featured {
    grid-column: span 2;
  }

  .hero-subtitle {
    margin-top: 2rem;
  }

  .hero-note {
    margin-top: 1.5rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding: 8rem 3rem;
  }

  .form {
    margin-top: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 10rem 4rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-featured {
    grid-column: span 1;
  }

  .possibilities-heading br {
    display: none;
  }

  .possibilities-heading {
    text-align: center;
  }
}
