/* Be Unique — public branding site (Google OAuth homepage) */
:root {
  --ink: #10241f;
  --ink-soft: #2a4039;
  --mist: #e8f0ec;
  --foam: #f5f8f6;
  --gold: #b8894a;
  --gold-soft: #d4b483;
  --leaf: #1f6b55;
  --leaf-deep: #0d3d32;
  --line: rgba(16, 36, 31, 0.12);
  --shadow: 0 24px 60px rgba(13, 61, 50, 0.18);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(184, 137, 74, 0.22), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(31, 107, 85, 0.18), transparent 50%),
    linear-gradient(165deg, #f7faf8 0%, #e7efe9 48%, #dfeae4 100%);
  line-height: 1.55;
}

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

a:hover {
  color: var(--leaf-deep);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Top bar —— */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0;
}

.top nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.top nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.top nav a:hover {
  color: var(--ink);
}

.mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 4rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -8% -20% 35%;
  background:
    linear-gradient(135deg, rgba(13, 61, 50, 0.92), rgba(31, 107, 85, 0.75)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1' d='M0 80h160M80 0v160'/%3E%3C/svg%3E");
  border-radius: 2.5rem 0 0 2.5rem;
  box-shadow: var(--shadow);
  transform: skewX(-4deg);
  animation: plane-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding-bottom: 1rem;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.brand span {
  display: block;
  color: var(--leaf-deep);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink);
  color: #f7faf8;
}

.btn-primary:hover {
  background: var(--leaf-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.hero-aside {
  position: absolute;
  right: 6%;
  bottom: 18%;
  z-index: 1;
  color: rgba(247, 250, 248, 0.92);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.04em;
  text-align: right;
  max-width: 14rem;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-aside small {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0;
}

/* —— Sections —— */
.section {
  padding: 3.5rem 0 4rem;
  animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.section p {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.purpose-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.purpose-list li {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 2.6rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink-soft);
}

.purpose-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 137, 74, 0.2);
}

/* —— Privacy page —— */
.page-hero {
  padding: 3rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  margin: 0;
  color: var(--ink-soft);
}

.prose {
  padding-bottom: 4rem;
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

/* —— Footer —— */
.foot {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.foot strong {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 800;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plane-in {
  from {
    opacity: 0;
    transform: skewX(-4deg) translateX(40px);
  }
  to {
    opacity: 1;
    transform: skewX(-4deg) translateX(0);
  }
}

@media (max-width: 800px) {
  .hero::before {
    inset: auto 0 0 0;
    height: 38%;
    border-radius: 2rem 2rem 0 0;
    transform: none;
  }

  .hero {
    align-items: start;
    min-height: auto;
    padding: 2.5rem 0 12rem;
  }

  .hero-aside {
    right: 1.25rem;
    bottom: 2.5rem;
    text-align: left;
  }
}
