/* DM Serif Display ships no local files with the theme, so it still comes from
   Google. Drop this @import once the .ttf/.woff2 files are added to ../fonts/.
   (@import must precede all other rules, so it stays at the top of the file.) */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

/* Poppins is self-hosted from ../fonts/ — no runtime request to Google.
   Only the weights this theme uses (400/500/600/700 + italic) are shipped. */
@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins/Poppins-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --white-color: #fff;
    --offwhite-color: #f8f8fa;
    --black-color: #101827;
    --gray-color: #697080;
    --yellow-color: #c9a14d;
    --dark-sky: #1d65db;
    --border-color: #e5e7eb;
    --navy-color: #07192f;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Poppins, sans-serif;
    color: var(--black-color);
    background: var(--offwhite-color);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 20px;
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
}

.header-inner,
.footer-inner {
    max-width: 1140px;
    height: 100%;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--yellow-color);
    border: 2px solid currentColor;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: bold;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav a {
    font-size: 12px;
}

.desktop-nav a:hover,
.site-footer a:hover {
    color: var(--dark-sky);
}

.desktop-nav i {
    font-size: 9px;
    margin-left: 4px;
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white-color) !important;
    background: var(--navy-color);
}

.contact-btn:hover {
    background: var(--dark-sky);
}

.nav-dropdown { position: relative; }
.nav-dropdown-toggle { border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.nav-dropdown-toggle i { transition: transform .2s; }
.nav-dropdown-menu { display: none; position: absolute; z-index: 20; top: calc(100% + 16px); left: 50%; width: 150px; padding: 7px; border: 1px solid var(--border-color); border-radius: 6px; box-shadow: 0 8px 18px rgba(10,25,45,.12); background: #fff; transform: translateX(-50%); }
.nav-dropdown-menu a { display: block; padding: 8px 10px; border-radius: 4px; color: var(--black-color); font-size: 11px; white-space: nowrap; }
.nav-dropdown-menu a:hover { color: var(--dark-sky); background: #f3f7ff; }
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown.is-open .nav-dropdown-toggle i { transform: rotate(180deg); }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 20px;
    color: var(--navy-color);
}

.account-main {
    min-height: calc(100vh - 129px);
    padding: 64px 20px 40px;
    background: radial-gradient(ellipse at 0% 42%, rgba(209, 216, 231, .45) 0, transparent 27%), linear-gradient(105deg, #fafbfc 0%, #fff 65%);
}

.account-layout {
    max-width: 650px;
    margin: auto;
    display: grid;
    grid-template-columns: 448px 250px;
    gap: 38px;
    align-items: center;
}

.signup-card {
    padding: 24px 34px 25px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 26px rgba(23, 36, 55, .09);
    text-align: center;
}

.eyebrow {
    color: var(--yellow-color);
    font-size: 9px;
    font-weight: 600;
}

.eyebrow i {
    margin-right: 5px;
}

h1 {
    margin: 18px 0 6px;
    font: 38px/1.1 'DM Serif Display', serif;
    letter-spacing: -.5px;
}

h1 em {
    color: var(--yellow-color);
    font-style: italic;
}

.intro {
    color: #555d6b;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.signup-form {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-group>label {
    display: block;
    margin-bottom: 5px;
    color: #252d3a;
    font-size: 13px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row label {
    min-width: 0;
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    height: 41px;
    margin-top: 5px;
    padding: 0 11px;
    border: 1px solid var(--border-color);
    border-radius: 2px;
    color: #737a86;
    background: var(--white-color);
}

.input-wrap>i {
    width: 18px;
    font-size: 13px;
}

.input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    padding-left: 8px;
    color: #242b38;
    font-size: 11px;
    background: transparent;
}

.input-wrap input::placeholder {
    color: #838996;
}

.input-wrap:focus-within {
    border-color: var(--dark-sky);
    box-shadow: 0 0 0 2px rgba(29, 101, 219, .1);
}

.optional {
    color: #7a808b;
    font-weight: 400;
}

.field-error {
    display: none;
    min-height: 14px;
    padding-top: 2px;
    color: #dc3545;
    font-size: 10px;
    line-height: 1.2;
}

.password-toggle {
    border: 0;
    padding: 3px;
    color: #78808d;
    background: transparent;
    cursor: pointer;
}

.check-label {
    display: flex !important;
    align-items: flex-start;
    gap: 7px;
    margin: 3px 0 13px !important;
    color: #4d5564 !important;
    font-weight: 400 !important;
}

.check-label>span {
    font-size: 13px;
    line-height: 1.5;
}

.check-label input {
    width: 14px;
    height: 14px;
    margin-top: 1px;
    accent-color: var(--dark-sky);
}

.check-label a,
.login-copy a {
    color: #618dff;
}

.create-btn,
.google-btn {
    width: 100%;
    height: 39px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.create-btn {
    border: 0;
    color: var(--white-color);
    background: linear-gradient(90deg, #146ae8, #2153d8);
    box-shadow: 0 3px 5px rgba(33, 83, 216, .22);
}

.create-btn:hover {
    filter: brightness(.94);
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 16px 0;
    color: #626a76;
    font-size: 11px;
}

.divider:before,
.divider:after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border-color);
}

.google-btn {
    border: 1px solid var(--border-color);
    color: #202632;
    background: var(--white-color);
}

.google-letter {
    margin-right: 14px;
    color: #4285f4;
    font-weight: 700;
    font-size: 17px;
    vertical-align: -1px;
}

.login-copy {
    margin-top: 21px;
    color: #777e89;
    font-size: 11px;
}

.benefit-list {
    align-self: center;
}

.benefit {
    min-height: 100px;
    display: flex;
    gap: 18px;
    padding: 21px 4px;
    border-bottom: 1px solid #e9ebef;
}

.benefit:last-child {
    border: 0;
}

.benefit-icon {
    width: 25px;
    padding-top: 2px;
    color: #1561c9;
    font-size: 25px;
}

.benefit h2 {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.3;
}

.benefit p {
    color: #515a68;
    font-size: 10px;
    line-height: 1.8;
}

.site-footer {
    height: 60px;
    border-top: 1px solid var(--border-color);
    background: var(--white-color);
}

.site-footer p,
.site-footer a {
    color: #606875;
    font-size: 10px;
}

.site-footer div div {
    display: flex;
    gap: 38px;
}

/* Welcome / login page */

.welcome-page {
    background: var(--navy-color);
}

.welcome-main {
    min-height: calc(100vh - 129px);
    padding: 51px 20px 34px;
    color: var(--white-color);
    background: radial-gradient(ellipse at 100% 47%, rgba(25, 87, 161, .24) 0, transparent 28%), radial-gradient(ellipse at 0% 47%, rgba(25, 87, 161, .18) 0, transparent 28%), var(--navy-color);
}

.login-card {
    max-width: 500px;
    margin: auto;
    padding: 22px 44px 37px;
    text-align: center;
    border: 1px solid rgba(117, 150, 194, .13);
    border-radius: 9px;
    background: rgb(12 27 47);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    backdrop-filter: blur(2px);
}

.login-card .eyebrow {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(201, 161, 77, .26);
    border-radius: 16px;
    background: rgba(201, 161, 77, .08);
}

.login-card h1 {
    color: var(--white-color);
    margin-top: 25px;
}

.login-card .intro {
    color: #c2c9d5;
    margin-bottom: 29px;
}

.login-card .form-group>label {
    color: #e0e5ed;
}

.login-card .input-wrap {
    border-color: rgba(123, 147, 180, .16);
    color: #b2bac7;
    background: rgba(19, 43, 75, .56);
}

.login-card .input-wrap input {
    color: var(--white-color);
}

.password-group {
    position: relative;
}

.forgot-link {
    position: absolute;
    top: 0;
    right: 0;
    color: #618dff;
    font-size: 10px;
}

.login-card .check-label {
    color: #d0d6e0 !important;
    margin: 4px 0 15px !important;
}

.login-card .divider {
    color: #d0d6e0;
}

.login-card .divider:before,
.login-card .divider:after {
    background: rgba(151, 170, 198, .18);
}

.login-card .login-copy {
    color: #bcc4d0;
}

.stat-list {
    max-width: 660px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(151, 170, 198, .13);
    border-bottom: 1px solid rgba(151, 170, 198, .13);
}

.stat-list article {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 92px;
}

.stat-list i {
    color: var(--yellow-color);
    font-size: 25px;
}

.stat-list strong,
.stat-list span {
    display: block;
}

.stat-list strong {
    font-size: 15px;
    font-weight: 600;
}

.stat-list span {
    margin-top: 3px;
    color: #afb8c6;
    font-size: 9px;
}

.welcome-footer {
    border-color: rgba(151, 170, 198, .13);
    background: var(--navy-color);
}

.welcome-footer p,
.welcome-footer a {
    color: #b3bdcb;
}
