:root {
    color-scheme: light;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #000000;
    background: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.button {
    font: inherit;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    position: sticky;
    top: 0;
    --header-height: 64px;
    z-index: 1102;
}

.site-header__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 1rem;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo {
    width: 40px;
    height: 40px;
    background: none;
    color: #ffffff;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
    overflow: hidden;
}

.site-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.custom-logo-link {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.site-title-block {
    display: grid;
    gap: 0.04rem;
}

.site-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
}

.site-tagline {
    color: #6a6a6a;
    font-size: 0.8rem;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: #111111;
    border: 0;
    padding: 0;
    border-radius: 0;
    cursor: pointer;
}

.menuToggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menuToggle span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.menuToggle span:nth-child(1) {
  top: 10px;
  width: 16px;
}

.menuToggle span:nth-child(2) {
  top: 20px;
  width: 22px;
}

.menuToggle span:nth-child(3) {
  top: 30px;
  width: 16px;
}

.menuToggle.isOpen span {
  transform: rotate(90deg);
  top: auto;
  bottom: 16px;
}

.menuToggle.isOpen span:nth-child(1) {
  left: 4px;
  width: 16px;
}

.menuToggle.isOpen span:nth-child(2) {
  left: 12px;
  width: 22px;
  bottom: 18px;
}

.menuToggle.isOpen span:nth-child(3) {
  left: 26px;
  width: 16px;
}

.menuToggle.isOpen span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 3px;
  background: #111;
  border-radius: 2px;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%) rotate(-100deg);
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-list {
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-item {
    position: relative;
}

.menu-list a,
.menu-link {
    color: #000000;
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.menu-link--dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.menu-link--dropdown-toggle::after {
    content: '▾';
    font-size: 0.9rem;
    line-height: 1;
    transition: transform 0.2s ease;
    color: #7a2330;
}

.menu-item--has-dropdown.dropdown-open > .menu-link--dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 0.85rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu li {
    padding: 0;
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: #111111;
    font-weight: 500;
}

.dropdown-menu a:first-child {
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.dropdown-menu a:last-child {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.dropdown-menu a:hover {
    background: #f7f2ec;
}

.dropdown-menu a:hover {
    background: #f7f2ec;
}

.menu-item--has-dropdown.dropdown-open .dropdown-menu {
    display: block;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.3rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.button--primary {
    background: #fb9900;
    color: #000000;
}

.notice {
    padding: 1rem 1.25rem;
    border-radius: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.notice--error {
    background: #fbe9e6;
    color: #8a1d15;
    border-color: #f5c2be;
}

.auth-form {
    display: grid;
    gap: 1rem;
    max-width: 420px;
    margin: 0 auto;
}

.auth-form label {
    display: grid;
    gap: 0.5rem;
    font-weight: 600;
    color: #111111;
}

.auth-form input {
    width: 100%;
    border: 1px solid #d9d9d9;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    font-size: 1rem;
}

.password-field__wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    color: #7a2330;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.auth-actions a {
    color: #7a2330;
    text-decoration: none;
    font-weight: 700;
}

.auth-footer {
    margin: 0;
    text-align: center;
    color: #444444;
}

.profile-menu-wrapper {
    position: relative;
}

.button--profile {
    background: #7a2330;
    color: #ffffff;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-icon {
    display: inline-flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 0.85rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1105;
    overflow: hidden;
}

.profile-dropdown.is-open,
.profile-menu-wrapper:hover .profile-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.profile-dropdown a {
    display: block;
    padding: 0.85rem 1rem;
    color: #111111;
    text-decoration: none;
    font-weight: 500;
}

.profile-dropdown a:hover {
    background: #f7f2ec;
}

.profile-dropdown__user {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
}

.profile-dropdown__avatar img,
.profile-dropdown__avatar > img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: block;
}

.profile-dropdown__meta {
    display: grid;
    gap: 0.15rem;
}

.profile-name {
    font-weight: 700;
}

.profile-email {
    font-size: 0.85rem;
    color: #666666;
}

.profile-dropdown hr {
    margin: 0;
    border: 0;
    border-top: 1px solid #eee;
}

.button--primary:hover,
.button--secondary:hover,
.button--login:hover {
    background: #ffad1f;
}

.button--secondary,
.button--login {
    background: #fb9900;
    color: #000000;
}

.hero-section {
    background: #7a2330;
    color: #ffffff;
    padding: 4rem 1.5rem;
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.eyebrow {
    display: inline-block;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    color: #ffad1f;
}

.hero-section h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    margin: 0;
    line-height: 1.05;
    max-width: 11ch;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.section {
    padding: 4rem 1.5rem;
}

.section--white {
    background: #ffffff;
}

.section--pale {
    background: #f7f2ec;
}

.section-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.section h2 {
    margin: 0 0 1.5rem;
    font-size: 2.1rem;
    color: #000000;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid--two-by-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.feature-card {
    background: #f7f2ec;
    padding: 2rem;
    border-radius: 1.2rem;
    display: grid;
    gap: 1rem;
}

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    color: #7a2330;
    display: grid;
    place-items: center;
    font-size: 1.75rem;
}

.info-card h3,
.feature-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.info-card p,
.feature-card p,
.section-copy {
    margin: 0;
    color: #333333;
}

.link-inline {
    color: #7a2330;
    font-weight: 700;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.65rem;
}

.check-list li::before {
    content: '•';
    color: #7a2330;
    display: inline-block;
    width: 1.2rem;
}

.site-footer {
    background: #111111;
    color: #ffffff;
    padding: 1.5rem 1.5rem 2rem;
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 960px) {
    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-menu {
        gap: 0.75rem;
    }

    .menu-list {
        flex-wrap: wrap;
    }

    .card-grid--three,
    .card-grid--two-by-two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .site-header__inner {
        flex-wrap: wrap;
        align-items: center;
        position: relative;
    }

    .site-branding {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .site-title-block {
        min-width: 0;
    }

    .site-title {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-tagline {
        font-size: 0.72rem;
    }

    .site-navigation {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        width: auto;
        max-width: 100%;
    }

    .menu-toggle {
        display: inline-flex;
        position: relative;
        margin-left: 0;
        z-index: 1103;
    }

    /* Slide-in mobile menu (from right -> left) */
    .site-menu {
        display: flex;
        position: fixed;
        top: var(--header-height);
        right: 0;
        height: calc(100vh - var(--header-height));
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: #ffffff;
        padding: 1.5rem 1.25rem;
        border-radius: 0 0 0 0;
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
        z-index: 1050;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-menu.is-open {
        transform: translateX(0);
    }

    .site-menu .button--login {
        display: inline-flex;
        align-items: center;
        background: none;
        color: #000000;
        font-weight: 700;
        padding: 0;
        border: none;
        border-radius: 0;
        min-height: auto;
        margin-top: 0;
    }

    .site-menu .button--login:hover,
    .site-menu .button--login:focus {
        background: none;
        color: #000000;
        text-decoration: underline;
    }

    .menu-list {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }

    .menu-list .menu-item {
        border-bottom: 1px solid #e6e6e6;
        padding-bottom: 0.85rem;
        padding-top: 0.85rem;
    }

    .menu-list .menu-item:first-child {
        padding-top: 0;
    }

    .menu-list .menu-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        margin-top: 0;
        padding: 0;
        display: none;
    }

    .menu-item--has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding-left: 0.75rem;
        display: block;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .dropdown-menu li {
        border-bottom: 1px solid #e6e6e6;
    }

    .dropdown-menu li:last-child {
        border-bottom: none;
    }

    .hero-section {
        padding: 3rem 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}
