:root {
    --dark: #07111d;
    --medium-dark: #0d1b2a;
    --night-mode: #142638;
    --brown-accent: rgba(195, 81, 35, 0.5);
    --main-accent: #c35123;
    --orange: #d97142;
    --orange-light: #e89972;
    --light: #ffffff;
    --cream: #f5efe8;
    --muted: rgba(245, 239, 232, 0.66);
    --grafit: rgba(245, 239, 232, 0.12);

    --font-display: "Playfair Display", "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-glow: 0 24px 70px -24px rgba(195, 81, 35, 0.55);
    --shadow-card: 0 10px 40px -20px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--cream);
    background-color: var(--medium-dark);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

input {
    font: inherit;
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--light);
}

p {
    text-wrap: pretty;
}

::selection {
    background: var(--main-accent);
    color: var(--light);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: 24px;
}

.section {
    padding-block: 96px;
    border-top: 1px solid var(--grafit);
}

.section-title {
    font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
    max-width: 18ch;
    margin: 0 auto;
    text-align: center;
}

.section-title em {
    font-style: italic;
    color: var(--orange);
}

.btn {
    display: inline-flex;
    text-align: center;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-pill);
    background: var(--main-accent);
    color: var(--light);
    box-shadow: var(--shadow-glow);
    transition: all 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
    background: var(--orange);
    transform: translateY(-2px);
}

.btn .arrow {
    color: var(--light);
    display: inline-block;
    transition: transform 0.2s ease;
    font-size: 18px;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

.micro {
    padding: 5px 15px;
    font-size: 14px;
    color: var(--muted);
}

.site-header {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    padding-block: 28px;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 44px;
    width: auto;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--cream);
}

.brand-name span {
    color: var(--orange-light);
}

.tagline {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    display: none;
}

@media (min-width: 720px) {
    .tagline {
        display: inline;
    }
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: 160px 80px;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 50% 65%,
            rgba(195, 81, 35, 0.35),
            transparent 60%),
        radial-gradient(ellipse 100% 80% at 50% 110%,
            rgba(59, 111, 156, 0.25),
            transparent 70%),
        linear-gradient(180deg, var(--dark) 0%, var(--medium-dark) 60%, var(--night-mode) 100%);
}

.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform-origin: bottom center;
    background: linear-gradient(to top, rgba(217, 113, 66, 0.35), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.hero-bg::before {
    width: 6px;
    height: 70%;
    transform: translateX(-50%) rotate(-14deg);
}

.hero-bg::after {
    width: 6px;
    height: 70%;
    transform: translateX(-50%) rotate(14deg);
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.08;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    pointer-events: none;
}

.hero-content {
    max-width: 880px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw + 1rem, 5.5rem);
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero h1 .accent {
    font-style: italic;
    color: var(--orange);
}

.hero-sub {
    margin-top: 28px;
    max-width: 620px;
    font-size: clamp(1.05rem, 1vw + 0.8rem, 1.25rem);
    color: rgba(245, 239, 232, 0.82);
    line-height: 1.55;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.identification {
    background: var(--medium-dark);
}

.arrow {
    padding: 0 .8rem;
    color: var(--main-accent);
}

.check-grid-subscription {
    margin: 2rem auto 0;
    list-style: none;
    display: grid;
    justify-content: center;
    gap: 1rem;
    font-style: italic;
    text-align: left;
    font-weight: 400;
    font-size: clamp(.8rem, 2vw, 1.2rem);
    color: var(--color-text-muted);
}

.point {
    margin-top: 56px;
    margin: 56px auto 0;
    border-left: 2px solid var(--main-accent);
    padding: 6px 0 6px 24px;
    max-width: 760px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2vw + 0.6rem, 2rem);
    line-height: 1.35;
    color: var(--light);
}

.inside {
    background: linear-gradient(180deg, var(--medium-dark), var(--night-mode));
}

.cards {
    margin-top: 56px;
    display: grid;
    gap: 20px;
}

@media (min-width: 860px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    display: flex;
    position: relative;
    flex-direction: column;
    padding: 32px;
    background: var(--medium-dark);
    border: 1px solid var(--grafit);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: var(--brown-accent);
    scale: 1.05;
}

.card-icon {
    color: var(--orange);
    position: absolute;
    left: 80%;
    transform: translateX(-50%);
    opacity: .2;
}

.card-icon svg {
    width: 5rem;
    height: 5rem;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

.manifesto {
    text-align: center;
    background: var(--medium-dark);
}

.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2vw + 1rem, 2.6rem);
    line-height: 1.3;
    max-width: 28ch;
    margin: 0 auto;
    color: var(--light);
    text-wrap: balance;
}

.manifesto-text em {
    font-style: italic;
    color: var(--orange);
}

.manifesto-divider {
    width: 80px;
    height: 1px;
    background: var(--main-accent);
    margin: 48px auto 0;
}

.social {
    background: linear-gradient(180deg, var(--night-mode), var(--medium-dark));
}

.social .section-title {
    text-align: left;
}

.social-grid {
    display: grid;
    gap: 48px;
    align-items: center;
}

@media (min-width: 960px) {
    .social-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 64px;
    }
}

.social-text {
    margin-top: 28px;
    max-width: 520px;
    font-size: 1.1rem;
    color: rgba(245, 239, 232, 0.8);
}

.cohort-card {
    padding: 36px;
    border: 1px solid rgba(195, 81, 35, 0.35);
    border-radius: var(--radius-lg);
    background: var(--medium-dark);
    box-shadow: var(--shadow-glow);
}

.cohort-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.cohort-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--cream);
}

.check {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(195, 81, 35, 0.15);
    color: var(--orange);
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.final {
  position: relative;
  text-align: center;
  background: var(--medium-dark);
  overflow: hidden;
  isolation: isolate;
}

.final::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(195, 81, 35, 0.28), transparent 60%);
  filter: blur(80px);
  z-index: -1;
}

.final h2 {
  font-size: clamp(2.2rem, 4vw + 1rem, 4.5rem);
  max-width: 16ch;
  margin: 0 auto;
  text-wrap: balance;
}

.final h2 em {
  font-style: italic;
  color: var(--orange);
}

.signup {
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 560px;
}

.signup input {
  flex: 2;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--grafit);
  background: rgba(20, 38, 56, 0.65);
  color: var(--light);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 400px;
}

.signup .btn {
    padding: 16px 50px;
}


@media (max-width: 600px) {
  .signup input {
    width: 60vw;
  }
}

.signup input::placeholder {
  color: rgba(245, 239, 232, 0.45);
}

.signup input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(195, 81, 35, 0.18);
}

.site-footer {
  border-top: 1px solid var(--grafit);
  padding-block: 36px;
  background: var(--dark);
}

.site-footer p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
