:root{
  --raytag-charcoal:#100f13;
  --raytag-charcoal-2:#1b171c;
  --raytag-primary:#e9147a;
  --raytag-highlight:#ff4f9f;
  --raytag-raspberry:#e9147a;
  --raytag-pink:#ff88c7;
  --raytag-light:#f7f4f6;
  --ink:#231920;
  --muted:#75656d;
  --line:#e4d9df;
  --paper:#f7f4f6;
  --purple:#e9147a;
  --night:#100f13;
  --mint:var(--raytag-highlight);
  --raytag-page-width:1600px;
  --raytag-page-gutter:36px;
}

/* Raytag mark; product UI combines Rayhost structure with the Raytag color system. */
.site-brand,.brand,.footer-brand,.public-wordmark{letter-spacing:-.035em}
.site-brand>span:last-child,.brand>span:last-child{font-weight:650}
.site-brand small,.brand small{letter-spacing:.18em}
.site-mark,.brand-mark{position:relative;overflow:hidden;background:#0f0f10;color:#fff;font-weight:750;letter-spacing:-.09em;text-transform:lowercase}
.site-mark{font-size:29px;box-shadow:none}
.site-mark i,.brand-mark span{position:absolute;top:0;right:auto;left:52%;width:19px;height:9px;border:0;border-radius:0;background:linear-gradient(135deg,var(--raytag-pink),var(--raytag-raspberry));transform:translateX(-8%) skewX(-34deg)}

/* Public product pages */
body{background:linear-gradient(180deg,#fff 0,#f7f4f6 100%)}
.site-header,.landing-main,.legal-page,.site-footer{
  width:100%;
  max-width:var(--raytag-page-width);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--raytag-page-gutter);
  padding-right:var(--raytag-page-gutter);
}
.auth-layout{
  width:calc(100% - (2 * var(--raytag-page-gutter)));
  max-width:calc(var(--raytag-page-width) - (2 * var(--raytag-page-gutter)));
  margin-left:auto;
  margin-right:auto;
}
@media(max-width:900px){:root{--raytag-page-gutter:25px}}
@media(max-width:720px){:root{--raytag-page-gutter:20px}}
.hero{border-color:#4a2d3b;border-radius:8px;background:linear-gradient(100deg,#100f13 0%,#1a1418 52%,#3b1527 100%);box-shadow:none}
.hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(135deg,transparent 0 69%,#ff4f9f10 69% 69.2%,transparent 69.2%),linear-gradient(90deg,transparent 0 78%,#e9147a12 78% 78.15%,transparent 78.15%)}
.hero-copy,.hero-showcase{z-index:1}
.hero h1 em,.team-copy h2 em,.auth-story h2 em,.featured .price-badge{color:var(--raytag-highlight)}
.hero-pill i,.showcase-caption>span,.demo-avatar span{background:var(--raytag-highlight);box-shadow:0 0 14px #ff4f9f66}
.btn{border-radius:7px}
.btn-mint,.featured .btn{background:var(--raytag-primary);color:#fff;box-shadow:none}
.btn-mint:hover,.featured .btn:hover{background:#bd0d62;box-shadow:none}
.btn-dark{background:var(--raytag-charcoal-2);color:#fff;box-shadow:none}
.btn-dark:hover{background:#2b2027;box-shadow:none}
.benefit-strip svg,.team-copy li svg,.team-brand-note>svg,.story-points svg,.hero-note svg{color:var(--raytag-highlight)}
.mini-card-link{color:var(--raytag-highlight)}
.feature-card,.price-card{border-radius:10px;box-shadow:none}
.feature-icon{border-radius:7px}
.feature-icon.mint{background:#fff0f7;color:var(--raytag-primary)}
.color-samples i:nth-child(2),.floating-design i:nth-last-child(2){background:var(--raytag-highlight)}
.team-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:#4a2d3b;
  border-radius:8px;
  background-image:linear-gradient(90deg,#100f13e8 0%,#160f13ba 46%,#160f138c 100%),url("images/raytag-open-office-v1.webp");
  background-size:cover;
  background-position:center;
  box-shadow:none;
}
.team-section> *{position:relative;z-index:1}
.team-preview{border-radius:8px;background:linear-gradient(135deg,#25151deb,#351725e8);box-shadow:0 18px 45px #09060945;backdrop-filter:blur(8px)}
@media(max-width:720px){.team-section{background-position:62% center;background-image:linear-gradient(180deg,#100f13e8,#160f13b8),url("images/raytag-open-office-v1.webp")}}
.price-card.featured{background:linear-gradient(120deg,#100f13,#351725);border-color:#663749}
.closing-cta{border-radius:8px;background:linear-gradient(120deg,#fff3f8,#fff);box-shadow:none}
.auth-layout{border-radius:8px;box-shadow:0 20px 60px #3a17250d}
.auth-story{background:linear-gradient(145deg,#100f13,#2d1722)}
.auth-mini-card{border-radius:8px;background:#ffffff0a;box-shadow:none}
.field input{border-radius:7px}
.field input:focus{border-color:#ff4f9f;box-shadow:0 0 0 3px #ff4f9f1c}
.account-type-picker label>span{border-radius:8px}
.account-type-picker input:checked+span{background:#fff2f8;border-color:#f18abb}
.privacy-check input{accent-color:var(--raytag-primary)}
.footer-brand{color:var(--raytag-charcoal);font-size:16px;text-transform:lowercase}

/* Workspace tokens */
html[data-theme=dark]{--bg:#100f13;--side:#151218;--surface:#1c181e;--surface-2:#282028;--input:#151217;--ink:#faf6f8;--muted:#b7a9b0;--line:#9c657d38;--accent:var(--raytag-highlight);--accent-ink:#100f13;--hover:#33242c}
html[data-theme=light]{--bg:#f4f1f3;--side:#fff;--surface:#fff;--surface-2:#f7f4f6;--input:#fbf9fa;--ink:#231920;--muted:#75656d;--line:#e4d9df;--accent:var(--raytag-primary);--accent-ink:#fff;--hover:#fff0f7}
.main{background:linear-gradient(135deg,#ff4f9f05,transparent 40%)}
.brand-mark{border-radius:8px}
html[data-theme=dark] .brand-mark{background:#f4f6f8;color:#0f0f10;box-shadow:none}
html[data-theme=dark] .brand-mark span{background:linear-gradient(135deg,var(--raytag-pink),var(--raytag-raspberry));border:0}
html[data-theme=dark] :where(.workspace-light,.user-dot,.status-dot:not(.offline),.live-label i,.eyebrow i){background:var(--raytag-highlight);box-shadow:0 0 11px #ff4f9f44}
.sidebar-workspace,.side-note,.overview-item,.editor-card,.account-panel,.company-metric{border-radius:10px}
html[data-theme=dark] .sidebar-workspace{background:#ffffff05;box-shadow:none}
html[data-theme=dark] .side-link:hover{background:#ffffff08}
html[data-theme=dark] .side-link.active{background:#3a1828;color:#fff1f8;box-shadow:inset 3px 0 0 var(--raytag-highlight)}
html[data-theme=dark] .side-note{background:#2d1722;border-color:#5e3c4b;box-shadow:none}
.note-spark{color:var(--raytag-highlight)!important}
html[data-theme=dark] :where(.theme-toggle,.button.secondary,.upload-label,.social-remove){background:#261a20;border-color:#654555;box-shadow:none}
html[data-theme=dark] .button.primary,html[data-theme=dark] .social-compose-fields button{background:var(--raytag-primary);color:#fff;box-shadow:none}
html[data-theme=dark] .button.primary:hover{background:#bd0d62;box-shadow:none}
.button{border-radius:7px}
html[data-theme=dark] .eyebrow{color:var(--raytag-highlight)}
html[data-theme=dark] h1>span{color:var(--raytag-highlight)}
html[data-theme=dark] .overview-item{background:#1c181e;border-color:#5e3c4b;box-shadow:none}
html[data-theme=dark] .overview-item:nth-child(2),html[data-theme=dark] .overview-item:nth-child(3){background:#1c181e}
html[data-theme=dark] .metric-icon{background:#ffffff05;border-color:#654555;color:#e7c4d4}
html[data-theme=dark] .metric-detail{color:var(--raytag-highlight);background:#ff4f9f0b}
html[data-theme=dark] .progress span{background:var(--raytag-highlight)}
html[data-theme=dark] .editor-card{background:#1c181e;border-color:#5e3c4b;box-shadow:none}
html[data-theme=dark] .card-head{background:none}
html[data-theme=dark] .editor-nav{background:#151217;border-color:#513240}
html[data-theme=dark] .editor-nav a.active{color:#fff4f9;border-color:var(--raytag-highlight);background:#ff4f9f08}
html[data-theme=dark] .input{background:#151217;border-color:#654555;box-shadow:none}
html[data-theme=dark] .input:focus{border-color:var(--raytag-highlight);box-shadow:0 0 0 3px #ff4f9f18}
html[data-theme=dark] :where(.avatar-row,.logo-upload,.social-row,.social-platform,.social-compose){background:#191419;border-color:#5e3c4b;box-shadow:none}
html[data-theme=dark] .logo-upload{background:#191419}
html[data-theme=dark] .editor-avatar{background:#282028}
html[data-theme=dark] .upload-kicker{color:var(--raytag-highlight)}
html[data-theme=dark] .form-footer{background:#151217;border-color:#513240}
html[data-theme=dark] .social-platform:is(:hover,.is-added){background:#3a1b2a;border-color:#ff4f9f80}
html[data-theme=dark] .design-feature{background:#2d1722}
html[data-theme=dark] .design-orbit{background:#ff4f9f0b;box-shadow:none}
html[data-theme=dark] .preview-viewport{border-color:#5e3c4b;box-shadow:none}
html[data-theme=dark] .mobile-menu nav{background:#2d1722;border-color:#5e3c4b}
.status-pill.active,.status-pill.paid{color:var(--raytag-highlight);background:#ff4f9f0d}

/* Raytag signature on public cards */
.mini-mark{position:relative;overflow:hidden;font-size:13px;letter-spacing:-.08em;text-transform:lowercase}
.public-wordmark{font-size:12px;text-transform:lowercase}
.public-wordmark .mini-mark{color:var(--raytag-raspberry);border-color:color-mix(in srgb,var(--raytag-raspberry) 42%,transparent)}
@media(max-width:720px){.hero,.team-section,.auth-layout{border-radius:6px}}

/* Readability baseline: UI copy stays legible on desktop and mobile. */
body{font-size:15px;line-height:1.55}
small,
.brand small,.sidebar-workspace small,.side-user small,.account-tag,
.nav-label,.eyebrow,.panel-eyebrow,.draft-indicator,.metric-label,.metric-detail,
.section-number,.field-hint,.upload-kicker,.avatar-row small,.logo-upload-content small,
.live-label,.preview-bottom,.workspace-footer,.status-pill,.plan-label,.invoice-period,
.people-toolbar>small,.person-cell small,.person-role+small,.team-footnote,
.public-wordmark,.public-endnote,.public-qr summary,.public-qr p,.account-table th{
  font-size:13px!important;
  line-height:1.45;
}
.side-link,.button,.field label,.color-label,.input,.notice,
.editor-nav a,.section-title p,.account-panel p,.account-table,
.social-picker-head strong,.social-platform>span:last-of-type,.social-compose label,
.social-compose-fields button,.social-list-head p,.social-row-main label,
.social-row-main .input,.color-presets button,.form-footer>span,
.row-actions .button,.text-action,.setup-feature p,.billing-note,
.checkout-features,.checkout-message,.checkout-aside li small{
  font-size:14px!important;
}
.page-head p,.section-title p,.logo-upload-content p,.design-feature p,
.auth-story p,.auth-card p,.feature-card p,.team-copy p,.price-card p,
.faq-section p,.closing-cta p,.legal-page p{
  font-size:15px!important;
  line-height:1.65;
}
.identity-brand strong,.identity-role,.identity-company,.identity-about,
.identity-primary,.identity-quick a,.identity-social a,.identity-footer,
.is-compact .identity-brand strong,.is-compact .identity-role,
.is-compact .identity-about,.is-compact .identity-primary{
  font-size:13px!important;
  line-height:1.45;
}

/* Dark workspace: charcoal surfaces with pink light, without blue casts. */
html[data-theme=dark] body{
  background:radial-gradient(ellipse at 82% 0,#e9147a16,transparent 44%),#100f13;
}
html[data-theme=dark] .sidebar{
  background:linear-gradient(165deg,#151218,#1d151a 58%,#261522);
  border-color:#5e3c4b;
  box-shadow:none;
}
html[data-theme=dark] .main{
  background:radial-gradient(ellipse at 78% 0,#ff4f9f0d,transparent 42%),linear-gradient(135deg,#100f13,#181217);
}
html[data-theme=dark] :where(.account-panel,.company-metric,.account-dialog,.overview-item,.editor-card){
  background:linear-gradient(135deg,#1c181e,#241a20);
  border-color:#5e3c4b;
  box-shadow:inset 0 1px 0 #ffffff0a;
}
html[data-theme=dark] :where(.workspace-avatar,.side-avatar,.account-tag>span,.section-number){
  background:#282028;
  border-color:#654555;
}
html[data-theme=dark] .topbar{border-bottom-color:#5e3c4b}
html[data-theme=dark] .account-table th{background:#151217}
html[data-theme=dark] .account-table td{border-color:#513240}
html[data-theme=dark] .social-row-main .input{background:#151217}
html[data-theme=dark] .brand-mark{
  background:#f7f4f6;
  color:#100f13;
}

/* Public pages and mockups use the same readable pink system. */
.site-brand small,.desktop-nav,.login-link,.btn,.hero-pill,.hero-secondary,.hero-note,
.showcase-caption,.demo-company span,.demo-label,.demo-card h2+p,.demo-company-line,
.demo-about,.demo-save,.demo-contact,.demo-socials>span,.floating-qr,.floating-design,
.benefit-strip,.overline,.color-samples,.network-samples,.share-samples,.team-copy li,
.preview-tag,.team-preview-heading small,.mock-person strong,.mock-person i,
.team-brand-note,.steps-grid p,.faq-list summary,.faq-list p,.site-footer,
.footer-brand span,.footer-copy,.story-points,.story-note,.mini-card-link,.auth-switch,
.subtle-link,.form-note,.price-badge,.price-card>p,.price-card ul{
  font-size:13px!important;
  line-height:1.5;
}
.demo-card{color:#21181e;background:#fff9fc}
.demo-card-cover{background:radial-gradient(ellipse at 0 0,#ffe0ef,transparent 70%),linear-gradient(135deg,#f7eaf0,#f5b8d6)}
.demo-avatar{background:linear-gradient(130deg,#24191f,#e9147a)}
.demo-save{background:#e9147a}
.demo-socials>span{background:#fff1f7;border-color:#f0d7e3}
.floating-qr,.floating-design{background:#fff7fb;color:#34202a;border-color:#f4d5e4}
.floating-design i{background:#e9147a}
.floating-design i:nth-last-child(2){background:#ff88c7}
.floating-design i:last-child{background:#3b2b33}
.feature-icon,.feature-icon.mint,.feature-icon.peach{background:#fff0f7;color:#e9147a}
.color-samples i,.color-samples i:nth-child(2),.color-samples i:nth-child(3){background:#e9147a}
.color-samples i:nth-child(2){background:#ff88c7}
.color-samples i:nth-child(3){background:#f2b8d3}
.color-samples i:nth-child(4){background:#2a2025}
.team-preview{background:linear-gradient(130deg,#3a202d,#261a20)}
.team-preview-top i,.mock-person>span{background:#5b2b42;color:#fff0f7}
.mock-add,.team-brand-note{background:#e9147a12;color:#ffd5e8}
.auth-mini-card{background:linear-gradient(125deg,#482438,#281b22)}
.mini-avatar{background:linear-gradient(125deg,#e9147a,#5a2a42)}
.section-heading h2 span,.faq-section h2 span{color:#e9147a}
.auth-card .field input{background:#fbf8fa;border-color:#e7dbe1;color:#241b20}
.auth-card .field input:focus{background:#fff;border-color:#e9147a;box-shadow:0 0 0 3px #e9147a18}
.auth-card :where(.field label,.label-row label,.account-type-picker legend){color:#3a2b32}
.auth-card :where(.label-row a,.auth-switch a,.subtle-link){color:#c41166}
.account-type-picker label>span{background:#fcf9fb;border-color:#e7dbe1}
.account-type-picker input:checked+span{background:#fff0f7;border-color:#e781b1}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{
  -webkit-text-fill-color:#241b20;
  -webkit-box-shadow:0 0 0 1000px #fbf8fa inset!important;
  caret-color:#241b20;
}

/* Human photography turns the product promise into a real interaction. */
.people-section{padding:82px 0 12px}
.people-intro{display:grid;grid-template-columns:1.1fr .9fr;align-items:end;gap:45px;margin-bottom:30px}
.people-intro h2{margin:14px 0 0;font-size:39px;line-height:1.16;letter-spacing:-.055em;font-weight:600}
.people-intro h2 span{color:#e9147a}
.people-intro>p{max-width:500px;margin:0 0 4px;color:var(--muted);font-size:15px;line-height:1.7}
.people-gallery{display:grid;grid-template-columns:1fr;gap:18px}
.people-photo{position:relative;min-height:410px;margin:0;overflow:hidden;border:1px solid #e4d9df;border-radius:10px;background:#ece7e9}
.people-photo img{display:block;width:100%;height:100%;min-height:410px;object-fit:cover}
.people-photo-primary img{object-position:center center}
.people-photo figcaption{position:absolute;left:22px;right:22px;bottom:22px;max-width:430px;padding:18px 20px;border:1px solid #ffffff2e;border-radius:8px;background:#171217dc;color:#fff;backdrop-filter:blur(10px);box-shadow:0 12px 30px #100b0e24}
.people-photo figcaption span{display:block;margin-bottom:8px;color:#ff88c7;font-size:12px;font-weight:750;letter-spacing:.14em}
.people-photo figcaption strong{display:block;font-size:20px;line-height:1.25;letter-spacing:-.025em}
.people-photo figcaption p{margin:8px 0 0;color:#e8dfe4;font-size:14px;line-height:1.55}
@media(max-width:900px){.people-section{padding-top:62px}.people-intro{grid-template-columns:1fr;gap:16px}.people-gallery{grid-template-columns:1fr}.people-photo,.people-photo img{min-height:360px}.people-photo img{aspect-ratio:3/2}}
@media(max-width:560px){.people-section{padding-top:48px}.people-intro h2{font-size:32px}.people-photo,.people-photo img{min-height:390px}.people-photo img{aspect-ratio:auto}.people-photo-primary img{object-position:62% center}.people-photo figcaption{left:14px;right:14px;bottom:14px;padding:15px}.people-photo figcaption strong{font-size:18px}}

/* Strong photographic hero: the real interaction is the product story. */
.landing-main>.hero{
  display:block;
  min-height:650px;
  background-image:linear-gradient(90deg,#120e11fa 0%,#160f13e8 35%,#170f14a3 52%,#160f1438 76%,#160f1410 100%),url("images/raytag-phone-business-v2.webp");
  background-size:cover;
  background-position:center;
}
.landing-main>.hero:after{background:linear-gradient(135deg,transparent 0 69%,#ff4f9f18 69% 69.14%,transparent 69.14%)}
.landing-main>.hero .hero-copy{width:min(53%,620px);padding:70px 0 64px 56px}
.landing-main>.hero .hero-copy>p{color:#e4d9df}
.landing-main>.hero .hero-pill,.landing-main>.hero .hero-note{color:#f0dfe8}
.landing-main>.hero .hero-showcase{display:none}
@media(max-width:900px){.landing-main>.hero{min-height:620px;background-position:58% center}.landing-main>.hero .hero-copy{width:min(56%,520px);padding:54px 0 48px 34px}.landing-main>.hero h1{font-size:54px}}
@media(max-width:720px){.landing-main>.hero{min-height:720px;background-position:64% center;background-image:linear-gradient(180deg,#120e11f7 0%,#160f13dc 42%,#160f136e 68%,#160f1328 100%),url("images/raytag-phone-business-v2.webp")}.landing-main>.hero .hero-copy{width:100%;max-width:none;padding:38px 25px;text-align:left}.landing-main>.hero h1{font-size:48px}.landing-main>.hero .hero-actions{justify-content:flex-start}.landing-main>.hero .hero-note{justify-content:flex-start}}

/* The longer registration form needs more room than the compact login views. */
.register-auth-page .auth-layout{
  grid-template-columns:minmax(390px,.82fr) minmax(570px,1.18fr);
}
.register-auth-page .auth-card{padding-left:56px;padding-right:56px}
.register-auth-page .auth-card h1{max-width:520px}
.register-auth-page .auth-lead{max-width:570px}
@media(max-width:1100px){
  .register-auth-page .auth-layout{grid-template-columns:1fr}
  .register-auth-page .auth-story{display:none}
  .register-auth-page .auth-card{padding:42px max(48px,calc((100% - 760px)/2))}
}
@media(max-width:850px){
  .register-auth-page .auth-card{padding:38px 32px}
}
@media(max-width:560px){
  .register-auth-page .auth-card{padding:30px 25px}
  .register-auth-page .account-type-picker{grid-template-columns:1fr}
}

.legal-product-note{
  max-width:650px;
  margin:24px 0 34px;
  padding:18px 20px;
  border-left:3px solid #e9147a;
  background:#fff3f8;
  color:#49343e!important;
}
.legal-page a:not(.btn){color:#c41166;text-decoration:underline;text-underline-offset:3px}

.scroll-top{
  position:fixed;
  right:max(var(--raytag-page-gutter),calc((100vw - var(--raytag-page-width))/2 + var(--raytag-page-gutter)));
  bottom:24px;
  z-index:40;
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  border:1px solid #3b2932;
  border-radius:7px;
  background:#171217;
  color:#fff;
  box-shadow:0 12px 30px #21131a28;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s;
}
.scroll-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.scroll-top:hover{background:#e9147a;border-color:#e9147a}
.scroll-top svg{width:18px;height:18px;transform:rotate(-90deg)}
@media(max-width:720px){.scroll-top{bottom:20px;width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.scroll-top{transition:none}}
