/* The landing page: a calm, professional layout (after the Unicamp reference) in Koko & Co's colours.
   Builds on shule.css, which the sign-up pages share. Photos: photos/CREDITS.md. */

/* Square-cornered buttons and fields read as more formal than pills. */
.landing .button { border-radius: 4px; box-shadow: none; }
.landing .button:hover { box-shadow: none; }
.button--square { gap: 0.6rem; }
.landing .section-title { font-weight: 500; }

/* ---------- Hero: a full-width photo with a white card (Unicamp) ---------- */
.pro-hero { position: relative; display: flex; align-items: center; min-height: min(52rem, 92vh); padding-block: 8rem 5rem; overflow: hidden; background: var(--plum); }
.pro-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; }
/* Darker at the top so the menu stays readable over the photo. */
.pro-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(26 15 30 / 0.55), transparent 28%); pointer-events: none; }
.pro-hero-inner { position: relative; z-index: 1; }
.pro-hero-card { max-width: 34rem; padding: 3rem 3rem 2.5rem; background: #fff; box-shadow: 0 30px 60px rgb(26 15 30 / 0.25); }
.pro-hero-card h1 { font: 500 clamp(2.2rem, 4vw, 3.2rem)/1.08 var(--serif); letter-spacing: -0.02em; color: var(--plum); }
.pro-hero-lede { margin: 1.25rem 0 1.75rem; color: var(--muted); font-size: 1.05rem; }
.pro-address { margin: 1rem 0 0; color: var(--muted); font-size: 0.88rem; }
.pro-address code { font: inherit; color: var(--ink); }

/* The name box on white: a plain field and a square button */
.namebox--card { max-width: none; padding: 0.35rem; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #d9d1e3; }
.namebox--card input { color: var(--ink); }
.namebox--card input::placeholder { color: #8a8294; }
.namebox--card:focus-within { box-shadow: inset 0 0 0 2px var(--purple); }

/* ---------- Three points under the hero ---------- */
.pro-points { padding-block: 3.5rem; border-bottom: 1px solid var(--line); }
.pro-points-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.pro-point { display: flex; gap: 1.1rem; align-items: flex-start; }
.pro-point .icon { flex: none; width: 2.6rem; height: 2.6rem; color: var(--purple); stroke-width: 1.3; }
.pro-point h2 { margin-bottom: 0.35rem; font: 500 1.25rem/1.2 var(--serif); color: var(--plum); }
.pro-point p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------- About: heading on the left, words on the right ---------- */
.pro-about { padding-block: 6.5rem 5rem; }
.pro-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 5rem; align-items: start; }
.pro-about-text p { margin: 0 0 1.1rem; color: var(--muted); font-size: 1.05rem; }
.pro-about-text .button { margin-top: 1rem; }

/* ---------- A wide photo with a pale band behind its lower half ---------- */
.pro-band { background: linear-gradient(to bottom, #fff 55%, var(--mist) 55%); padding-bottom: 6rem; }
.pro-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 35%; }

/* ---------- What parents look for: a numbered list beside a real homepage on a phone ---------- */
.pro-parents { background: var(--mist); padding-top: 1rem; }
.pro-parents-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem 6rem; align-items: center; }
.pro-parents-list { margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: ask; }
.pro-parents-list li {
    display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 0.5rem; padding-block: 1.1rem;
    border-top: 1px solid #ddd5e7; counter-increment: ask;
}
.pro-parents-list li:last-child { border-bottom: 1px solid #ddd5e7; }
.pro-parents-list li::before { content: counter(ask, decimal-leading-zero); grid-row: span 2; color: var(--purple); font: 500 1.35rem/1.2 var(--serif); }
.pro-parents-list b { font: 500 1.2rem/1.3 var(--serif); color: var(--plum); }
.pro-parents-list span { color: var(--muted); font-size: 0.93rem; }
/* A plain phone: dark bezel, rounded screen, the screenshot inside */
.phone { margin: 0; justify-self: center; width: min(100%, 21rem); }
.phone-screen {
    overflow: hidden; aspect-ratio: 375 / 760; padding: 0.7rem; border-radius: 2.75rem; background: var(--plum);
    box-shadow: 0 40px 80px rgb(26 15 30 / 0.22), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2.1rem; background: #fff; }
.phone figcaption { margin-top: 1rem; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* ---------- The school office: the real editor beside a plain list ---------- */
.pro-office-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 3rem 4.5rem; align-items: start; }
.pro-office-shot { margin: 0; }
.pro-office-shot .browser { box-shadow: 0 30px 60px rgb(26 15 30 / 0.14), 0 0 0 1px var(--line); }
.pro-office-shot img { display: block; width: 100%; height: auto; }
.pro-office-shot figcaption { margin-top: 0.9rem; color: var(--muted); font-size: 0.82rem; }
.pro-office-list { margin: 0; }
.pro-office-list div { padding-block: 1rem; border-top: 1px solid var(--line); }
.pro-office-list div:first-child { padding-top: 0; border-top: 0; }
.pro-office-list dt { font: 500 1.2rem/1.3 var(--serif); color: var(--plum); }
.pro-office-list dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.93rem; }

/* The design previews and price card follow the squarer look. */
.landing .browser--small { border-radius: 6px; }
.landing .price-card { border-radius: 6px; }
.landing .steps li { border-radius: 6px; }

/* ---------- Closing: photo beside a card that overlaps it (Unicamp's "Apply" section) ---------- */
.pro-cta { padding-block: 7rem; }
.pro-cta-inner { display: grid; grid-template-columns: 5fr 6fr; align-items: center; }
.pro-cta-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.pro-cta-card { position: relative; margin-left: -4rem; padding: 3.5rem; background: #fff; box-shadow: 0 30px 70px rgb(26 15 30 / 0.12), 0 0 0 1px var(--line); }
.pro-cta-card .section-lede { margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.pro-footer { padding-block: 4rem 1.5rem; background: var(--plum); color: rgb(244 240 248 / 0.7); font-size: 0.93rem; }
.pro-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgb(244 240 248 / 0.12); }
.pro-footer .logo { color: #f4f0f8; }
.pro-footer p { max-width: 24rem; margin: 1rem 0 0; }
.pro-footer a { color: inherit; }
.pro-footer nav { display: grid; gap: 0.6rem; align-content: start; }
.pro-footer nav a { text-decoration: none; }
.pro-footer nav a:hover { color: #fff; text-decoration: underline; }
.pro-footer h2 { margin-bottom: 0.4rem; color: #fff; font: 600 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.pro-footer-bottom { padding-top: 1.5rem; }

@media (max-width: 1000px) {
    .pro-points-inner { grid-template-columns: 1fr 1fr; }
    .pro-parents-inner, .pro-office-inner { grid-template-columns: 1fr; }
    .pro-about-inner, .section-head--split { grid-template-columns: 1fr; }
    .pro-cta-inner { grid-template-columns: minmax(0, 1fr); }
    .pro-cta-photo { aspect-ratio: 4 / 3; }
    .pro-cta-card { margin: -4rem 1.25rem 0; }
}
@media (max-width: 600px) {
    /* Phones: the photo on top, the card overlapping its bottom edge. */
    .pro-hero { display: block; min-height: 0; padding: 0 0 2rem; background: #fff; }
    .pro-hero::after { height: 22rem; }
    .pro-hero-photo { position: relative; height: 22rem; }
    .pro-hero-card { margin-top: -5rem; padding: 2rem 1.5rem; box-shadow: 0 20px 40px rgb(26 15 30 / 0.15); }
    .pro-points-inner, .pro-footer-inner { grid-template-columns: 1fr; }
    .pro-about { padding-block: 4rem 3rem; }
    .pro-band img { aspect-ratio: 4 / 3; }
    .pro-cta { padding-block: 4rem; }
    .pro-cta-card { margin: -3rem 0 0; padding: 2rem 1.5rem; }
    .namebox--card { border-radius: 6px; }
    /* Parents: heading, then the phone, then the list, so the picture explains the list. */
    .pro-parents-inner { gap: 0; }
    .pro-parents-inner > div { display: contents; }
    .pro-parents .phone { order: 1; width: 15.5rem; margin-top: 2.25rem; }
    .pro-parents-list { order: 2; margin-top: 2.25rem; }
    .phone-screen { aspect-ratio: 375 / 700; padding: 0.55rem; border-radius: 2.2rem; box-shadow: 0 24px 48px rgb(26 15 30 / 0.2); }
    .phone-screen img { border-radius: 1.7rem; }
    .phone figcaption { margin-top: 0.75rem; }
    .pro-parents-list li { grid-template-columns: 2.4rem 1fr; padding-block: 0.9rem; }
    .pro-parents-list li::before { font-size: 1.1rem; line-height: 1.35; }
    .pro-parents-list b { font-size: 1.1rem; }
}
