/* /css/about.css */
/* ==========================================================
   Sudoku Paradise — About Page
   ----------------------------------------------------------
   Clean Paradise visual system
   Logic-first presentation
   Responsive desktop / tablet / phone
   ========================================================== */


/* ==========================================================
   GLOBAL
========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    linear-gradient(
      180deg,
      #f7fffc 0%,
      #eefaf6 42%,
      #f8fcff 100%
    );

  color: #163c34;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.6;
}

a {
  color: #008c72;
}

a:hover {
  color: #006f5b;
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 10px 24px;

  background:
    linear-gradient(
      90deg,
      #008e71 0%,
      #00b999 52%,
      #0099c4 100%
    );

  color: white;

  box-shadow:
    0 4px 16px rgba(0, 70, 65, 0.22);

  position: relative;
  z-index: 10;
}


/* Brand / logo */

.brand {
  display: flex;
  align-items: center;

  gap: 10px;

  color: white;
  text-decoration: none;

  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;

  white-space: nowrap;
}

.brand:hover {
  color: white;
}


/*
   IMPORTANT:
   Constrains the original full-size logo so it behaves
   like a banner emblem instead of a page image.
*/
.brand-logo {
  display: block;

  width: 46px;
  height: 46px;

  object-fit: contain;

  flex: 0 0 auto;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.site-header nav {
  display: flex;
  align-items: center;

  gap: 20px;

  margin: 0;
}

.site-header nav a {
  position: relative;

  color: rgba(255, 255, 255, 0.94);

  text-decoration: none;

  font-size: 0.94rem;
  font-weight: 700;

  padding: 8px 0;

  transition:
    opacity 0.15s ease,
    color 0.15s ease;
}

.site-header nav a:hover {
  color: white;
  opacity: 1;
}

.site-header nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 2px;

  height: 2px;

  background: white;

  border-radius: 2px;
}


/* ==========================================================
   MAIN PAGE CONTAINER
========================================================== */

main {
  width: min(1120px, calc(100% - 32px));

  margin: 34px auto 48px;

  background: rgba(255, 255, 255, 0.96);

  border:
    1px solid rgba(0, 145, 116, 0.14);

  border-radius: 18px;

  box-shadow:
    0 14px 40px rgba(0, 70, 60, 0.12);

  overflow: hidden;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
  text-align: center;

  padding:
    62px
    56px
    58px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(0, 201, 167, 0.16),
      transparent 56%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f3fcf9 100%
    );

  border-bottom:
    1px solid rgba(0, 145, 116, 0.13);
}

.eyebrow {
  margin:
    0
    0
    10px;

  color: #008c72;

  font-size: 0.76rem;
  font-weight: 800;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.hero h1 {
  margin:
    0
    0
    18px;

  color: #123f36;

  font-size:
    clamp(
      2.2rem,
      5vw,
      4rem
    );

  line-height: 1.05;

  letter-spacing: -0.025em;
}

.hero-statement {
  max-width: 760px;

  margin:
    0
    auto
    14px;

  color: #184f43;

  font-size:
    clamp(
      1.18rem,
      2.3vw,
      1.6rem
    );

  line-height: 1.45;
}

.hero-copy {
  max-width: 760px;

  margin:
    0
    auto;

  color: #52746c;

  font-size: 1.04rem;
}


/* ==========================================================
   STANDARD CONTENT SECTIONS
========================================================== */

.content-section {
  padding:
    44px
    56px;

  border-bottom:
    1px solid rgba(0, 120, 100, 0.09);
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section h2 {
  margin:
    0
    0
    20px;

  color: #16483e;

  font-size:
    clamp(
      1.55rem,
      3vw,
      2.1rem
    );

  line-height: 1.2;
}

.content-section p {
  max-width: 880px;

  margin:
    0
    0
    17px;

  color: #3e5d56;

  font-size: 1rem;
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section strong {
  color: #173f36;
}


/* ==========================================================
   FEATURE / STANDARD SECTION
========================================================== */

.feature-section {
  background:
    linear-gradient(
      180deg,
      rgba(235, 250, 246, 0.78),
      rgba(255, 255, 255, 0.9)
    );
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 0;
}


/* ==========================================================
   PRINCIPLES
========================================================== */

.principles {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.principle {
  padding: 24px;

  background: white;

  border:
    1px solid rgba(0, 145, 116, 0.15);

  border-radius: 14px;

  box-shadow:
    0 6px 18px rgba(0, 80, 65, 0.06);
}

.principle h3 {
  margin:
    0
    0
    10px;

  color: #087b68;

  font-size: 1.15rem;
}

.principle p {
  margin: 0;

  color: #4b6861;

  font-size: 0.96rem;
}


/* ==========================================================
   STATEMENT SECTION
========================================================== */

.statement-section {
  background:
    linear-gradient(
      135deg,
      #0b7e69 0%,
      #00a78c 58%,
      #028fb2 100%
    );

  color: white;
}

.statement-section h2 {
  color: white;
}

.statement-section p {
  color:
    rgba(255, 255, 255, 0.92);
}

.statement-section strong {
  color: white;
}

.statement-section em {
  color: white;
}

.statement-section blockquote {
  max-width: 820px;

  margin:
    4px
    0
    30px;

  padding:
    20px
    26px;

  border-left:
    4px solid rgba(255, 255, 255, 0.9);

  background:
    rgba(255, 255, 255, 0.1);

  border-radius:
    0
    10px
    10px
    0;

  color: white;

  font-size:
    clamp(
      1.08rem,
      2vw,
      1.35rem
    );

  font-style: italic;

  line-height: 1.55;
}


/* ==========================================================
   VALUES
========================================================== */

.values-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  margin-top: 26px;
}

.values-grid article {
  padding:
    20px
    22px;

  background:
    #f7fcfa;

  border:
    1px solid rgba(0, 145, 116, 0.13);

  border-radius: 12px;
}

.values-grid h3 {
  margin:
    0
    0
    8px;

  color: #087b68;

  font-size: 1.05rem;
}

.values-grid p {
  margin: 0;

  color: #536e67;

  font-size: 0.94rem;
}


/* ==========================================================
   FOUNDER
========================================================== */

.founder-section {
  background:
    linear-gradient(
      180deg,
      #fbfefd 0%,
      #f1faf7 100%
    );
}

.founder-section a {
  font-weight: 700;
}


/* ==========================================================
   LEGAL
========================================================== */

.legal-section {
  background: #f5faf8;

  border-top:
    4px solid #009874;
}

.legal-section h2 {
  color: #165146;
}

.legal-section p {
  max-width: 940px;

  color: #526962;

  font-size: 0.87rem;

  line-height: 1.65;
}


/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
  width: 100%;

  text-align: center;

  padding:
    28px
    20px;

  background: #123f36;

  color:
    rgba(255, 255, 255, 0.85);

  font-size: 0.86rem;
}

.site-footer p {
  margin:
    4px
    0;
}

.site-footer a {
  color: white;

  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;

  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 8px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 820px) {

  .site-header {
    flex-direction: column;

    align-items: center;

    gap: 6px;

    padding:
      10px
      16px
      8px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .site-header nav {
    width: 100%;

    justify-content: center;

    gap: 18px;
  }

  main {
    width:
      min(
        100% - 22px,
        1120px
      );

    margin-top: 22px;

    border-radius: 14px;
  }

  .hero {
    padding:
      48px
      30px
      44px;
  }

  .content-section {
    padding:
      36px
      32px;
  }

  .values-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ==========================================================
   PHONE
========================================================== */

@media (max-width: 560px) {

  body {
    font-size: 16px;
  }

  .site-header {
    padding:
      8px
      10px
      6px;
  }

  .brand {
    font-size: 1.03rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 0.82rem;
  }

  main {
    width: 100%;

    margin:
      0
      auto;

    border: 0;

    border-radius: 0;

    box-shadow: none;
  }

  .hero {
    padding:
      42px
      20px
      38px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-statement {
    font-size: 1.12rem;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .content-section {
    padding:
      32px
      20px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    padding: 20px;
  }

  .statement-section blockquote {
    padding:
      17px
      18px;

    font-size: 1.03rem;
  }

  .legal-section p {
    /*
       Deliberately smaller than the main prose,
       but still comfortably readable.
    */
    font-size: 0.82rem;
  }

  .footer-links {
    gap:
      6px
      8px;
  }

}