@layer atoms {
.m-text { font-family: var(--font-1); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; font-style: normal; }

.m-text-2 { font-family: var(--font-1); font-size: clamp(40px, 5.6vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em; text-transform: none; font-style: normal; text-wrap: balance; }

.m-text-3 { font-family: var(--font-1); font-size: clamp(21px, 1.9vw, 26px); font-weight: 500; line-height: 1.16; letter-spacing: -0.02em; text-transform: none; font-style: normal; }

.m-text-4 { font-family: var(--font-1); font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none; font-style: normal; color: var(--color-4); }

.m-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 26px 26px 10px 10px; background: var(--color-5); color: var(--color-2); font-family: var(--font-1); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; }
.m-btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--color-2); border-radius: 50% 50% 0 0 / 70% 70% 0 0; transform: translateY(102%); transition: transform .5s cubic-bezier(.3, .7, .2, 1), border-radius .5s cubic-bezier(.3, .7, .2, 1); }
.m-btn__label { position: relative; transition: color .3s ease; }

.m-btn-2 { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 10px 10px 26px 26px; background: var(--color-3); color: var(--color-2); font-family: var(--font-1); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; }
.m-btn-2::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--color-2); border-radius: 50% 50% 0 0 / 70% 70% 0 0; transform: translateY(102%); transition: transform .5s cubic-bezier(.3, .7, .2, 1), border-radius .5s cubic-bezier(.3, .7, .2, 1); }

.m-btn-3 { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 26px 26px 10px 10px; background: var(--color-2); color: var(--color-1); font-family: var(--font-1); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: -0.005em; text-decoration: none; cursor: pointer; }
.m-btn-3::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--color-1); border-radius: 50% 50% 0 0 / 70% 70% 0 0; transform: translateY(102%); transition: transform .5s cubic-bezier(.3, .7, .2, 1), border-radius .5s cubic-bezier(.3, .7, .2, 1); }
@media (hover: hover) {
  .m-btn:hover::before, .m-btn-2:hover::before, .m-btn-3:hover::before { transform: translateY(0); border-radius: 0; }
  .m-btn:hover .m-btn__label, .m-btn-2:hover .m-btn__label { color: var(--color-1); }
  .m-btn-3:hover .m-btn__label { color: var(--color-2); }
}

.m-link { color: inherit; text-decoration: none; background-image: linear-gradient(var(--color-5), var(--color-5)), linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-position: 0 100%, 0 100%; background-size: 100% 0, 100% 1px; padding-bottom: 1px; transition: background-size .35s cubic-bezier(.3, .7, .2, 1); }

.m-link-2 { color: inherit; font-family: var(--font-1); font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; text-transform: none; font-style: normal; text-decoration: none; background-image: linear-gradient(var(--color-5), var(--color-5)); background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 0; transition: background-size .35s cubic-bezier(.3, .7, .2, 1); }
@media (hover: hover) {
  .m-link:hover { background-size: 100% 42%, 100% 1px; }
  .m-link-2:hover { background-size: 100% 42%; }
}

.m-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: var(--radius-2); background: var(--color-1); color: var(--color-2); font-family: var(--font-1); font-size: 14px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; font-style: normal; }

.m-surface { background: var(--color-3); color: var(--color-2); border-radius: var(--radius-1); }

.m-field { display: grid; gap: 6px; font-family: var(--font-1); }
.m-field__label { font-size: 14px; font-weight: 500; line-height: 1.2; letter-spacing: 0; }
.m-field__input { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--color-2); border-radius: var(--radius-3); background: var(--color-1); color: var(--color-2); font-size: 16px; line-height: 1.3; }
.m-field__input:focus-visible { outline: 3px solid var(--color-2); outline-offset: 2px; }
textarea.m-field__input { min-height: 104px; resize: vertical; }

.m-shape { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 4 / 5; background: var(--color-2); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.m-shape-2 { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 1; background: var(--color-2); border-radius: 50%; }
.m-shape-3 { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 1; background: var(--color-2); }
.m-shape-4 { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 1; background: var(--color-2); border-radius: 0 100% 0 0; }
.m-shape-5 { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 1; background: var(--color-2); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.m-shape-6 { display: inline-block; flex: none; width: var(--m-shape-size, 28px); aspect-ratio: 1; background: var(--color-2); clip-path: polygon(34% 0, 66% 0, 66% 34%, 100% 34%, 100% 66%, 66% 66%, 66% 100%, 34% 100%, 34% 66%, 0 66%, 0 34%, 34% 34%); }
}
